diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-02-05 04:14:41 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-02-05 04:14:41 +0000 |
commit | a41b2ff2ddd0ba05ac2ca1bb657603b1d09dc9bc (patch) | |
tree | 3dfb995363cc4046f782911fbf509ae070845a7f /hw/sun4u.c | |
parent | d861b05ea30e6ac177de9b679da96194ebe21afc (diff) |
Allow selection of emulated network card.
rtl8139 emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1745 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r-- | hw/sun4u.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c index 571e2b3736..0cf5381796 100644 --- a/hw/sun4u.c +++ b/hw/sun4u.c @@ -347,7 +347,9 @@ static void sun4u_init(int ram_size, int vga_ram_size, int boot_device, } for(i = 0; i < nb_nics; i++) { - pci_ne2000_init(pci_bus, &nd_table[i]); + if (!nd_table[i].model) + nd_table[i].model = "ne2k_pci"; + pci_nic_init(pci_bus, &nd_table[i]); } pci_cmd646_ide_init(pci_bus, bs_table, 1); |