summaryrefslogtreecommitdiff
path: root/hw/pci.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-04 11:33:00 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-04 11:33:00 +0000
commite3c2613f918ed1e302ec6c3d3a35bb176e154aa5 (patch)
tree026f3ca19dea3e2fe695d78955661d3d7dbfc00e /hw/pci.c
parent6cadb320c70cdcbfa38afe9ac864eb77ae6012a3 (diff)
pcnet nic support (Antony T Curtis)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2036 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pci.c')
-rw-r--r--hw/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pci.c b/hw/pci.c
index ebe606814..f58f6fd60 100644
--- a/hw/pci.c
+++ b/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);