qemu-irix/hw
aliguori 72da420859 qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti)
Change the PCI network drivers init functions to return the PCIDev, to
inform which slot has been hot-plugged.

Also record PCIDevice structure on NICInfo to locate for release on
hot-removal.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6593 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-11 15:19:52 +00:00
..
ac97.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
acpi.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
adb.c
adlib.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ads7846.c
alpha_palcode.c
an5206.c
apb_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
apic.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
arm-misc.h
arm_boot.c
arm_gic.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
arm_pic.c
arm_sysctl.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
arm_timer.c
armv7m.c
armv7m_nvic.c
audiodev.h
axis_dev88.c ETRAX: Remove display-state argument from board init. 2009-01-26 21:47:27 +00:00
baum.c Revert part of 6531, fix build failure 2009-02-06 00:49:42 +00:00
baum.h
blizzard.c Fix displaystate (r6344) regression in blizzard 2009-02-09 17:00:41 +00:00
blizzard_template.h
boards.h
bt-hci-csr.c
bt-hci.c
bt-hid.c
bt-l2cap.c
bt-sdp.c
bt.c
bt.h
cbus.c
cdrom.c
cirrus_vga.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
cirrus_vga_rop.h
cirrus_vga_rop2.h
cs4231.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
cs4231a.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
cuda.c
devices.h
dma.c
ds1225y.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
dummy_m68k.c
e1000.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
e1000_hw.h
ecc.c
eccmemctl.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
eepro100.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
eeprom93xx.c
eeprom93xx.h
es1370.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
escc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
escc.h
esp.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
etraxfs.c
etraxfs.h
etraxfs_dma.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
etraxfs_dma.h
etraxfs_eth.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
etraxfs_pic.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
etraxfs_ser.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
etraxfs_timer.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
fdc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
fdc.h
firmware_abi.h
flash.h
fmopl.c Revert changes to fmopl.c 2009-02-06 00:15:19 +00:00
fmopl.h
fw_cfg.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
fw_cfg.h
g364fb.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
grackle_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
gt64xxx.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
gumstix.c
gus.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
gusemu.h
gusemu_hal.c
gusemu_mixer.c
gustate.h
heathrow_pic.c
hpet.c
hpet_emul.h
hw.h
i2c.c
i2c.h
i8254.c Check if the i8254 timer is active before deactivating it (Alexander Graf) 2009-01-26 20:32:18 +00:00
i8259.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ide.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
integratorcp.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
iommu.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
irq.c
irq.h
isa.h
isa_mmio.c
jazz_led.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
lm832x.c
lsi53c895a.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
m48t59.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
mac_dbdma.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
mac_dbdma.h PowerPC: mac-io DB-DMA support 2009-01-30 20:39:32 +00:00
mac_nvram.c Add it_shift 2009-02-07 10:48:26 +00:00
macio.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
mainstone.c
mainstone.h
max111x.c
max7310.c
mc146818rtc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
mcf.h
mcf5206.c
mcf5208.c
mcf_fec.c
mcf_intc.c
mcf_uart.c
mips.h
mips_int.c
mips_jazz.c Support epoch of 1980 in RTC emulation for MIPS Magnum 2009-01-24 18:06:21 +00:00
mips_malta.c Additional VGA options for MIPS Malta 2009-02-08 14:51:19 +00:00
mips_mipssim.c
mips_r4k.c Support epoch of 1980 in RTC emulation for MIPS Magnum 2009-01-24 18:06:21 +00:00
mips_timer.c
mipsnet.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
mpcore.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
msmouse.c QEMU Microsoft serial mouse emulation 2009-02-08 15:53:20 +00:00
msmouse.h QEMU Microsoft serial mouse emulation 2009-02-08 15:53:20 +00:00
mst_fpga.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
musicpal.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
nand.c Fix NAND flash save/restore. 2009-01-20 04:15:47 +00:00
ne2000.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
nseries.c Fix displaystate (r6344) regression in blizzard 2009-02-09 17:00:41 +00:00
nvram.h
omap.h
omap1.c add an init function parameter to qemu_chr_open() 2009-01-18 14:08:04 +00:00
omap2.c add an init function parameter to qemu_chr_open() 2009-01-18 14:08:04 +00:00
omap_clk.c
omap_dma.c
omap_dss.c
omap_i2c.c
omap_lcd_template.h
omap_lcdc.c
omap_mmc.c
omap_sx1.c Fix bug in omap_sx1.c introduced by r6344 2009-02-07 15:20:14 +00:00
onenand.c
openpic.c Add savevm and reset support for OpenPic 2009-02-06 21:30:02 +00:00
palm.c
parallel.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
pc.c Support epoch of 1980 in RTC emulation for MIPS Magnum 2009-01-24 18:06:21 +00:00
pc.h Support epoch of 1980 in RTC emulation for MIPS Magnum 2009-01-24 18:06:21 +00:00
pci.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
pci.h qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
pci_host.h
pckbd.c
pcmcia.h
pcnet.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
pcspk.c
pflash_cfi01.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
pflash_cfi02.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
piix_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
pixel_ops.h
pl011.c
pl022.c
pl031.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
pl050.c
pl061.c
pl080.c
pl110.c
pl110_template.h
pl181.c
pl190.c
ppc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc.h
ppc4xx.h
ppc4xx_devs.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc4xx_pci.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc405.h
ppc405_boards.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc405_uc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc440.c
ppc440.h
ppc440_bamboo.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc_mac.h Add it_shift 2009-02-07 10:48:26 +00:00
ppc_newworld.c ppc newworld: default to a G4 CPU 2009-02-09 19:03:02 +00:00
ppc_oldworld.c Load 32 bit ELF BIOS images also on PPC64 2009-02-08 12:50:56 +00:00
ppc_prep.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
prep_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
primecell.h
ps2.c Add reset irq state for ps2 reboot callback (Dor Laor) 2009-01-26 15:57:52 +00:00
ps2.h
ptimer.c
pxa.h
pxa2xx.c
pxa2xx_dma.c
pxa2xx_gpio.c
pxa2xx_keypad.c
pxa2xx_lcd.c
pxa2xx_mmci.c
pxa2xx_pcmcia.c
pxa2xx_pic.c
pxa2xx_template.h
pxa2xx_timer.c
r2d.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
rc4030.c Add load/save capability to rc4030 chipset 2009-02-08 14:56:04 +00:00
realview.c
realview_gic.c
rtl8139.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
sb16.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sbi.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
scsi-disk.c check SCSI read/write requests against max LBA (Rik van Riel) 2009-01-29 19:59:04 +00:00
scsi-disk.h
scsi-generic.c
scsi.h
sd.c
sd.h
serial.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sh.h
sh7750.c SH7750/51: add register BCR3, BCR4, PCR, RTCOR, RTCNT, RTCSR, SDMR2, SDMR3 and fix BCR2 support 2009-02-07 15:18:14 +00:00
sh7750_regnames.c SH7750/51: add register BCR3, BCR4, PCR, RTCOR, RTCNT, RTCSR, SDMR2, SDMR3 and fix BCR2 support 2009-02-07 15:18:14 +00:00
sh7750_regnames.h
sh7750_regs.h SH7750/51: add register BCR3, BCR4, PCR, RTCOR, RTCNT, RTCSR, SDMR2, SDMR3 and fix BCR2 support 2009-02-07 15:18:14 +00:00
sh_intc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sh_intc.h
sh_pci.c Define PCI vendor and device IDs in pci.h (Stuart Brady) 2009-01-26 15:37:35 +00:00
sh_serial.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sh_timer.c SH4: fix TMU init 2009-02-07 15:18:47 +00:00
sharpsl.h
shix.c
slavio_intctl.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
slavio_misc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
slavio_timer.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sm501.c
sm501_template.h
smbus.c
smbus.h
smbus_eeprom.c
smc91c111.c
soc_dma.c
soc_dma.h
sparc32_dma.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sparc32_dma.h
spitz.c
ssd0303.c
ssd0323.c
ssi-sd.c
stellaris.c
stellaris_enet.c
stellaris_input.c
sun4c_intctl.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sun4m.c
sun4m.h
sun4u.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
tc6393xb.c
tc6393xb_template.h
tc58128.c
tcx.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
tmp105.c
tosa.c Fix tosa_dac_recv warning 2009-02-07 15:19:40 +00:00
tsc210x.c
tsc2005.c
tusb6010.c
twl92230.c
unin_pci.c Fix UniNorth 2009-02-08 16:01:38 +00:00
usb-bt.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-hid.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-hub.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-msd.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-musb.c
usb-net.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-ohci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
usb-serial.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-uhci.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-wacom.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb.c
usb.h
versatile_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
versatilepb.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
vga.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
vga_int.h
vga_template.h
virtio-balloon.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
virtio-balloon.h
virtio-blk.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
virtio-blk.h
virtio-console.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
virtio-console.h
virtio-net.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
virtio-net.h qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
virtio.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
virtio.h Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
vmmouse.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
vmport.c
vmware_vga.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
wm8750.c
zaurus.c