mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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
4 changed files with 1778 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue