diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 12:59:14 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 12:59:14 -0400 |
| commit | 244dc4e54b73567fae7f8fd9ba56584be9375442 (patch) | |
| tree | c7b47b122fde55c92f7f32797aef1e3e1c7030d1 /include/linux | |
| parent | e7f2f9918c0e97aa98ba147ca387e2c7238f0711 (diff) | |
| parent | e758936e02700ff88a0b08b722a3847b95283ef2 (diff) | |
Merge git://git.infradead.org/users/dwmw2/random-2.6
* git://git.infradead.org/users/dwmw2/random-2.6:
Fix autoloading of MacBook Pro backlight driver.
Automatic MODULE_ALIAS() for DMI match tables.
Remove asm/a.out.h files for all architectures without a.out support.
Introduce HAVE_AOUT symbol to remove hard-coded arch list for BINFMT_AOUT
Remove redundant CONFIG_ARCH_SUPPORTS_AOUT
S390: Update comments about why we don't use <asm-generic/statfs.h>
SPARC: Use <asm-generic/statfs.h>
PowerPC: Use <asm-generic/statfs.h>
PARISC: Use <asm-generic/statfs.h>
x86_64: Use <asm-generic/statfs.h>
IA64: Use <asm-generic/statfs.h>
ARM: Use <asm-generic/statfs.h>
Make <asm-generic/statfs.h> suitable for 64-bit platforms.
Define and use PCI_DEVICE_ID_MARVELL_88ALP01_CCIC for CAFÉ camera driver
[MTD] [NAND] Define and use PCI_DEVICE_ID_MARVELL_88ALP01_NAND for CAFÉ
Use PCI_DEVICE_ID_88ALP01 for CAFÉ chip, rather than PCI_DEVICE_ID_CAFE.
EFS: Don't set f_fsid in statfs().
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dmi.h | 41 | ||||
| -rw-r--r-- | include/linux/mod_devicetable.h | 47 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 4 |
3 files changed, 52 insertions, 40 deletions
diff --git a/include/linux/dmi.h b/include/linux/dmi.h index 2a063b64133f..e5084eb5943a 100644 --- a/include/linux/dmi.h +++ b/include/linux/dmi.h | |||
| @@ -2,29 +2,9 @@ | |||
| 2 | #define __DMI_H__ | 2 | #define __DMI_H__ |
| 3 | 3 | ||
| 4 | #include <linux/list.h> | 4 | #include <linux/list.h> |
| 5 | #include <linux/mod_devicetable.h> | ||
| 5 | 6 | ||
| 6 | enum dmi_field { | 7 | /* enum dmi_field is in mod_devicetable.h */ |
| 7 | DMI_NONE, | ||
| 8 | DMI_BIOS_VENDOR, | ||
| 9 | DMI_BIOS_VERSION, | ||
| 10 | DMI_BIOS_DATE, | ||
| 11 | DMI_SYS_VENDOR, | ||
| 12 | DMI_PRODUCT_NAME, | ||
| 13 | DMI_PRODUCT_VERSION, | ||
| 14 | DMI_PRODUCT_SERIAL, | ||
| 15 | DMI_PRODUCT_UUID, | ||
| 16 | DMI_BOARD_VENDOR, | ||
| 17 | DMI_BOARD_NAME, | ||
| 18 | DMI_BOARD_VERSION, | ||
| 19 | DMI_BOARD_SERIAL, | ||
| 20 | DMI_BOARD_ASSET_TAG, | ||
| 21 | DMI_CHASSIS_VENDOR, | ||
| 22 | DMI_CHASSIS_TYPE, | ||
| 23 | DMI_CHASSIS_VERSION, | ||
| 24 | DMI_CHASSIS_SERIAL, | ||
| 25 | DMI_CHASSIS_ASSET_TAG, | ||
| 26 | DMI_STRING_MAX, | ||
| 27 | }; | ||
| 28 | 8 | ||
| 29 | enum dmi_device_type { | 9 | enum dmi_device_type { |
| 30 | DMI_DEV_TYPE_ANY = 0, | 10 | DMI_DEV_TYPE_ANY = 0, |
| @@ -48,23 +28,6 @@ struct dmi_header { | |||
| 48 | u16 handle; | 28 | u16 handle; |
| 49 | }; | 29 | }; |
| 50 | 30 | ||
| 51 | /* | ||
| 52 | * DMI callbacks for problem boards | ||
| 53 | */ | ||
| 54 | struct dmi_strmatch { | ||
| 55 | u8 slot; | ||
| 56 | char *substr; | ||
| 57 | }; | ||
| 58 | |||
| 59 | struct dmi_system_id { | ||
| 60 | int (*callback)(const struct dmi_system_id *); | ||
| 61 | const char *ident; | ||
| 62 | struct dmi_strmatch matches[4]; | ||
| 63 | void *driver_data; | ||
| 64 | }; | ||
| 65 | |||
| 66 | #define DMI_MATCH(a, b) { a, b } | ||
| 67 | |||
| 68 | struct dmi_device { | 31 | struct dmi_device { |
| 69 | struct list_head list; | 32 | struct list_head list; |
| 70 | int type; | 33 | int type; |
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index c4db5827963d..3481a7d5bc0a 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
| @@ -388,5 +388,52 @@ struct i2c_device_id { | |||
| 388 | __attribute__((aligned(sizeof(kernel_ulong_t)))); | 388 | __attribute__((aligned(sizeof(kernel_ulong_t)))); |
| 389 | }; | 389 | }; |
| 390 | 390 | ||
| 391 | /* dmi */ | ||
| 392 | enum dmi_field { | ||
| 393 | DMI_NONE, | ||
| 394 | DMI_BIOS_VENDOR, | ||
| 395 | DMI_BIOS_VERSION, | ||
| 396 | DMI_BIOS_DATE, | ||
| 397 | DMI_SYS_VENDOR, | ||
| 398 | DMI_PRODUCT_NAME, | ||
| 399 | DMI_PRODUCT_VERSION, | ||
| 400 | DMI_PRODUCT_SERIAL, | ||
| 401 | DMI_PRODUCT_UUID, | ||
| 402 | DMI_BOARD_VENDOR, | ||
| 403 | DMI_BOARD_NAME, | ||
| 404 | DMI_BOARD_VERSION, | ||
| 405 | DMI_BOARD_SERIAL, | ||
| 406 | DMI_BOARD_ASSET_TAG, | ||
| 407 | DMI_CHASSIS_VENDOR, | ||
| 408 | DMI_CHASSIS_TYPE, | ||
| 409 | DMI_CHASSIS_VERSION, | ||
| 410 | DMI_CHASSIS_SERIAL, | ||
| 411 | DMI_CHASSIS_ASSET_TAG, | ||
| 412 | DMI_STRING_MAX, | ||
| 413 | }; | ||
| 414 | |||
| 415 | struct dmi_strmatch { | ||
| 416 | unsigned char slot; | ||
| 417 | char substr[79]; | ||
| 418 | }; | ||
| 419 | |||
| 420 | #ifndef __KERNEL__ | ||
| 421 | struct dmi_system_id { | ||
| 422 | kernel_ulong_t callback; | ||
| 423 | kernel_ulong_t ident; | ||
| 424 | struct dmi_strmatch matches[4]; | ||
| 425 | kernel_ulong_t driver_data | ||
| 426 | __attribute__((aligned(sizeof(kernel_ulong_t)))); | ||
| 427 | }; | ||
| 428 | #else | ||
| 429 | struct dmi_system_id { | ||
| 430 | int (*callback)(const struct dmi_system_id *); | ||
| 431 | const char *ident; | ||
| 432 | struct dmi_strmatch matches[4]; | ||
| 433 | void *driver_data; | ||
| 434 | }; | ||
| 435 | #endif | ||
| 436 | |||
| 437 | #define DMI_MATCH(a, b) { a, b } | ||
| 391 | 438 | ||
| 392 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 439 | #endif /* LINUX_MOD_DEVICETABLE_H */ |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index f63b5455801c..1176f1f177e2 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -1533,7 +1533,9 @@ | |||
| 1533 | #define PCI_DEVICE_ID_MARVELL_GT64260 0x6430 | 1533 | #define PCI_DEVICE_ID_MARVELL_GT64260 0x6430 |
| 1534 | #define PCI_DEVICE_ID_MARVELL_MV64360 0x6460 | 1534 | #define PCI_DEVICE_ID_MARVELL_MV64360 0x6460 |
| 1535 | #define PCI_DEVICE_ID_MARVELL_MV64460 0x6480 | 1535 | #define PCI_DEVICE_ID_MARVELL_MV64460 0x6480 |
| 1536 | #define PCI_DEVICE_ID_MARVELL_CAFE_SD 0x4101 | 1536 | #define PCI_DEVICE_ID_MARVELL_88ALP01_NAND 0x4100 |
| 1537 | #define PCI_DEVICE_ID_MARVELL_88ALP01_SD 0x4101 | ||
| 1538 | #define PCI_DEVICE_ID_MARVELL_88ALP01_CCIC 0x4102 | ||
| 1537 | 1539 | ||
| 1538 | #define PCI_VENDOR_ID_V3 0x11b0 | 1540 | #define PCI_VENDOR_ID_V3 0x11b0 |
| 1539 | #define PCI_DEVICE_ID_V3_V960 0x0001 | 1541 | #define PCI_DEVICE_ID_V3_V960 0x0001 |
