Skip to contentSkip to conversation

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

PATCH RESEND Superseded Huacai Chen 1 participant 1 message May 13, 2010 Kbuild

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

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

resend by git send-email to avoid line-wrapping

---
 Makefile.objs                        |    1 +
 default-configs/mips64el-softmmu.mak |    1 +
 hw/ide.h                             |    1 +
 hw/ide/via.c                         |  185 ++++++++++++++++++++++++++++++++++
 4 files changed, 188 insertions(+), 0 deletions(-)
 create mode 100644 hw/ide/via.c
Makefile.objs +1 -0
index ecdd53e..75be9ce 100644
@@ -195,6 +195,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 970568c..8399c85 100644
@@ -18,6 +18,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 +185 -0

185 lines not on this page · raw message

Signature · 1 line
1.7.0.4