diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2004-12-03 03:39:04 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2004-12-03 03:39:04 +0000 |
commit | 7213d0f513c2a0dbcacbf0a811d01322cd82d25b (patch) | |
tree | f40eb3d7e577af50edbc10f0df921fd34de9e075 /src/include/device/device.h | |
parent | 57b6786168683e33c1c6c2d8df6a1e8c0246fbde (diff) | |
download | coreboot-7213d0f513c2a0dbcacbf0a811d01322cd82d25b.tar.xz |
i2c mux support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1809 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r-- | src/include/device/device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 167a518f2a..253ec97d43 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -33,6 +33,7 @@ struct device_operations { void (*init)(device_t dev); unsigned int (*scan_bus)(device_t bus, unsigned int max); void (*enable)(device_t dev); + void (*set_link)(device_t dev, unsigned int link); const struct pci_operations *ops_pci; const struct smbus_bus_operations *ops_smbus_bus; const struct pci_bus_operations *ops_pci_bus; @@ -50,7 +51,7 @@ struct bus { }; #define MAX_RESOURCES 12 -#define MAX_LINKS 4 +#define MAX_LINKS 8 /* * There is one device structure for each slot-number/function-number * combination: |