5 #include <linux/config.h>
9 #undef SVWKS_DEBUG_DRIVE_INFO
11 #define SVWKS_CSB5_REVISION_NEW 0x92 /* min PCI_REVISION_ID for UDMA5 (A2.0) */
12 #define SVWKS_CSB6_REVISION 0xa0 /* min PCI_REVISION_ID for UDMA4 (A1.0) */
14 /* Seagate Barracuda ATA IV Family drives in UDMA mode 5
15 * can overrun their FIFOs when used with the CSB5 */
16 const char *svwks_bad_ata100[] = {
24 #define DISPLAY_SVWKS_TIMINGS 1
26 static void init_setup_svwks(struct pci_dev *, ide_pci_device_t *);
27 static void init_setup_csb6(struct pci_dev *, ide_pci_device_t *);
28 static unsigned int init_chipset_svwks(struct pci_dev *, const char *);
29 static void init_hwif_svwks(ide_hwif_t *);
30 static void init_dma_svwks(ide_hwif_t *, unsigned long);
32 static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
34 .vendor = PCI_VENDOR_ID_SERVERWORKS,
35 .device = PCI_DEVICE_ID_SERVERWORKS_OSB4IDE,
36 .name = "SvrWks OSB4",
37 .init_setup = init_setup_svwks,
38 .init_chipset = init_chipset_svwks,
40 .init_hwif = init_hwif_svwks,
44 .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
48 .vendor = PCI_VENDOR_ID_SERVERWORKS,
49 .device = PCI_DEVICE_ID_SERVERWORKS_CSB5IDE,
50 .name = "SvrWks CSB5",
51 .init_setup = init_setup_svwks,
52 .init_chipset = init_chipset_svwks,
54 .init_hwif = init_hwif_svwks,
55 .init_dma = init_dma_svwks,
58 .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
62 .vendor = PCI_VENDOR_ID_SERVERWORKS,
63 .device = PCI_DEVICE_ID_SERVERWORKS_CSB6IDE,
64 .name = "SvrWks CSB6",
65 .init_setup = init_setup_csb6,
66 .init_chipset = init_chipset_svwks,
68 .init_hwif = init_hwif_svwks,
69 .init_dma = init_dma_svwks,
72 .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
76 .vendor = PCI_VENDOR_ID_SERVERWORKS,
77 .device = PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2,
78 .name = "SvrWks CSB6",
79 .init_setup = init_setup_csb6,
80 .init_chipset = init_chipset_svwks,
82 .init_hwif = init_hwif_svwks,
83 .init_dma = init_dma_svwks,
84 .channels = 1, /* 2 */
86 .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
97 #endif /* SERVERWORKS_H */