Commit 46f55c63 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] IDE PCI: don't initialize fields of static chipset tables to zero

Also remove unused EOL define from ide.h.

This trivial patch makes grepping a lot easier.
parent 58148fac
...@@ -17,19 +17,11 @@ static ide_pci_device_t pdcadma_chipsets[] __devinitdata = { ...@@ -17,19 +17,11 @@ static ide_pci_device_t pdcadma_chipsets[] __devinitdata = {
.name = "ADMA100", .name = "ADMA100",
.init_setup = init_setup_pdcadma, .init_setup = init_setup_pdcadma,
.init_chipset = init_chipset_pdcadma, .init_chipset = init_chipset_pdcadma,
.init_iops = NULL,
.init_hwif = init_hwif_pdcadma, .init_hwif = init_hwif_pdcadma,
.init_dma = init_dma_pdcadma, .init_dma = init_dma_pdcadma,
.channels = 2, .channels = 2,
.autodma = NODMA, .autodma = NODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
} }
......
...@@ -83,70 +83,58 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { ...@@ -83,70 +83,58 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = {
.name = "AEC6210", .name = "AEC6210",
.init_setup = init_setup_aec62xx, .init_setup = init_setup_aec62xx,
.init_chipset = init_chipset_aec62xx, .init_chipset = init_chipset_aec62xx,
.init_iops = NULL,
.init_hwif = init_hwif_aec62xx, .init_hwif = init_hwif_aec62xx,
.init_dma = init_dma_aec62xx, .init_dma = init_dma_aec62xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_ARTOP, .vendor = PCI_VENDOR_ID_ARTOP,
.device = PCI_DEVICE_ID_ARTOP_ATP860, .device = PCI_DEVICE_ID_ARTOP_ATP860,
.name = "AEC6260", .name = "AEC6260",
.init_setup = init_setup_aec62xx, .init_setup = init_setup_aec62xx,
.init_chipset = init_chipset_aec62xx, .init_chipset = init_chipset_aec62xx,
.init_iops = NULL,
.init_hwif = init_hwif_aec62xx, .init_hwif = init_hwif_aec62xx,
.init_dma = init_dma_aec62xx, .init_dma = init_dma_aec62xx,
.channels = 2, .channels = 2,
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 2 */ },{ /* 2 */
.vendor = PCI_VENDOR_ID_ARTOP, .vendor = PCI_VENDOR_ID_ARTOP,
.device = PCI_DEVICE_ID_ARTOP_ATP860R, .device = PCI_DEVICE_ID_ARTOP_ATP860R,
.name = "AEC6260R", .name = "AEC6260R",
.init_setup = init_setup_aec62xx, .init_setup = init_setup_aec62xx,
.init_chipset = init_chipset_aec62xx, .init_chipset = init_chipset_aec62xx,
.init_iops = NULL,
.init_hwif = init_hwif_aec62xx, .init_hwif = init_hwif_aec62xx,
.init_dma = init_dma_aec62xx, .init_dma = init_dma_aec62xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}},
.bootable = NEVER_BOARD, .bootable = NEVER_BOARD,
.extra = 0,
},{ /* 3 */ },{ /* 3 */
.vendor = PCI_VENDOR_ID_ARTOP, .vendor = PCI_VENDOR_ID_ARTOP,
.device = PCI_DEVICE_ID_ARTOP_ATP865, .device = PCI_DEVICE_ID_ARTOP_ATP865,
.name = "AEC6X80", .name = "AEC6X80",
.init_setup = init_setup_aec6x80, .init_setup = init_setup_aec6x80,
.init_chipset = init_chipset_aec62xx, .init_chipset = init_chipset_aec62xx,
.init_iops = NULL,
.init_hwif = init_hwif_aec62xx, .init_hwif = init_hwif_aec62xx,
.init_dma = init_dma_aec62xx, .init_dma = init_dma_aec62xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 4 */ },{ /* 4 */
.vendor = PCI_VENDOR_ID_ARTOP, .vendor = PCI_VENDOR_ID_ARTOP,
.device = PCI_DEVICE_ID_ARTOP_ATP865R, .device = PCI_DEVICE_ID_ARTOP_ATP865R,
.name = "AEC6X80R", .name = "AEC6X80R",
.init_setup = init_setup_aec6x80, .init_setup = init_setup_aec6x80,
.init_chipset = init_chipset_aec62xx, .init_chipset = init_chipset_aec62xx,
.init_iops = NULL,
.init_hwif = init_hwif_aec62xx, .init_hwif = init_hwif_aec62xx,
.init_dma = init_dma_aec62xx, .init_dma = init_dma_aec62xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
} }
}; };
......
...@@ -18,19 +18,11 @@ static ide_pci_device_t ali15x3_chipsets[] __devinitdata = { ...@@ -18,19 +18,11 @@ static ide_pci_device_t ali15x3_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_AL_M5229, .device = PCI_DEVICE_ID_AL_M5229,
.name = "ALI15X3", .name = "ALI15X3",
.init_chipset = init_chipset_ali15x3, .init_chipset = init_chipset_ali15x3,
.init_iops = NULL,
.init_hwif = init_hwif_ali15x3, .init_hwif = init_hwif_ali15x3,
.init_dma = init_dma_ali15x3, .init_dma = init_dma_ali15x3,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -21,7 +21,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { ...@@ -21,7 +21,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = {
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_VIPER_7409, .device = PCI_DEVICE_ID_AMD_VIPER_7409,
...@@ -32,7 +31,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { ...@@ -32,7 +31,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = {
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0
},{ /* 2 */ },{ /* 2 */
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_VIPER_7411, .device = PCI_DEVICE_ID_AMD_VIPER_7411,
...@@ -43,7 +41,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { ...@@ -43,7 +41,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = {
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0
},{ /* 3 */ },{ /* 3 */
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_OPUS_7441, .device = PCI_DEVICE_ID_AMD_OPUS_7441,
...@@ -54,7 +51,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { ...@@ -54,7 +51,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = {
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0
},{ /* 4 */ },{ /* 4 */
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_IDE, .device = PCI_DEVICE_ID_AMD_8111_IDE,
...@@ -65,7 +61,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { ...@@ -65,7 +61,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = {
.channels = 2, .channels = 2,
.enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0
}, },
{ /* 5 */ { /* 5 */
.vendor = PCI_VENDOR_ID_NVIDIA, .vendor = PCI_VENDOR_ID_NVIDIA,
...@@ -77,7 +72,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { ...@@ -77,7 +72,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = {
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
}, },
{ /* 6 */ { /* 6 */
.vendor = PCI_VENDOR_ID_NVIDIA, .vendor = PCI_VENDOR_ID_NVIDIA,
...@@ -89,7 +83,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { ...@@ -89,7 +83,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = {
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
}, },
{ /* 7 */ { /* 7 */
.vendor = PCI_VENDOR_ID_NVIDIA, .vendor = PCI_VENDOR_ID_NVIDIA,
...@@ -156,12 +149,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { ...@@ -156,12 +149,6 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = {
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
},
{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -69,54 +69,38 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = { ...@@ -69,54 +69,38 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_CMD_643, .device = PCI_DEVICE_ID_CMD_643,
.name = "CMD643", .name = "CMD643",
.init_chipset = init_chipset_cmd64x, .init_chipset = init_chipset_cmd64x,
.init_iops = NULL,
.init_hwif = init_hwif_cmd64x, .init_hwif = init_hwif_cmd64x,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_CMD, .vendor = PCI_VENDOR_ID_CMD,
.device = PCI_DEVICE_ID_CMD_646, .device = PCI_DEVICE_ID_CMD_646,
.name = "CMD646", .name = "CMD646",
.init_chipset = init_chipset_cmd64x, .init_chipset = init_chipset_cmd64x,
.init_iops = NULL,
.init_hwif = init_hwif_cmd64x, .init_hwif = init_hwif_cmd64x,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x51,0x80,0x80}}, .enablebits = {{0x00,0x00,0x00}, {0x51,0x80,0x80}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 2 */ },{ /* 2 */
.vendor = PCI_VENDOR_ID_CMD, .vendor = PCI_VENDOR_ID_CMD,
.device = PCI_DEVICE_ID_CMD_648, .device = PCI_DEVICE_ID_CMD_648,
.name = "CMD648", .name = "CMD648",
.init_chipset = init_chipset_cmd64x, .init_chipset = init_chipset_cmd64x,
.init_iops = NULL,
.init_hwif = init_hwif_cmd64x, .init_hwif = init_hwif_cmd64x,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ },{
.vendor = PCI_VENDOR_ID_CMD, .vendor = PCI_VENDOR_ID_CMD,
.device = PCI_DEVICE_ID_CMD_649, .device = PCI_DEVICE_ID_CMD_649,
.name = "CMD649", .name = "CMD649",
.init_chipset = init_chipset_cmd64x, .init_chipset = init_chipset_cmd64x,
.init_iops = NULL,
.init_hwif = init_hwif_cmd64x, .init_hwif = init_hwif_cmd64x,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 2,
.bootable = EOL,
} }
}; };
......
...@@ -18,13 +18,11 @@ static ide_pci_device_t cyrix_chipsets[] __devinitdata = { ...@@ -18,13 +18,11 @@ static ide_pci_device_t cyrix_chipsets[] __devinitdata = {
.name = "Cyrix 5510", .name = "Cyrix 5510",
.init_chipset = init_chipset_cs5520, .init_chipset = init_chipset_cs5520,
.init_setup_dma = cs5520_init_setup_dma, .init_setup_dma = cs5520_init_setup_dma,
.init_iops = NULL,
.init_hwif = init_hwif_cs5520, .init_hwif = init_hwif_cs5520,
.isa_ports = 1, .isa_ports = 1,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
}, },
{ {
.vendor = PCI_VENDOR_ID_CYRIX, .vendor = PCI_VENDOR_ID_CYRIX,
...@@ -32,13 +30,11 @@ static ide_pci_device_t cyrix_chipsets[] __devinitdata = { ...@@ -32,13 +30,11 @@ static ide_pci_device_t cyrix_chipsets[] __devinitdata = {
.name = "Cyrix 5520", .name = "Cyrix 5520",
.init_chipset = init_chipset_cs5520, .init_chipset = init_chipset_cs5520,
.init_setup_dma = cs5520_init_setup_dma, .init_setup_dma = cs5520_init_setup_dma,
.init_iops = NULL,
.init_hwif = init_hwif_cs5520, .init_hwif = init_hwif_cs5520,
.isa_ports = 1, .isa_ports = 1,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
} }
}; };
......
...@@ -16,18 +16,10 @@ static ide_pci_device_t cs5530_chipsets[] __devinitdata = { ...@@ -16,18 +16,10 @@ static ide_pci_device_t cs5530_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_CYRIX_5530_IDE, .device = PCI_DEVICE_ID_CYRIX_5530_IDE,
.name = "CS5530", .name = "CS5530",
.init_chipset = init_chipset_cs5530, .init_chipset = init_chipset_cs5530,
.init_iops = NULL,
.init_hwif = init_hwif_cs5530, .init_hwif = init_hwif_cs5530,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -76,17 +76,9 @@ static ide_pci_device_t cy82c693_chipsets[] __devinitdata = { ...@@ -76,17 +76,9 @@ static ide_pci_device_t cy82c693_chipsets[] __devinitdata = {
.init_chipset = init_chipset_cy82c693, .init_chipset = init_chipset_cy82c693,
.init_iops = init_iops_cy82c693, .init_iops = init_iops_cy82c693,
.init_hwif = init_hwif_cy82c693, .init_hwif = init_hwif_cy82c693,
.init_dma = NULL,
.channels = 1, .channels = 1,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -14,121 +14,92 @@ static ide_pci_device_t generic_chipsets[] __devinitdata = { ...@@ -14,121 +14,92 @@ static ide_pci_device_t generic_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_NS_87410, .device = PCI_DEVICE_ID_NS_87410,
.name = "NS87410", .name = "NS87410",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x43,0x08,0x08}, {0x47,0x08,0x08}}, .enablebits = {{0x43,0x08,0x08}, {0x47,0x08,0x08}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_PCTECH, .vendor = PCI_VENDOR_ID_PCTECH,
.device = PCI_DEVICE_ID_PCTECH_SAMURAI_IDE, .device = PCI_DEVICE_ID_PCTECH_SAMURAI_IDE,
.name = "SAMURAI", .name = "SAMURAI",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 2 */ },{ /* 2 */
.vendor = PCI_VENDOR_ID_HOLTEK, .vendor = PCI_VENDOR_ID_HOLTEK,
.device = PCI_DEVICE_ID_HOLTEK_6565, .device = PCI_DEVICE_ID_HOLTEK_6565,
.name = "HT6565", .name = "HT6565",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 3 */ },{ /* 3 */
.vendor = PCI_VENDOR_ID_UMC, .vendor = PCI_VENDOR_ID_UMC,
.device = PCI_DEVICE_ID_UMC_UM8673F, .device = PCI_DEVICE_ID_UMC_UM8673F,
.name = "UM8673F", .name = "UM8673F",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = NODMA, .autodma = NODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 4 */ },{ /* 4 */
.vendor = PCI_VENDOR_ID_UMC, .vendor = PCI_VENDOR_ID_UMC,
.device = PCI_DEVICE_ID_UMC_UM8886A, .device = PCI_DEVICE_ID_UMC_UM8886A,
.name = "UM8886A", .name = "UM8886A",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = NODMA, .autodma = NODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 5 */ },{ /* 5 */
.vendor = PCI_VENDOR_ID_UMC, .vendor = PCI_VENDOR_ID_UMC,
.device = PCI_DEVICE_ID_UMC_UM8886BF, .device = PCI_DEVICE_ID_UMC_UM8886BF,
.name = "UM8886BF", .name = "UM8886BF",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = NODMA, .autodma = NODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 6 */ },{ /* 6 */
.vendor = PCI_VENDOR_ID_HINT, .vendor = PCI_VENDOR_ID_HINT,
.device = PCI_DEVICE_ID_HINT_VXPROII_IDE, .device = PCI_DEVICE_ID_HINT_VXPROII_IDE,
.name = "HINT_IDE", .name = "HINT_IDE",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 7 */ },{ /* 7 */
.vendor = PCI_VENDOR_ID_VIA, .vendor = PCI_VENDOR_ID_VIA,
.device = PCI_DEVICE_ID_VIA_82C561, .device = PCI_DEVICE_ID_VIA_82C561,
.name = "VIA_IDE", .name = "VIA_IDE",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 8 */ },{ /* 8 */
.vendor = PCI_VENDOR_ID_OPTI, .vendor = PCI_VENDOR_ID_OPTI,
.device = PCI_DEVICE_ID_OPTI_82C558, .device = PCI_DEVICE_ID_OPTI_82C558,
.name = "OPTI621V", .name = "OPTI621V",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 9 */ },{ /* 9 */
.vendor = PCI_VENDOR_ID_VIA, .vendor = PCI_VENDOR_ID_VIA,
.device = PCI_DEVICE_ID_VIA_8237_SATA, .device = PCI_DEVICE_ID_VIA_8237_SATA,
.name = "VIA8237SATA", .name = "VIA8237SATA",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 10 */ },{ /* 10 */
.vendor = PCI_VENDOR_ID_TOSHIBA, .vendor = PCI_VENDOR_ID_TOSHIBA,
.device = PCI_DEVICE_ID_TOSHIBA_PICCOLO, .device = PCI_DEVICE_ID_TOSHIBA_PICCOLO,
...@@ -156,11 +127,6 @@ static ide_pci_device_t generic_chipsets[] __devinitdata = { ...@@ -156,11 +127,6 @@ static ide_pci_device_t generic_chipsets[] __devinitdata = {
.channels = 2, .channels = 2,
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.bootable = ON_BOARD, .bootable = ON_BOARD,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
...@@ -171,20 +137,11 @@ static ide_pci_device_t unknown_chipset[] __devinitdata = { ...@@ -171,20 +137,11 @@ static ide_pci_device_t unknown_chipset[] __devinitdata = {
.device = 0, .device = 0,
.name = "PCI_IDE", .name = "PCI_IDE",
.init_chipset = init_chipset_generic, .init_chipset = init_chipset_generic,
.init_iops = NULL,
.init_hwif = init_hwif_generic, .init_hwif = init_hwif_generic,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
#endif #endif
......
...@@ -22,18 +22,11 @@ static ide_pci_device_t hpt34x_chipsets[] __devinitdata = { ...@@ -22,18 +22,11 @@ static ide_pci_device_t hpt34x_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_TTI_HPT343, .device = PCI_DEVICE_ID_TTI_HPT343,
.name = "HPT34X", .name = "HPT34X",
.init_chipset = init_chipset_hpt34x, .init_chipset = init_chipset_hpt34x,
.init_iops = NULL,
.init_hwif = init_hwif_hpt34x, .init_hwif = init_hwif_hpt34x,
.channels = 2, .channels = 2,
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = NEVER_BOARD, .bootable = NEVER_BOARD,
.extra = 16 .extra = 16
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -430,12 +430,10 @@ static ide_pci_device_t hpt366_chipsets[] __devinitdata = { ...@@ -430,12 +430,10 @@ static ide_pci_device_t hpt366_chipsets[] __devinitdata = {
.name = "HPT366", .name = "HPT366",
.init_setup = init_setup_hpt366, .init_setup = init_setup_hpt366,
.init_chipset = init_chipset_hpt366, .init_chipset = init_chipset_hpt366,
.init_iops = NULL,
.init_hwif = init_hwif_hpt366, .init_hwif = init_hwif_hpt366,
.init_dma = init_dma_hpt366, .init_dma = init_dma_hpt366,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 240 .extra = 240
},{ /* 1 */ },{ /* 1 */
...@@ -444,61 +442,44 @@ static ide_pci_device_t hpt366_chipsets[] __devinitdata = { ...@@ -444,61 +442,44 @@ static ide_pci_device_t hpt366_chipsets[] __devinitdata = {
.name = "HPT372A", .name = "HPT372A",
.init_setup = init_setup_hpt37x, .init_setup = init_setup_hpt37x,
.init_chipset = init_chipset_hpt366, .init_chipset = init_chipset_hpt366,
.init_iops = NULL,
.init_hwif = init_hwif_hpt366, .init_hwif = init_hwif_hpt366,
.init_dma = init_dma_hpt366, .init_dma = init_dma_hpt366,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0
},{ /* 2 */ },{ /* 2 */
.vendor = PCI_VENDOR_ID_TTI, .vendor = PCI_VENDOR_ID_TTI,
.device = PCI_DEVICE_ID_TTI_HPT302, .device = PCI_DEVICE_ID_TTI_HPT302,
.name = "HPT302", .name = "HPT302",
.init_setup = init_setup_hpt37x, .init_setup = init_setup_hpt37x,
.init_chipset = init_chipset_hpt366, .init_chipset = init_chipset_hpt366,
.init_iops = NULL,
.init_hwif = init_hwif_hpt366, .init_hwif = init_hwif_hpt366,
.init_dma = init_dma_hpt366, .init_dma = init_dma_hpt366,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0
},{ /* 3 */ },{ /* 3 */
.vendor = PCI_VENDOR_ID_TTI, .vendor = PCI_VENDOR_ID_TTI,
.device = PCI_DEVICE_ID_TTI_HPT371, .device = PCI_DEVICE_ID_TTI_HPT371,
.name = "HPT371", .name = "HPT371",
.init_setup = init_setup_hpt37x, .init_setup = init_setup_hpt37x,
.init_chipset = init_chipset_hpt366, .init_chipset = init_chipset_hpt366,
.init_iops = NULL,
.init_hwif = init_hwif_hpt366, .init_hwif = init_hwif_hpt366,
.init_dma = init_dma_hpt366, .init_dma = init_dma_hpt366,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0
},{ /* 4 */ },{ /* 4 */
.vendor = PCI_VENDOR_ID_TTI, .vendor = PCI_VENDOR_ID_TTI,
.device = PCI_DEVICE_ID_TTI_HPT374, .device = PCI_DEVICE_ID_TTI_HPT374,
.name = "HPT374", .name = "HPT374",
.init_setup = init_setup_hpt374, .init_setup = init_setup_hpt374,
.init_chipset = init_chipset_hpt366, .init_chipset = init_chipset_hpt366,
.init_iops = NULL,
.init_hwif = init_hwif_hpt366, .init_hwif = init_hwif_hpt366,
.init_dma = init_dma_hpt366, .init_dma = init_dma_hpt366,
.channels = 2, /* 4 */ .channels = 2, /* 4 */
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -25,18 +25,11 @@ static ide_pci_device_t it8172_chipsets[] __devinitdata = { ...@@ -25,18 +25,11 @@ static ide_pci_device_t it8172_chipsets[] __devinitdata = {
.name = "IT8172G", .name = "IT8172G",
.init_setup = init_setup_it8172, .init_setup = init_setup_it8172,
.init_chipset = init_chipset_it8172, .init_chipset = init_chipset_it8172,
.init_iops = NULL,
.init_hwif = init_hwif_it8172, .init_hwif = init_hwif_it8172,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x40,0x00,0x01}}, .enablebits = {{0x00,0x00,0x00}, {0x40,0x00,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -12,19 +12,10 @@ static ide_pci_device_t ns87415_chipsets[] __devinitdata = { ...@@ -12,19 +12,10 @@ static ide_pci_device_t ns87415_chipsets[] __devinitdata = {
.vendor = PCI_VENDOR_ID_NS, .vendor = PCI_VENDOR_ID_NS,
.device = PCI_DEVICE_ID_NS_87415, .device = PCI_DEVICE_ID_NS_87415,
.name = "NS87415", .name = "NS87415",
.init_chipset = NULL,
.init_iops = NULL,
.init_hwif = init_hwif_ns87415, .init_hwif = init_hwif_ns87415,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -14,32 +14,21 @@ static ide_pci_device_t opti621_chipsets[] __devinitdata = { ...@@ -14,32 +14,21 @@ static ide_pci_device_t opti621_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_OPTI_82C621, .device = PCI_DEVICE_ID_OPTI_82C621,
.name = "OPTI621", .name = "OPTI621",
.init_setup = init_setup_opti621, .init_setup = init_setup_opti621,
.init_chipset = NULL,
.init_iops = NULL,
.init_hwif = init_hwif_opti621, .init_hwif = init_hwif_opti621,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_OPTI, .vendor = PCI_VENDOR_ID_OPTI,
.device = PCI_DEVICE_ID_OPTI_82C825, .device = PCI_DEVICE_ID_OPTI_82C825,
.name = "OPTI621X", .name = "OPTI621X",
.init_setup = init_setup_opti621, .init_setup = init_setup_opti621,
.init_chipset = NULL,
.init_iops = NULL,
.init_hwif = init_hwif_opti621, .init_hwif = init_hwif_opti621,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -58,104 +58,76 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { ...@@ -58,104 +58,76 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
.name = "PDC20268", .name = "PDC20268",
.init_setup = init_setup_pdcnew, .init_setup = init_setup_pdcnew,
.init_chipset = init_chipset_pdcnew, .init_chipset = init_chipset_pdcnew,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202new, .init_hwif = init_hwif_pdc202new,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_PROMISE, .vendor = PCI_VENDOR_ID_PROMISE,
.device = PCI_DEVICE_ID_PROMISE_20269, .device = PCI_DEVICE_ID_PROMISE_20269,
.name = "PDC20269", .name = "PDC20269",
.init_setup = init_setup_pdcnew, .init_setup = init_setup_pdcnew,
.init_chipset = init_chipset_pdcnew, .init_chipset = init_chipset_pdcnew,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202new, .init_hwif = init_hwif_pdc202new,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 2 */ },{ /* 2 */
.vendor = PCI_VENDOR_ID_PROMISE, .vendor = PCI_VENDOR_ID_PROMISE,
.device = PCI_DEVICE_ID_PROMISE_20270, .device = PCI_DEVICE_ID_PROMISE_20270,
.name = "PDC20270", .name = "PDC20270",
.init_setup = init_setup_pdc20270, .init_setup = init_setup_pdc20270,
.init_chipset = init_chipset_pdcnew, .init_chipset = init_chipset_pdcnew,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202new, .init_hwif = init_hwif_pdc202new,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
#ifdef CONFIG_PDC202XX_FORCE #ifndef CONFIG_PDC202XX_FORCE
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
#else /* !CONFIG_PDC202XX_FORCE */
.enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
#endif #endif
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 3 */ },{ /* 3 */
.vendor = PCI_VENDOR_ID_PROMISE, .vendor = PCI_VENDOR_ID_PROMISE,
.device = PCI_DEVICE_ID_PROMISE_20271, .device = PCI_DEVICE_ID_PROMISE_20271,
.name = "PDC20271", .name = "PDC20271",
.init_setup = init_setup_pdcnew, .init_setup = init_setup_pdcnew,
.init_chipset = init_chipset_pdcnew, .init_chipset = init_chipset_pdcnew,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202new, .init_hwif = init_hwif_pdc202new,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 4 */ },{ /* 4 */
.vendor = PCI_VENDOR_ID_PROMISE, .vendor = PCI_VENDOR_ID_PROMISE,
.device = PCI_DEVICE_ID_PROMISE_20275, .device = PCI_DEVICE_ID_PROMISE_20275,
.name = "PDC20275", .name = "PDC20275",
.init_setup = init_setup_pdcnew, .init_setup = init_setup_pdcnew,
.init_chipset = init_chipset_pdcnew, .init_chipset = init_chipset_pdcnew,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202new, .init_hwif = init_hwif_pdc202new,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 5 */ },{ /* 5 */
.vendor = PCI_VENDOR_ID_PROMISE, .vendor = PCI_VENDOR_ID_PROMISE,
.device = PCI_DEVICE_ID_PROMISE_20276, .device = PCI_DEVICE_ID_PROMISE_20276,
.name = "PDC20276", .name = "PDC20276",
.init_setup = init_setup_pdc20276, .init_setup = init_setup_pdc20276,
.init_chipset = init_chipset_pdcnew, .init_chipset = init_chipset_pdcnew,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202new, .init_hwif = init_hwif_pdc202new,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
#ifdef CONFIG_PDC202XX_FORCE #ifndef CONFIG_PDC202XX_FORCE
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
#else /* !CONFIG_PDC202XX_FORCE */
.enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
#endif #endif
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{ /* 6 */ },{ /* 6 */
.vendor = PCI_VENDOR_ID_PROMISE, .vendor = PCI_VENDOR_ID_PROMISE,
.device = PCI_DEVICE_ID_PROMISE_20277, .device = PCI_DEVICE_ID_PROMISE_20277,
.name = "PDC20277", .name = "PDC20277",
.init_setup = init_setup_pdcnew, .init_setup = init_setup_pdcnew,
.init_chipset = init_chipset_pdcnew, .init_chipset = init_chipset_pdcnew,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202new, .init_hwif = init_hwif_pdc202new,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -185,14 +185,11 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { ...@@ -185,14 +185,11 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
.name = "PDC20246", .name = "PDC20246",
.init_setup = init_setup_pdc202ata4, .init_setup = init_setup_pdc202ata4,
.init_chipset = init_chipset_pdc202xx, .init_chipset = init_chipset_pdc202xx,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202xx, .init_hwif = init_hwif_pdc202xx,
.init_dma = init_dma_pdc202xx, .init_dma = init_dma_pdc202xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
#ifdef CONFIG_PDC202XX_FORCE #ifndef CONFIG_PDC202XX_FORCE
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
#else /* !CONFIG_PDC202XX_FORCE */
.enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
#endif #endif
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
...@@ -203,14 +200,11 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { ...@@ -203,14 +200,11 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
.name = "PDC20262", .name = "PDC20262",
.init_setup = init_setup_pdc202ata4, .init_setup = init_setup_pdc202ata4,
.init_chipset = init_chipset_pdc202xx, .init_chipset = init_chipset_pdc202xx,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202xx, .init_hwif = init_hwif_pdc202xx,
.init_dma = init_dma_pdc202xx, .init_dma = init_dma_pdc202xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
#ifdef CONFIG_PDC202XX_FORCE #ifndef CONFIG_PDC202XX_FORCE
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
#else /* !CONFIG_PDC202XX_FORCE */
.enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
#endif #endif
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
...@@ -221,14 +215,11 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { ...@@ -221,14 +215,11 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
.name = "PDC20263", .name = "PDC20263",
.init_setup = init_setup_pdc202ata4, .init_setup = init_setup_pdc202ata4,
.init_chipset = init_chipset_pdc202xx, .init_chipset = init_chipset_pdc202xx,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202xx, .init_hwif = init_hwif_pdc202xx,
.init_dma = init_dma_pdc202xx, .init_dma = init_dma_pdc202xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
#ifdef CONFIG_PDC202XX_FORCE #ifndef CONFIG_PDC202XX_FORCE
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
#else /* !CONFIG_PDC202XX_FORCE */
.enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
#endif #endif
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
...@@ -243,9 +234,7 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { ...@@ -243,9 +234,7 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
.init_dma = init_dma_pdc202xx, .init_dma = init_dma_pdc202xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
#ifdef CONFIG_PDC202XX_FORCE #ifndef CONFIG_PDC202XX_FORCE
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
#else /* !CONFIG_PDC202XX_FORCE */
.enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
#endif #endif
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
...@@ -256,23 +245,15 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { ...@@ -256,23 +245,15 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
.name = "PDC20267", .name = "PDC20267",
.init_setup = init_setup_pdc202xx, .init_setup = init_setup_pdc202xx,
.init_chipset = init_chipset_pdc202xx, .init_chipset = init_chipset_pdc202xx,
.init_iops = NULL,
.init_hwif = init_hwif_pdc202xx, .init_hwif = init_hwif_pdc202xx,
.init_dma = init_dma_pdc202xx, .init_dma = init_dma_pdc202xx,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
#ifdef CONFIG_PDC202XX_FORCE #ifndef CONFIG_PDC202XX_FORCE
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
#else /* !CONFIG_PDC202XX_FORCE */
.enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}}, .enablebits = {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
#endif #endif
.bootable = OFF_BOARD, .bootable = OFF_BOARD,
.extra = 48, .extra = 48,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -20,13 +20,11 @@ static void init_hwif_piix(ide_hwif_t *); ...@@ -20,13 +20,11 @@ static void init_hwif_piix(ide_hwif_t *);
.name = name_str, \ .name = name_str, \
.init_setup = init_setup_piix, \ .init_setup = init_setup_piix, \
.init_chipset = init_chipset_piix, \ .init_chipset = init_chipset_piix, \
.init_iops = NULL, \
.init_hwif = init_hwif_piix, \ .init_hwif = init_hwif_piix, \
.channels = 2, \ .channels = 2, \
.autodma = AUTODMA, \ .autodma = AUTODMA, \
.enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, \ .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, \
.bootable = ON_BOARD, \ .bootable = ON_BOARD, \
.extra = 0, \
} }
/* /*
...@@ -43,14 +41,11 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = { ...@@ -43,14 +41,11 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.device = PCI_DEVICE_ID_INTEL_82371MX, .device = PCI_DEVICE_ID_INTEL_82371MX,
.name = "MPIIX", .name = "MPIIX",
.init_setup = init_setup_piix, .init_setup = init_setup_piix,
.init_chipset = NULL,
.init_iops = NULL,
.init_hwif = init_hwif_piix, .init_hwif = init_hwif_piix,
.channels = 2, .channels = 2,
.autodma = NODMA, .autodma = NODMA,
.enablebits = {{0x6D,0x80,0x80}, {0x6F,0x80,0x80}}, .enablebits = {{0x6D,0x80,0x80}, {0x6F,0x80,0x80}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
}, },
/* 3 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_82371SB_1, "PIIX3"), /* 3 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_82371SB_1, "PIIX3"),
...@@ -70,14 +65,7 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = { ...@@ -70,14 +65,7 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
/* 17 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_82801DB_10, "ICH4"), /* 17 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_82801DB_10, "ICH4"),
/* 18 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_82801EB_1, "ICH5-SATA"), /* 18 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_82801EB_1, "ICH5-SATA"),
/* 19 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_ESB_2, "ICH5"), /* 19 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_ESB_2, "ICH5"),
/* 20 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_ICH6_19, "ICH6"), /* 20 */ DECLARE_PIIX_DEV(PCI_DEVICE_ID_INTEL_ICH6_19, "ICH6")
{
.vendor = 0,
.device = 0,
.channels = 0,
.init_setup = NULL,
.bootable = EOL,
}
}; };
#endif /* PIIX_H */ #endif /* PIIX_H */
...@@ -12,33 +12,18 @@ static ide_pci_device_t rz1000_chipsets[] __devinitdata = { ...@@ -12,33 +12,18 @@ static ide_pci_device_t rz1000_chipsets[] __devinitdata = {
.vendor = PCI_VENDOR_ID_PCTECH, .vendor = PCI_VENDOR_ID_PCTECH,
.device = PCI_DEVICE_ID_PCTECH_RZ1000, .device = PCI_DEVICE_ID_PCTECH_RZ1000,
.name = "RZ1000", .name = "RZ1000",
.init_chipset = NULL,
.init_iops = NULL,
.init_hwif = init_hwif_rz1000, .init_hwif = init_hwif_rz1000,
.init_dma = NULL,
.channels = 2, .channels = 2,
.autodma = NODMA, .autodma = NODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ },{
.vendor = PCI_VENDOR_ID_PCTECH, .vendor = PCI_VENDOR_ID_PCTECH,
.device = PCI_DEVICE_ID_PCTECH_RZ1001, .device = PCI_DEVICE_ID_PCTECH_RZ1001,
.name = "RZ1001", .name = "RZ1001",
.init_chipset = NULL,
.init_iops = NULL,
.init_hwif = init_hwif_rz1000, .init_hwif = init_hwif_rz1000,
.init_dma = NULL,
.channels = 2, .channels = 2,
.autodma = NODMA, .autodma = NODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -16,18 +16,10 @@ static ide_pci_device_t sc1200_chipsets[] __devinitdata = { ...@@ -16,18 +16,10 @@ static ide_pci_device_t sc1200_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_NS_SCx200_IDE, .device = PCI_DEVICE_ID_NS_SCx200_IDE,
.name = "SC1200", .name = "SC1200",
.init_chipset = init_chipset_sc1200, .init_chipset = init_chipset_sc1200,
.init_iops = NULL,
.init_hwif = init_hwif_sc1200, .init_hwif = init_hwif_sc1200,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -36,61 +36,43 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = { ...@@ -36,61 +36,43 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
.name = "SvrWks OSB4", .name = "SvrWks OSB4",
.init_setup = init_setup_svwks, .init_setup = init_setup_svwks,
.init_chipset = init_chipset_svwks, .init_chipset = init_chipset_svwks,
.init_iops = NULL,
.init_hwif = init_hwif_svwks, .init_hwif = init_hwif_svwks,
.init_dma = NULL,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_CSB5IDE, .device = PCI_DEVICE_ID_SERVERWORKS_CSB5IDE,
.name = "SvrWks CSB5", .name = "SvrWks CSB5",
.init_setup = init_setup_svwks, .init_setup = init_setup_svwks,
.init_chipset = init_chipset_svwks, .init_chipset = init_chipset_svwks,
.init_iops = NULL,
.init_hwif = init_hwif_svwks, .init_hwif = init_hwif_svwks,
.init_dma = init_dma_svwks, .init_dma = init_dma_svwks,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 2 */ },{ /* 2 */
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_CSB6IDE, .device = PCI_DEVICE_ID_SERVERWORKS_CSB6IDE,
.name = "SvrWks CSB6", .name = "SvrWks CSB6",
.init_setup = init_setup_csb6, .init_setup = init_setup_csb6,
.init_chipset = init_chipset_svwks, .init_chipset = init_chipset_svwks,
.init_iops = NULL,
.init_hwif = init_hwif_svwks, .init_hwif = init_hwif_svwks,
.init_dma = init_dma_svwks, .init_dma = init_dma_svwks,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 3 */ },{ /* 3 */
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2, .device = PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2,
.name = "SvrWks CSB6", .name = "SvrWks CSB6",
.init_setup = init_setup_csb6, .init_setup = init_setup_csb6,
.init_chipset = init_chipset_svwks, .init_chipset = init_chipset_svwks,
.init_iops = NULL,
.init_hwif = init_hwif_svwks, .init_hwif = init_hwif_svwks,
.init_dma = init_dma_svwks, .init_dma = init_dma_svwks,
.channels = 1, /* 2 */ .channels = 1, /* 2 */
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -35,9 +35,7 @@ static ide_pci_device_t siimage_chipsets[] __devinitdata = { ...@@ -35,9 +35,7 @@ static ide_pci_device_t siimage_chipsets[] __devinitdata = {
.init_hwif = init_hwif_siimage, .init_hwif = init_hwif_siimage,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_CMD, .vendor = PCI_VENDOR_ID_CMD,
.device = PCI_DEVICE_ID_SII_3112, .device = PCI_DEVICE_ID_SII_3112,
...@@ -47,9 +45,7 @@ static ide_pci_device_t siimage_chipsets[] __devinitdata = { ...@@ -47,9 +45,7 @@ static ide_pci_device_t siimage_chipsets[] __devinitdata = {
.init_hwif = init_hwif_siimage, .init_hwif = init_hwif_siimage,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 2 */ },{ /* 2 */
.vendor = PCI_VENDOR_ID_CMD, .vendor = PCI_VENDOR_ID_CMD,
.device = PCI_DEVICE_ID_SII_1210SA, .device = PCI_DEVICE_ID_SII_1210SA,
...@@ -59,14 +55,7 @@ static ide_pci_device_t siimage_chipsets[] __devinitdata = { ...@@ -59,14 +55,7 @@ static ide_pci_device_t siimage_chipsets[] __devinitdata = {
.init_hwif = init_hwif_siimage, .init_hwif = init_hwif_siimage,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -16,18 +16,11 @@ static ide_pci_device_t sis5513_chipsets[] __devinitdata = { ...@@ -16,18 +16,11 @@ static ide_pci_device_t sis5513_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_SI_5513, .device = PCI_DEVICE_ID_SI_5513,
.name = "SIS5513", .name = "SIS5513",
.init_chipset = init_chipset_sis5513, .init_chipset = init_chipset_sis5513,
.init_iops = NULL,
.init_hwif = init_hwif_sis5513, .init_hwif = init_hwif_sis5513,
.channels = 2, .channels = 2,
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -15,19 +15,12 @@ static ide_pci_device_t sl82c105_chipsets[] __devinitdata = { ...@@ -15,19 +15,12 @@ static ide_pci_device_t sl82c105_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_WINBOND_82C105, .device = PCI_DEVICE_ID_WINBOND_82C105,
.name = "W82C105", .name = "W82C105",
.init_chipset = init_chipset_sl82c105, .init_chipset = init_chipset_sl82c105,
.init_iops = NULL,
.init_hwif = init_hwif_sl82c105, .init_hwif = init_hwif_sl82c105,
.init_dma = init_dma_sl82c105, .init_dma = init_dma_sl82c105,
.channels = 2, .channels = 2,
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x40,0x01,0x01}, {0x40,0x10,0x10}}, .enablebits = {{0x40,0x01,0x01}, {0x40,0x10,0x10}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -18,18 +18,11 @@ static ide_pci_device_t slc90e66_chipsets[] __devinitdata = { ...@@ -18,18 +18,11 @@ static ide_pci_device_t slc90e66_chipsets[] __devinitdata = {
.device = PCI_DEVICE_ID_EFAR_SLC90E66_1, .device = PCI_DEVICE_ID_EFAR_SLC90E66_1,
.name = "SLC90E66", .name = "SLC90E66",
.init_chipset = init_chipset_slc90e66, .init_chipset = init_chipset_slc90e66,
.init_iops = NULL,
.init_hwif = init_hwif_slc90e66, .init_hwif = init_hwif_slc90e66,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -21,14 +21,11 @@ static ide_pci_device_t triflex_devices[] __devinitdata = { ...@@ -21,14 +21,11 @@ static ide_pci_device_t triflex_devices[] __devinitdata = {
.device = PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE, .device = PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE,
.name = "TRIFLEX", .name = "TRIFLEX",
.init_chipset = init_chipset_triflex, .init_chipset = init_chipset_triflex,
.init_iops = NULL,
.init_hwif = init_hwif_triflex, .init_hwif = init_hwif_triflex,
.channels = 2, .channels = 2,
.autodma = AUTODMA, .autodma = AUTODMA,
.enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}}, .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
},{
.bootable = EOL,
} }
}; };
......
...@@ -12,20 +12,10 @@ static ide_pci_device_t trm290_chipsets[] __devinitdata = { ...@@ -12,20 +12,10 @@ static ide_pci_device_t trm290_chipsets[] __devinitdata = {
.vendor = PCI_VENDOR_ID_TEKRAM, .vendor = PCI_VENDOR_ID_TEKRAM,
.device = PCI_DEVICE_ID_TEKRAM_DC290, .device = PCI_DEVICE_ID_TEKRAM_DC290,
.name = "TRM290", .name = "TRM290",
.init_chipset = NULL,
.init_iops = NULL,
.init_hwif = init_hwif_trm290, .init_hwif = init_hwif_trm290,
.init_dma = NULL,
.channels = 2, .channels = 2,
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -21,7 +21,6 @@ static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = { ...@@ -21,7 +21,6 @@ static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = {
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{ /* 1 */ },{ /* 1 */
.vendor = PCI_VENDOR_ID_VIA, .vendor = PCI_VENDOR_ID_VIA,
.device = PCI_DEVICE_ID_VIA_82C586_1, .device = PCI_DEVICE_ID_VIA_82C586_1,
...@@ -32,12 +31,6 @@ static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = { ...@@ -32,12 +31,6 @@ static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = {
.autodma = NOAUTODMA, .autodma = NOAUTODMA,
.enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}},
.bootable = ON_BOARD, .bootable = ON_BOARD,
.extra = 0,
},{
.vendor = 0,
.device = 0,
.channels = 0,
.bootable = EOL,
} }
}; };
......
...@@ -1546,7 +1546,6 @@ int ide_replace_subdriver(ide_drive_t *drive, const char *driver); ...@@ -1546,7 +1546,6 @@ int ide_replace_subdriver(ide_drive_t *drive, const char *driver);
#define NODMA 0 #define NODMA 0
#define NOAUTODMA 1 #define NOAUTODMA 1
#define AUTODMA 2 #define AUTODMA 2
#define EOL 255
typedef struct ide_pci_enablebit_s { typedef struct ide_pci_enablebit_s {
u8 reg; /* byte pci reg holding the enable-bit */ u8 reg; /* byte pci reg holding the enable-bit */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment