aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorDavid Shaohua Li <shaohua.li@intel.com>2005-03-18 18:45:35 -0500
committerLen Brown <len.brown@intel.com>2005-07-11 23:28:24 -0400
commit4e10d12a3d88c88fba3258809aa42d14fd8cf1d1 (patch)
tree195f69e8e25dec0f7344aab2bbdb353b9639df79 /include/linux/device.h
parentfb9802fa59b196d7f90bb3c2e33c555c6bdc4c54 (diff)
[ACPI] Bind PCI devices with ACPI devices
Implement the framework for binding physical devices with ACPI devices. A physical bus like PCI bus should create a 'acpi_bus_type', with: .find_device: For device which has parent such as normal PCI devices. .find_bridge: It's for special devices, such as PCI root bridge or IDE controller. Such devices generally haven't a parent or ->bus. We use the special method to get an ACPI handle. Uses new field in struct device: firmware_data http://bugzilla.kernel.org/show_bug.cgi?id=4277 Signed-off-by: David Shaohua Li <shaohua.li@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index df94c0de53f2..de2d6fe349de 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -269,8 +269,10 @@ struct device {
269 struct device_driver *driver; /* which driver has allocated this 269 struct device_driver *driver; /* which driver has allocated this
270 device */ 270 device */
271 void *driver_data; /* data private to the driver */ 271 void *driver_data; /* data private to the driver */
272 void *platform_data; /* Platform specific data (e.g. ACPI, 272 void *platform_data; /* Platform specific data, device
273 BIOS data relevant to device) */ 273 core doesn't touch it */
274 void *firmware_data; /* Firmware specific data (e.g. ACPI,
275 BIOS data),reserved for device core*/
274 struct dev_pm_info power; 276 struct dev_pm_info power;
275 277
276 u64 *dma_mask; /* dma mask (if dma'able device) */ 278 u64 *dma_mask; /* dma mask (if dma'able device) */