Skip to content
Snippets Groups Projects
Commit e3c2613f authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

pcnet nic support (Antony T Curtis)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2036 c046a42c-6fe2-441c-8c8c-71466251a162
parent 6cadb320
No related branches found
No related tags found
No related merge requests found
......@@ -329,7 +329,7 @@ VL_OBJS+= scsi-disk.o cdrom.o lsi53c895a.o
VL_OBJS+= usb.o usb-hub.o usb-linux.o usb-hid.o usb-ohci.o usb-msd.o
# PCI network cards
VL_OBJS+= ne2000.o rtl8139.o
VL_OBJS+= ne2000.o rtl8139.o pcnet.o
ifeq ($(TARGET_BASE_ARCH), i386)
# Hardware support
......
......@@ -493,6 +493,8 @@ void pci_nic_init(PCIBus *bus, NICInfo *nd)
pci_ne2000_init(bus, nd);
} else if (strcmp(nd->model, "rtl8139") == 0) {
pci_rtl8139_init(bus, nd);
} else if (strcmp(nd->model, "pcnet") == 0) {
pci_pcnet_init(bus, nd);
} else {
fprintf(stderr, "qemu: Unsupported NIC: %s\n", nd->model);
exit (1);
......
hw/pcnet.c 0 → 100644
This diff is collapsed.
......@@ -828,6 +828,10 @@ void pci_ne2000_init(PCIBus *bus, NICInfo *nd);
void pci_rtl8139_init(PCIBus *bus, NICInfo *nd);
/* pcnet.c */
void pci_pcnet_init(PCIBus *bus, NICInfo *nd);
/* pckbd.c */
void kbd_init(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment