mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
use PIIX3 like IDE controller
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@853 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
34e538ae5d
commit
e1c485be84
2
hw/pc.c
2
hw/pc.c
@ -413,7 +413,7 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
|
|||||||
for(i = 0; i < nb_nics; i++) {
|
for(i = 0; i < nb_nics; i++) {
|
||||||
pci_ne2000_init(&nd_table[i]);
|
pci_ne2000_init(&nd_table[i]);
|
||||||
}
|
}
|
||||||
pci_ide_init(bs_table);
|
pci_piix3_ide_init(bs_table);
|
||||||
} else {
|
} else {
|
||||||
nb_nics1 = nb_nics;
|
nb_nics1 = nb_nics;
|
||||||
if (nb_nics1 > NE2000_NB_MAX)
|
if (nb_nics1 > NE2000_NB_MAX)
|
||||||
|
Loading…
Reference in New Issue
Block a user