hw/sd.c: fix sd_set_cb() crash when bdrv == NULL
sd_set_cb() calls bdrv_is_read_only() and bdrv_is_inserted() even ifno block driver is associated with the card reader.
This patch fixes the issues by not setting the irq in this case, thisfixes ARM versatile crash....
hw/irq: Add qemu_irq_split() so one GPIO output can feed two inputs
Add a qemu_irq_split() function which allows a board to wire a singleGPIO output up to two GPIO inputs. This is needed for realview boards,where the MMC card status is visible both in a system register and...
hw/realview: Wire up the MMC card status
Instantiate the three PL061 GPIO modules the realview boards have.Connect the MMC card status outputs of the PL181 MMC controllerto both the system registers and the GPIO module which handlesinternal devices.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
hw/arm_sysctl.c: Wire MCI register MMC card status bits to GPIO inputs
Implement some GPIO inputs which a board can connect up to set theMMC card status bits in the MCI register.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/pl061.c: Implement ARM PL061 as well as Luminary one
ARM's PL061 has a different set of ID registers to the one in theLuminary Stellaris; implement this so that the Linux driver canidentify the Realview PBX PL061 correctly.
hw/pl181: Implement GPIO output pins for card status
Add two GPIO output pins to the PL181 model to indicate the cardpresent and readonly status information. On ARM boards these usuallyare reflected in a system register.
lsi53c895a: Update dnad when skipping MSGOUT bytes
Update not only dbc but also dnad when skipping bytes during the MSGOUTphase. Previously only dbc was updated which is probably wrong andcould lead to bogus message codes being read.
Tested on Linux and Windows Server 2003....
hw/pcnet.c: Fix EPROM contents to suit AMD netware drivers
bugfix under DOS for AMD netware driver:AMD PCNTNW Ethernet MLID v3.10 (960115), network card not found
bugfix works well under DOS with:1.) AMD NDIS driver v2.0.12.) AMD PCNTNW Ethernet MLID v3.10 (960115)...
virtio-net: Fix lduw_p() pointer argument of wrong size
A pointer to a size_t variable was passed as the void * pointer tolduw_p() in virtio_net_receive(). Instead of acting on the 16-bit valuethis caused failure on big-endian hosts.
Avoid this issue in the future by using stw_p() instead. In general we...
pxa2xx: port pxa2xx_rtc to using qdev/vmstate
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
View revisions
Also available in: Atom