escc: allow one IRQ per serial channel
The Z85C30 on the PowerMAC machines have one interrupt per serialchannel, while the Sparc machines have only one for both. Allow theemulated device to use one IRQ per channel.
Patch by Laurent Vivier.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6295 c046a42c-6fe2-441c-8c8c-71466251a162
Make virtio_net_init() return void (Mark McLoughlin)
All PCI NIC init functions return void and nothing uses thereturn value from virtio_net_init().
Signed-off-by: Mark McLoughlin <markmc@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
sun4c/sun4d: also swap the CharDriverState of escc_init()
Forgotten in r6284
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6290 c046a42c-6fe2-441c-8c8c-71466251a162
Make pci_nic_init() use qemu_setup_nic_model() (Mark McLoughlin)
Add a table of PCI NIC models to pass to qemu_setup_nic_model().
While we're at it, also add a corresponding table of NIC initfunctions.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>...
Check NIC model in some NIC init functions (Mark McLoughlin)
Some NIC init functions are only called when that model isthe only valid model. In that case, it makes sense to useqemu_check_nic_model() from the NIC init function itself.
ESCC: swap the two CharDriverState arguments
Swap the two CharDriverState arguments so that the first argumentcorresponds to the channel A and the second argument to the channel B.
Modify hw/sun4m.c accordingly.
This fixes the order of the serial ports on the PPC machines....
target-ppc: define max amount of memory for G3 beige
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6283 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc: fix comment about boot device in ppc_oldworld.c
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6282 c046a42c-6fe2-441c-8c8c-71466251a162
RTL8139: Latch C+ mode state instead of inferring it from C+ Command register (Avi Kivity)
It was observed that Windows 2003 x64 hangs when shutting down if anRTL8139 NIC and a USB device tablet are both present. What seems to behappening is:
- the guest shuts down the transmitter and receiver...
target-alpha: get rid of tests on env->user_mode_only
Replace runtime checks on env->user_mode_only by compile timechecks on CONFIG_USER_ONLY.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6277 c046a42c-6fe2-441c-8c8c-71466251a162
View revisions
Also available in: Atom