Skip to contentSkip to conversation

MIPS: Initial support of VIA IDE controller used by fulong mini pc

PATCH Superseded Huacai Chen 1 participant 1 message Jun 5, 2010 Kbuild

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 3/7 MIPS: Initial support of VIA IDE controller used by fulong mini pc

---
 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
index 9796dcb..ad9a825 100644
@@ -200,6 +200,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
index d35d923..85b7838 100644
@@ -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
index 0e7d540..bb635b6 100644
@@ -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