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,
39 .init_hwif = init_hwif_svwks,
44 .vendor = PCI_VENDOR_ID_SERVERWORKS,
45 .device = PCI_DEVICE_ID_SERVERWORKS_CSB5IDE,
46 .name = "SvrWks CSB5",
47 .init_setup = init_setup_svwks,
48 .init_chipset = init_chipset_svwks,
49 .init_hwif = init_hwif_svwks,
50 .init_dma = init_dma_svwks,
55 .vendor = PCI_VENDOR_ID_SERVERWORKS,
56 .device = PCI_DEVICE_ID_SERVERWORKS_CSB6IDE,
57 .name = "SvrWks CSB6",
58 .init_setup = init_setup_csb6,
59 .init_chipset = init_chipset_svwks,
60 .init_hwif = init_hwif_svwks,
61 .init_dma = init_dma_svwks,
66 .vendor = PCI_VENDOR_ID_SERVERWORKS,
67 .device = PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2,
68 .name = "SvrWks CSB6",
69 .init_setup = init_setup_csb6,
70 .init_chipset = init_chipset_svwks,
71 .init_hwif = init_hwif_svwks,
72 .init_dma = init_dma_svwks,
73 .channels = 1, /* 2 */
79 #endif /* SERVERWORKS_H */