diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2004-04-29 20:08:54 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2004-04-29 20:08:54 +0000 |
commit | 69c5a905ede8053fd2993ed2e4ff14e9970f2dce (patch) | |
tree | 0790c872f03deea3d70ad433d58289b123e55aa6 /src/devices/pci_device.c | |
parent | fcdd571aee7592bd3f67283e70fba7608091ba04 (diff) | |
download | coreboot-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/pci_device.c')
-rw-r--r-- | src/devices/pci_device.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c index 4bc4e1f9f0..4a248224cb 100644 --- a/src/devices/pci_device.c +++ b/src/devices/pci_device.c @@ -470,7 +470,7 @@ static void set_pci_ops(struct device *dev) break; default: bad: - if (dev->enable) { + if (dev->enabled) { printk_err("%s [%04x/%04x/%06x] has unknown header " "type %02x, ignoring.\n", dev_path(dev), @@ -605,10 +605,10 @@ unsigned int pci_scan_bus(struct bus *bus, unsigned min_devfn, * some arbitray code without any justification */ 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); @@ -648,7 +648,7 @@ unsigned int pci_scan_bus(struct bus *bus, unsigned min_devfn, printk_debug("%s [%04x/%04x] %s\n", dev_path(dev), dev->vendor, dev->device, - dev->enable?"enabled": "disabled"); + dev->enabled?"enabled": "disabled"); if (PCI_FUNC(devfn) == 0x00 && (hdr_type & 0x80) != 0x80) { /* if this is not a multi function device, don't |