summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte
diff options
context:
space:
mode:
authorMorgan Tsai <my_tsai@sis.com>2007-11-14 01:34:02 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2007-11-14 01:34:02 +0000
commit31e805dadbf57e9a88be8814b9582d02e97ab745 (patch)
treefcd622c419c3fd38996a2b5fa4c4d8d33bffa3d1 /src/mainboard/gigabyte
parent4c28034e58215542d549761eed87c25b7153b909 (diff)
downloadcoreboot-31e805dadbf57e9a88be8814b9582d02e97ab745.tar.xz
* Maintaining SiS south bridge device IDs.
* Strip unnecessary driver modules. Signed-off-by: Morgan Tsai <my_tsai@sis.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2971 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/gigabyte')
-rw-r--r--src/mainboard/gigabyte/ga_2761gxdk/Config.lb12
-rw-r--r--src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c13
2 files changed, 13 insertions, 12 deletions
diff --git a/src/mainboard/gigabyte/ga_2761gxdk/Config.lb b/src/mainboard/gigabyte/ga_2761gxdk/Config.lb
index e0cf14c5de..7efcb5e68e 100644
--- a/src/mainboard/gigabyte/ga_2761gxdk/Config.lb
+++ b/src/mainboard/gigabyte/ga_2761gxdk/Config.lb
@@ -295,9 +295,9 @@ chip northbridge/amd/amdk8/root_complex
device pci 3.1 on end # USB (SiS7001,USB1.1)
device pci 3.3 on end # USB (SiS7002,USB2.0)
device pci 4.0 on end # NIC (SiS191)
- device pci 5.0 on end # SATA (SiS1183,IDE Mode)
- device pci 6.0 off end # PCI-E (SiS000A)
- device pci 7.0 off end # PCI-E (SiS000A)
+ device pci 5.0 on end # SATA (SiS1183,Native Mode)
+ device pci 6.0 on end # PCI-e x1
+ device pci 7.0 on end # PCI-e x1
device pci a.0 off end
device pci b.0 off end
device pci c.0 off end
@@ -323,13 +323,13 @@ chip northbridge/amd/amdk8/root_complex
# chip drivers/generic/debug
# device pnp 0.0 off end # chip name
# device pnp 0.1 on end # pci_regs_all
-# device pnp 0.2 on end # mem
+# device pnp 0.2 off end # mem
# device pnp 0.3 off end # cpuid
-# device pnp 0.4 on end # smbus_regs_all
+# device pnp 0.4 off end # smbus_regs_all
# device pnp 0.5 off end # dual core msr
# device pnp 0.6 off end # cache size
# device pnp 0.7 off end # tsc
-# device pnp 0.8 off end # io
+# device pnp 0.8 off end # io
# device pnp 0.9 off end # io
# end
end #root_complex
diff --git a/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c b/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c
index c19c9ac263..9ee111eb48 100644
--- a/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c
+++ b/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c
@@ -89,7 +89,7 @@ unsigned long write_pirq_routing_table(unsigned long addr)
pirq->exclusive_irqs = 0;
pirq->rtr_vendor = PCI_VENDOR_ID_SIS;
- pirq->rtr_device = PCI_DEVICE_ID_SIS_SIS966_PCI;
+ pirq->rtr_device = PCI_DEVICE_ID_SIS_SIS966_LPC;
pirq->miniport_data = 0;
@@ -102,6 +102,7 @@ unsigned long write_pirq_routing_table(unsigned long addr)
device_t dev;
dev = dev_find_slot(0, PCI_DEVFN(2,0));
if (dev) {
+
/* initialize PCI interupts - these assignments depend
on the PCB routing of PINTA-D
@@ -140,16 +141,16 @@ unsigned long write_pirq_routing_table(unsigned long addr)
pci_write_config8(dev, 0x3C, 0x0A);
dev = dev_find_slot(0, PCI_DEVFN(4,0)); // 191 (LAN)
pci_write_config8(dev, 0x3C, 0x05);
- dev = dev_find_slot(0, PCI_DEVFN(5,0)); // 1183 (SATA)
+ dev = dev_find_slot(0, PCI_DEVFN(5,0)); // 1183 (SATA)
pci_write_config8(dev, 0x3C, 0x0B);
-
- /*
- * Non-layout for GA-2761GX
- *
dev = dev_find_slot(0, PCI_DEVFN(6,0)); // PCI-E
pci_write_config8(dev, 0x3C, 0x0A);
dev = dev_find_slot(0, PCI_DEVFN(7,0)); // PCI-E
pci_write_config8(dev, 0x3C, 0x0A);
+
+ /*
+ * Non-layout for GA-2761GX
+ *
dev = dev_find_slot(0, PCI_DEVFN(15,0)); // Azalia
pci_write_config8(dev, 0x3C, 0x05);
*/