summaryrefslogtreecommitdiffstats
path: root/hw/pci.c
diff options
context:
space:
mode:
authorbellard2006-07-04 13:33:00 +0200
committerbellard2006-07-04 13:33:00 +0200
commite3c2613f918ed1e302ec6c3d3a35bb176e154aa5 (patch)
tree026f3ca19dea3e2fe695d78955661d3d7dbfc00e /hw/pci.c
parentrtl8139 fixes (Igor Kovalenko) (diff)
downloadqemu-e3c2613f918ed1e302ec6c3d3a35bb176e154aa5.tar.gz
qemu-e3c2613f918ed1e302ec6c3d3a35bb176e154aa5.tar.xz
qemu-e3c2613f918ed1e302ec6c3d3a35bb176e154aa5.zip
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 ebe606814c..f58f6fd60c 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);