mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
ioemu: Add e100 NIC support. Req'd for w2k3/IA64.
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
This commit is contained in:
1 parent
dddce819d1
commit
8163649f9e
3 files changed
+2467
-1
No files matched your search
@@ -399,7 +399,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 pcnet.o
|
||||
VL_OBJS+= ne2000.o rtl8139.o pcnet.o e100.o
|
||||
|
||||
ifeq ($(TARGET_BASE_ARCH), i386)
|
||||
# Hardware support
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -565,6 +565,8 @@ void pci_nic_init(PCIBus *bus, NICInfo *nd, int devfn)
|
||||
pci_rtl8139_init(bus, nd, devfn);
|
||||
} else if (strcmp(nd->model, "pcnet") == 0) {
|
||||
pci_pcnet_init(bus, nd, devfn);
|
||||
} else if (strcmp(nd->model, "e100") == 0) {
|
||||
pci_e100_init(bus, nd);
|
||||
} else {
|
||||
fprintf(stderr, "qemu: Unsupported NIC: %s\n", nd->model);
|
||||
exit (1);
|
||||
|
||||