pcnet nic support (Antony T Curtis)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2036 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
6cadb320c7
commit
e3c2613f91
@ -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
|
||||
|
2
hw/pci.c
2
hw/pci.c
@ -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);
|
||||
|
1771
hw/pcnet.c
Normal file
1771
hw/pcnet.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user