aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-05 04:14:41 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-05 04:14:41 +0000
commita41b2ff2ddd0ba05ac2ca1bb657603b1d09dc9bc (patch)
tree3dfb995363cc4046f782911fbf509ae070845a7f /vl.h
parentd861b05ea30e6ac177de9b679da96194ebe21afc (diff)
downloadqemu-a41b2ff2ddd0ba05ac2ca1bb657603b1d09dc9bc.zip
qemu-a41b2ff2ddd0ba05ac2ca1bb657603b1d09dc9bc.tar.gz
qemu-a41b2ff2ddd0ba05ac2ca1bb657603b1d09dc9bc.tar.bz2
Allow selection of emulated network card.
rtl8139 emulation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1745 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index 5986d50..00d4c94 100644
--- a/vl.h
+++ b/vl.h
@@ -315,6 +315,7 @@ void tap_win32_poll(void);
typedef struct NICInfo {
uint8_t macaddr[6];
+ const char *model;
VLANState *vlan;
} NICInfo;
@@ -616,6 +617,8 @@ PCIBus *pci_grackle_init(uint32_t base);
PCIBus *pci_pmac_init(void);
PCIBus *pci_apb_init(target_ulong special_base, target_ulong mem_base);
+void pci_nic_init(PCIBus *bus, NICInfo *nd);
+
/* openpic.c */
typedef struct openpic_t openpic_t;
void openpic_set_irq(void *opaque, int n_IRQ, int level);
@@ -740,6 +743,10 @@ int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);
void isa_ne2000_init(int base, int irq, NICInfo *nd);
void pci_ne2000_init(PCIBus *bus, NICInfo *nd);
+/* rtl8139.c */
+
+void pci_rtl8139_init(PCIBus *bus, NICInfo *nd);
+
/* pckbd.c */
void kbd_init(void);