summaryrefslogtreecommitdiff
path: root/src/devices/hypertransport.c
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-04-29 20:08:54 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-04-29 20:08:54 +0000
commit69c5a905ede8053fd2993ed2e4ff14e9970f2dce (patch)
tree0790c872f03deea3d70ad433d58289b123e55aa6 /src/devices/hypertransport.c
parentfcdd571aee7592bd3f67283e70fba7608091ba04 (diff)
downloadcoreboot-69c5a905ede8053fd2993ed2e4ff14e9970f2dce.tar.xz
changed dev->enable to dev->enabled. Sorry, I am the only one who can't speak
English in the project. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1543 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/hypertransport.c')
-rw-r--r--src/devices/hypertransport.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/hypertransport.c b/src/devices/hypertransport.c
index e50ebf6f20..db7426767d 100644
--- a/src/devices/hypertransport.c
+++ b/src/devices/hypertransport.c
@@ -264,10 +264,10 @@ unsigned int hypertransport_scan_chain(struct bus *bus, unsigned int max)
*chain_last = dev;
/* Run the magice enable sequence for the device */
if (dev->chip && dev->chip->control && dev->chip->control->enable_dev) {
- int enable = dev->enable;
- dev->enable = 1;
+ int enable = dev->enabled;
+ dev->enabled = 1;
dev->chip->control->enable_dev(dev);
- dev->enable = enable;
+ dev->enabled = enable;
}
/* Now read the vendor and device id */
id = pci_read_config32(dev, PCI_VENDOR_ID);
@@ -335,7 +335,7 @@ unsigned int hypertransport_scan_chain(struct bus *bus, unsigned int max)
printk_debug("%s [%04x/%04x] %s next_unitid: %04x\n",
dev_path(dev),
dev->vendor, dev->device,
- (dev->enable? "enabled": "disabled"), next_unitid);
+ (dev->enabled? "enabled": "disabled"), next_unitid);
} while((last_unitid != next_unitid) && (next_unitid <= 0x1f));
#if HAVE_HARD_RESET == 1