Skip to contentSkip to conversation

MIPS: Initial support of vt82686b south bridge 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 2/6 MIPS: Initial support of vt82686b south bridge used by fulong mini pc

resend by git send-email to avoid line-wrapping

---
 Makefile.target |    2 +-
 hw/pc.h         |    7 +
 hw/pci_ids.h    |    8 +
 hw/vt82c686.c   |  786 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 802 insertions(+), 1 deletions(-)
 create mode 100644 hw/vt82c686.c
Makefile.target +1 -1
index 63d9f49..4fc1290 100644
@@ -220,7 +220,7 @@ obj-mips-y += dma.o vga.o i8259.o
 obj-mips-y += g364fb.o jazz_led.o
 obj-mips-y += gt64xxx.o pckbd.o mc146818rtc.o
 obj-mips-y += piix4.o cirrus_vga.o
-obj-mips-$(CONFIG_FULONG) += bonito.o
+obj-mips-$(CONFIG_FULONG) += bonito.o vt82c686.o
 
 obj-microblaze-y = petalogix_s3adsp1800_mmu.o
 
hw/pc.h +7 -0
index d11a576..8951609 100644
@@ -115,6 +115,13 @@ void i440fx_init_memory_mappings(PCII440FXState *d);
 extern PCIDevice *piix4_dev;
 int piix4_init(PCIBus *bus, int devfn);
 
+/* vt82c686.c */
+int vt82c686b_init(PCIBus * bus, int devfn);
+void vt82c686b_ac97_init(PCIBus *bus, int devfn);
+void vt82c686b_mc97_init(PCIBus *bus, int devfn);
+i2c_bus *vt82c686b_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
+            qemu_irq sci_irq);
+
 /* vga.c */
 enum vga_retrace_method {
     VGA_RETRACE_DUMB,
hw/pci_ids.h +8 -0
index fe7a121..39e9f1d 100644
@@ -78,6 +78,14 @@
 
 #define PCI_VENDOR_ID_XILINX             0x10ee
 
+#define PCI_VENDOR_ID_VIA                0x1106
+#define PCI_DEVICE_ID_VIA_ISA_BRIDGE     0x0686
+#define PCI_DEVICE_ID_VIA_IDE            0x0571
+#define PCI_DEVICE_ID_VIA_UHCI           0x3038
+#define PCI_DEVICE_ID_VIA_ACPI           0x3057
+#define PCI_DEVICE_ID_VIA_AC97           0x3058
+#define PCI_DEVICE_ID_VIA_MC97           0x3068
+
 #define PCI_VENDOR_ID_MARVELL            0x11ab
 
 #define PCI_VENDOR_ID_ENSONIQ            0x1274
hw/vt82c686.c new file +786 -0

786 lines not on this page · raw message

Signature · 1 line
1.7.0.4