OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a10fcec
)
ne2000: pci_dev has this very value with the right type
author
Juan Quintela
<quintela@redhat.com>
Mon, 24 Aug 2009 16:42:50 +0000
(18:42 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 28 Aug 2009 01:46:59 +0000
(20:46 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ne2000.c
patch
|
blob
|
history
diff --git
a/hw/ne2000.c
b/hw/ne2000.c
index
b17a0fa
..
e8a7763
100644
(file)
--- a/
hw/ne2000.c
+++ b/
hw/ne2000.c
@@
-820,7
+820,7
@@
static int pci_ne2000_init(PCIDevice *pci_dev)
PCI_ADDRESS_SPACE_IO, ne2000_map);
s = &d->ne2000;
s->irq = d->dev.irq[0];
- s->pci_dev =
(PCIDevice *)d
;
+ s->pci_dev =
pci_dev
;
qdev_get_macaddr(&d->dev.qdev, s->macaddr);
ne2000_reset(s);
s->vc = qdev_get_vlan_client(&d->dev.qdev,