MIPS: Initial support of VIA IDE controller used by fulong mini pc
PATCH v6 3/6 MIPS: Initial support of VIA IDE controller used by fulong mini pc
Signed-off-by Huacai Chen <[email protected]>
--- Makefile.objs | 1 + default-configs/mips64el-softmmu.mak | 1 + hw/ide.h | 1 + hw/ide/via.c | 191 ++++++++++++++++++++++++++++++++++ 4 files changed, 194 insertions(+), 0 deletions(-) create mode 100644 hw/ide/via.c
Makefile.objs +1 -0
@@ -202,6 +202,7 @@ hw-obj-$(CONFIG_IDE_ISA) += ide/isa.o hw-obj-$(CONFIG_IDE_PIIX) += ide/piix.o hw-obj-$(CONFIG_IDE_CMD646) += ide/cmd646.o hw-obj-$(CONFIG_IDE_MACIO) += ide/macio.o +hw-obj-$(CONFIG_IDE_VIA) += ide/via.o # SCSI layer hw-obj-y += lsi53c895a.o
default-configs/mips64el-softmmu.mak +1 -0
@@ -21,6 +21,7 @@ CONFIG_IDE_QDEV=y CONFIG_IDE_PCI=y CONFIG_IDE_ISA=y CONFIG_IDE_PIIX=y +CONFIG_IDE_VIA=y CONFIG_NE2000_ISA=y CONFIG_SOUND=y CONFIG_VIRTIO_PCI=y
hw/ide.h +1 -0
@@ -12,6 +12,7 @@ void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table, int secondary_ide_enabled);void pci_piix3_ide_init (PCIBus *bus,DriveInfo **hd_table,int devfn);void pci_piix4_ide_init (PCIBus *bus,DriveInfo **hd_table,int devfn); +void vt82c686b_ide_init (PCIBus *bus,DriveInfo **hd_table,int devfn);/* ide-macio.c */ int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
hw/ide/via.c new file +191 -0
191 lines not on this page · raw message
Signature · 1 line
1.7.0.4