summaryrefslogtreecommitdiff
path: root/src/southbridge/sis/sis966/sis761.c
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/southbridge/sis/sis966/sis761.c
parent4c28034e58215542d549761eed87c25b7153b909 (diff)
* 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/southbridge/sis/sis966/sis761.c')
-rw-r--r--src/southbridge/sis/sis966/sis761.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/southbridge/sis/sis966/sis761.c b/src/southbridge/sis/sis966/sis761.c
index ef3fef67af..f8dda0f949 100644
--- a/src/southbridge/sis/sis966/sis761.c
+++ b/src/southbridge/sis/sis966/sis761.c
@@ -73,36 +73,26 @@ static inline msr_t rdmsr(unsigned index)
return result;
}
-
-
static void sis761_read_resources(device_t dev)
{
/* Read the generic PCI resources */
- printk_debug("sis761_read_resources\n");
+ printk_debug("sis761_read_resources ------->\n");
pci_dev_read_resources(dev);
/* If we are not the first processor don't allocate the gart apeture */
if (dev->path.u.pci.devfn != PCI_DEVFN(0x0, 0)) {
+ printk_debug("sis761_not_the_first_processor !!!\n");
return;
}
-
- return;
-
-}
-
-static void set_agp_aperture(device_t dev)
-{
-
+ printk_debug("sis761_read_resources <-------\n");
return;
}
static void sis761_set_resources(device_t dev)
{
- printk_debug("sis761_set_resources ------->\n");
- /* Set the gart apeture */
-// set_agp_aperture(dev);
+ printk_debug("sis761_set_resources ------->\n");
/* Set the generic PCI resources */
pci_dev_set_resources(dev);
@@ -124,7 +114,6 @@ static void sis761_init(struct device *dev)
outb(inb(0x856) | 0x40, 0x856); // Auto-Reset Function
printk_debug("sis761_init: <----------\n");
- printk_debug("done.\n");
}