diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2004-08-24 22:27:55 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2004-08-24 22:27:55 +0000 |
commit | 3b0096313a3176370aaac91714d7b81dd0163b9a (patch) | |
tree | 850b4433d25f0ccb5a20effa3d5812ca866912ad /src/southbridge/intel | |
parent | 74bfa2c8b2a72ed88af4a84ebe6e172cd3af566b (diff) |
compiles.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1638 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r-- | src/southbridge/intel/i82801dbm/i82801dbm.h | 10 | ||||
-rw-r--r-- | src/southbridge/intel/i82801dbm/i82801dbm_sata.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i82801dbm/i82801dbm_usb.c | 3 | ||||
-rw-r--r-- | src/southbridge/intel/i82801dbm/i82801dbm_usb2.c | 2 |
4 files changed, 10 insertions, 7 deletions
diff --git a/src/southbridge/intel/i82801dbm/i82801dbm.h b/src/southbridge/intel/i82801dbm/i82801dbm.h index 85dce4ecb7..f3b06e28ce 100644 --- a/src/southbridge/intel/i82801dbm/i82801dbm.h +++ b/src/southbridge/intel/i82801dbm/i82801dbm.h @@ -1,13 +1,15 @@ #ifndef I82801ER_H #define I82801ER_H -struct southbridge_intel_i82801er_config +struct southbridge_intel_i82801dbm_config { + int enable_usb; + int enable_native_ide; }; struct chip_control; -extern struct chip_control southbridge_intel_i82801er_control; +extern struct chip_control southbridge_intel_i82801dbm_control; -extern void i82801er_enable(device_t dev); +extern void i82801dbm_enable(device_t dev); /* 000 = Non-combined. P0 is primary master. P1 is secondary master. @@ -78,4 +80,4 @@ channel disabled. */ #define SMBUS_TIMEOUT (100*1000) -#endif /* I82801ER_H */ +#endif /* I82801DBM_H */ diff --git a/src/southbridge/intel/i82801dbm/i82801dbm_sata.c b/src/southbridge/intel/i82801dbm/i82801dbm_sata.c index 2bc287fa36..4421859946 100644 --- a/src/southbridge/intel/i82801dbm/i82801dbm_sata.c +++ b/src/southbridge/intel/i82801dbm/i82801dbm_sata.c @@ -11,7 +11,7 @@ static void sata_init(struct device *dev) uint16_t word; uint8_t byte; int enable_c=1, enable_d=1; - int i; + // int i; //Enable Serial ATA port byte = pci_read_config8(dev,0x90); diff --git a/src/southbridge/intel/i82801dbm/i82801dbm_usb.c b/src/southbridge/intel/i82801dbm/i82801dbm_usb.c index b810f59289..0c20e532d0 100644 --- a/src/southbridge/intel/i82801dbm/i82801dbm_usb.c +++ b/src/southbridge/intel/i82801dbm/i82801dbm_usb.c @@ -7,9 +7,10 @@ static void usb_init(struct device *dev) { - uint32_t cmd; + #if 0 + uint32_t cmd; printk_debug("USB: Setting up controller.. "); cmd = pci_read_config32(dev, PCI_COMMAND); pci_write_config32(dev, PCI_COMMAND, diff --git a/src/southbridge/intel/i82801dbm/i82801dbm_usb2.c b/src/southbridge/intel/i82801dbm/i82801dbm_usb2.c index 5b7465da05..95dedc7e77 100644 --- a/src/southbridge/intel/i82801dbm/i82801dbm_usb2.c +++ b/src/southbridge/intel/i82801dbm/i82801dbm_usb2.c @@ -9,7 +9,7 @@ static void usb2_init(struct device *dev) { - uint32_t cmd; + uint32_t cmd; #if 0 printk_debug("USB: Setting up controller.. "); |