diff options
author | Eric Biederman <ebiederm@xmission.com> | 2003-07-17 03:26:03 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2003-07-17 03:26:03 +0000 |
commit | 4086d16ba216955d6124d99c9aae7ceeb2457a71 (patch) | |
tree | f31ec9105e99df6cc78064ac6218ba3e96146cce /src/include/device | |
parent | 5fb929e6e399ecf41aec9c6053a0340671534a63 (diff) |
- Implement an enable method for pci devices.
- Add initial support for the amd8131
- Update the mptable to something possible
- hdama/Config add the amd8131 southbridge
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@968 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device')
-rw-r--r-- | src/include/device/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index def9f539ab..4ad776ffc9 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -11,6 +11,7 @@ struct device_operations { void (*set_resources)(device_t dev); void (*init)(device_t dev); unsigned int (*scan_bus)(device_t bus, unsigned int max); + void (*enable)(device_t dev); }; @@ -31,7 +32,7 @@ struct device { unsigned short device; unsigned int class; /* 3 bytes: (base,sub,prog-if) */ unsigned int hdr_type; /* PCI header type */ - unsigned int master : 1; /* set if device is master capable */ + unsigned int enable : 1; /* set if we should enable the device */ unsigned char secondary; /* secondary bus number */ unsigned char subordinate; /* max subordinate bus number */ @@ -56,7 +57,6 @@ struct device { unsigned int resources; unsigned long rom_address; struct device_operations *ops; - }; extern struct device dev_root; /* root bus */ |