diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-06-28 00:46:46 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-28 00:46:46 -0400 |
| commit | 2179a59db18ddf8eb3fd0133a3bee57f1c2b5b06 (patch) | |
| tree | 575f59b6a0918b11f7c763aecf0c3e70478460d2 /include/linux | |
| parent | ad3fee560bc508008b3b2cf6358105c4c7081921 (diff) | |
| parent | 99f95e5286df2f69edab8a04c7080d986ee4233b (diff) | |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mod_devicetable.h | 46 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 2 |
2 files changed, 48 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index d6eb7b2efc04..9b6d05172ed4 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
| @@ -175,4 +175,50 @@ struct serio_device_id { | |||
| 175 | }; | 175 | }; |
| 176 | 176 | ||
| 177 | 177 | ||
| 178 | /* PCMCIA */ | ||
| 179 | |||
| 180 | struct pcmcia_device_id { | ||
| 181 | __u16 match_flags; | ||
| 182 | |||
| 183 | __u16 manf_id; | ||
| 184 | __u16 card_id; | ||
| 185 | |||
| 186 | __u8 func_id; | ||
| 187 | |||
| 188 | /* for real multi-function devices */ | ||
| 189 | __u8 function; | ||
| 190 | |||
| 191 | /* for pseude multi-function devices */ | ||
| 192 | __u8 device_no; | ||
| 193 | |||
| 194 | __u32 prod_id_hash[4]; | ||
| 195 | |||
| 196 | /* not matched against in kernelspace*/ | ||
| 197 | #ifdef __KERNEL__ | ||
| 198 | const char * prod_id[4]; | ||
| 199 | #else | ||
| 200 | kernel_ulong_t prod_id[4]; | ||
| 201 | #endif | ||
| 202 | |||
| 203 | /* not matched against */ | ||
| 204 | kernel_ulong_t driver_info; | ||
| 205 | #ifdef __KERNEL__ | ||
| 206 | char * cisfile; | ||
| 207 | #else | ||
| 208 | kernel_ulong_t cisfile; | ||
| 209 | #endif | ||
| 210 | }; | ||
| 211 | |||
| 212 | #define PCMCIA_DEV_ID_MATCH_MANF_ID 0x0001 | ||
| 213 | #define PCMCIA_DEV_ID_MATCH_CARD_ID 0x0002 | ||
| 214 | #define PCMCIA_DEV_ID_MATCH_FUNC_ID 0x0004 | ||
| 215 | #define PCMCIA_DEV_ID_MATCH_FUNCTION 0x0008 | ||
| 216 | #define PCMCIA_DEV_ID_MATCH_PROD_ID1 0x0010 | ||
| 217 | #define PCMCIA_DEV_ID_MATCH_PROD_ID2 0x0020 | ||
| 218 | #define PCMCIA_DEV_ID_MATCH_PROD_ID3 0x0040 | ||
| 219 | #define PCMCIA_DEV_ID_MATCH_PROD_ID4 0x0080 | ||
| 220 | #define PCMCIA_DEV_ID_MATCH_DEVICE_NO 0x0100 | ||
| 221 | #define PCMCIA_DEV_ID_MATCH_FAKE_CIS 0x0200 | ||
| 222 | #define PCMCIA_DEV_ID_MATCH_ANONYMOUS 0x0400 | ||
| 223 | |||
| 178 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 224 | #endif /* LINUX_MOD_DEVICETABLE_H */ |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index a3961e1d5183..1e0bc6a8d653 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -1815,6 +1815,8 @@ | |||
| 1815 | #define PCI_VENDOR_ID_ITE 0x1283 | 1815 | #define PCI_VENDOR_ID_ITE 0x1283 |
| 1816 | #define PCI_DEVICE_ID_ITE_IT8172G 0x8172 | 1816 | #define PCI_DEVICE_ID_ITE_IT8172G 0x8172 |
| 1817 | #define PCI_DEVICE_ID_ITE_IT8172G_AUDIO 0x0801 | 1817 | #define PCI_DEVICE_ID_ITE_IT8172G_AUDIO 0x0801 |
| 1818 | #define PCI_DEVICE_ID_ITE_8211 0x8211 | ||
| 1819 | #define PCI_DEVICE_ID_ITE_8212 0x8212 | ||
| 1818 | #define PCI_DEVICE_ID_ITE_8872 0x8872 | 1820 | #define PCI_DEVICE_ID_ITE_8872 0x8872 |
| 1819 | #define PCI_DEVICE_ID_ITE_IT8330G_0 0xe886 | 1821 | #define PCI_DEVICE_ID_ITE_IT8330G_0 0xe886 |
| 1820 | 1822 | ||
