diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ide.h | 5 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 3461abc1e854..77ae55d4c13c 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -230,6 +230,7 @@ typedef struct hw_regs_s { | |||
| 230 | int dma; /* our dma entry */ | 230 | int dma; /* our dma entry */ |
| 231 | ide_ack_intr_t *ack_intr; /* acknowledge interrupt */ | 231 | ide_ack_intr_t *ack_intr; /* acknowledge interrupt */ |
| 232 | hwif_chipset_t chipset; | 232 | hwif_chipset_t chipset; |
| 233 | struct device *dev; | ||
| 233 | } hw_regs_t; | 234 | } hw_regs_t; |
| 234 | 235 | ||
| 235 | /* | 236 | /* |
| @@ -266,6 +267,10 @@ static inline void ide_std_init_ports(hw_regs_t *hw, | |||
| 266 | 267 | ||
| 267 | #include <asm/ide.h> | 268 | #include <asm/ide.h> |
| 268 | 269 | ||
| 270 | #ifndef MAX_HWIFS | ||
| 271 | #define MAX_HWIFS CONFIG_IDE_MAX_HWIFS | ||
| 272 | #endif | ||
| 273 | |||
| 269 | /* needed on alpha, x86/x86_64, ia64, mips, ppc32 and sh */ | 274 | /* needed on alpha, x86/x86_64, ia64, mips, ppc32 and sh */ |
| 270 | #ifndef IDE_ARCH_OBSOLETE_DEFAULTS | 275 | #ifndef IDE_ARCH_OBSOLETE_DEFAULTS |
| 271 | # define ide_default_io_base(index) (0) | 276 | # define ide_default_io_base(index) (0) |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 9a96f0588393..4e06eb0f4451 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -387,6 +387,7 @@ | |||
| 387 | #define PCI_DEVICE_ID_NS_SC1100_SMI 0x0511 | 387 | #define PCI_DEVICE_ID_NS_SC1100_SMI 0x0511 |
| 388 | #define PCI_DEVICE_ID_NS_SC1100_XBUS 0x0515 | 388 | #define PCI_DEVICE_ID_NS_SC1100_XBUS 0x0515 |
| 389 | #define PCI_DEVICE_ID_NS_87410 0xd001 | 389 | #define PCI_DEVICE_ID_NS_87410 0xd001 |
| 390 | #define PCI_DEVICE_ID_NS_CS5535_IDE 0x002d | ||
| 390 | 391 | ||
| 391 | #define PCI_VENDOR_ID_TSENG 0x100c | 392 | #define PCI_VENDOR_ID_TSENG 0x100c |
| 392 | #define PCI_DEVICE_ID_TSENG_W32P_2 0x3202 | 393 | #define PCI_DEVICE_ID_TSENG_W32P_2 0x3202 |
| @@ -487,6 +488,8 @@ | |||
| 487 | #define PCI_DEVICE_ID_AMD_8151_0 0x7454 | 488 | #define PCI_DEVICE_ID_AMD_8151_0 0x7454 |
| 488 | #define PCI_DEVICE_ID_AMD_8131_APIC 0x7450 | 489 | #define PCI_DEVICE_ID_AMD_8131_APIC 0x7450 |
| 489 | 490 | ||
| 491 | #define PCI_DEVICE_ID_AMD_CS5536_IDE 0x209A | ||
| 492 | |||
| 490 | #define PCI_VENDOR_ID_TRIDENT 0x1023 | 493 | #define PCI_VENDOR_ID_TRIDENT 0x1023 |
| 491 | #define PCI_DEVICE_ID_TRIDENT_4DWAVE_DX 0x2000 | 494 | #define PCI_DEVICE_ID_TRIDENT_4DWAVE_DX 0x2000 |
| 492 | #define PCI_DEVICE_ID_TRIDENT_4DWAVE_NX 0x2001 | 495 | #define PCI_DEVICE_ID_TRIDENT_4DWAVE_NX 0x2001 |
