aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-dma.c3
-rw-r--r--drivers/ide/pci/hpt34x.c2
-rw-r--r--drivers/ide/pci/hpt366.c6
-rw-r--r--drivers/ide/pci/pdc202xx_old.c2
4 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
index 3cdb0749ada4..77506fec1fbd 100644
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -850,8 +850,7 @@ static int ide_iomio_dma(ide_hwif_t *hwif, unsigned long base)
850 printk(KERN_INFO " %s: BM-DMA at 0x%04lx-0x%04lx", 850 printk(KERN_INFO " %s: BM-DMA at 0x%04lx-0x%04lx",
851 hwif->name, base, base + 7); 851 hwif->name, base, base + 7);
852 852
853 if (hwif->cds->extra) 853 hwif->extra_base = base + (hwif->channel ? 8 : 16);
854 hwif->extra_base = base + (hwif->channel ? 8 : 16);
855 854
856 return 0; 855 return 0;
857} 856}
diff --git a/drivers/ide/pci/hpt34x.c b/drivers/ide/pci/hpt34x.c
index e4193ef56797..84c36c117194 100644
--- a/drivers/ide/pci/hpt34x.c
+++ b/drivers/ide/pci/hpt34x.c
@@ -130,7 +130,6 @@ static const struct ide_port_info hpt34x_chipsets[] __devinitdata = {
130 { /* 0 */ 130 { /* 0 */
131 .name = "HPT343", 131 .name = "HPT343",
132 .init_chipset = init_chipset_hpt34x, 132 .init_chipset = init_chipset_hpt34x,
133 .extra = 16,
134 .port_ops = &hpt34x_port_ops, 133 .port_ops = &hpt34x_port_ops,
135 .host_flags = IDE_HFLAGS_HPT34X | IDE_HFLAG_NON_BOOTABLE, 134 .host_flags = IDE_HFLAGS_HPT34X | IDE_HFLAG_NON_BOOTABLE,
136 .pio_mask = ATA_PIO5, 135 .pio_mask = ATA_PIO5,
@@ -138,7 +137,6 @@ static const struct ide_port_info hpt34x_chipsets[] __devinitdata = {
138 { /* 1 */ 137 { /* 1 */
139 .name = "HPT345", 138 .name = "HPT345",
140 .init_chipset = init_chipset_hpt34x, 139 .init_chipset = init_chipset_hpt34x,
141 .extra = 16,
142 .port_ops = &hpt34x_port_ops, 140 .port_ops = &hpt34x_port_ops,
143 .host_flags = IDE_HFLAGS_HPT34X | IDE_HFLAG_OFF_BOARD, 141 .host_flags = IDE_HFLAGS_HPT34X | IDE_HFLAG_OFF_BOARD,
144 .pio_mask = ATA_PIO5, 142 .pio_mask = ATA_PIO5,
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c
index ec77a7a5c61f..0f313f54fc27 100644
--- a/drivers/ide/pci/hpt366.c
+++ b/drivers/ide/pci/hpt366.c
@@ -1428,7 +1428,6 @@ static const struct ide_port_info hpt366_chipsets[] __devinitdata = {
1428 * Bit 4 is for the primary channel, bit 5 for the secondary. 1428 * Bit 4 is for the primary channel, bit 5 for the secondary.
1429 */ 1429 */
1430 .enablebits = {{0x50,0x10,0x10}, {0x54,0x04,0x04}}, 1430 .enablebits = {{0x50,0x10,0x10}, {0x54,0x04,0x04}},
1431 .extra = 240,
1432 .port_ops = &hpt3xx_port_ops, 1431 .port_ops = &hpt3xx_port_ops,
1433 .host_flags = IDE_HFLAGS_HPT3XX | IDE_HFLAG_SINGLE, 1432 .host_flags = IDE_HFLAGS_HPT3XX | IDE_HFLAG_SINGLE,
1434 .pio_mask = ATA_PIO4, 1433 .pio_mask = ATA_PIO4,
@@ -1439,7 +1438,6 @@ static const struct ide_port_info hpt366_chipsets[] __devinitdata = {
1439 .init_hwif = init_hwif_hpt366, 1438 .init_hwif = init_hwif_hpt366,
1440 .init_dma = init_dma_hpt366, 1439 .init_dma = init_dma_hpt366,
1441 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}}, 1440 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}},
1442 .extra = 240,
1443 .port_ops = &hpt3xx_port_ops, 1441 .port_ops = &hpt3xx_port_ops,
1444 .host_flags = IDE_HFLAGS_HPT3XX, 1442 .host_flags = IDE_HFLAGS_HPT3XX,
1445 .pio_mask = ATA_PIO4, 1443 .pio_mask = ATA_PIO4,
@@ -1450,7 +1448,6 @@ static const struct ide_port_info hpt366_chipsets[] __devinitdata = {
1450 .init_hwif = init_hwif_hpt366, 1448 .init_hwif = init_hwif_hpt366,
1451 .init_dma = init_dma_hpt366, 1449 .init_dma = init_dma_hpt366,
1452 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}}, 1450 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}},
1453 .extra = 240,
1454 .port_ops = &hpt3xx_port_ops, 1451 .port_ops = &hpt3xx_port_ops,
1455 .host_flags = IDE_HFLAGS_HPT3XX, 1452 .host_flags = IDE_HFLAGS_HPT3XX,
1456 .pio_mask = ATA_PIO4, 1453 .pio_mask = ATA_PIO4,
@@ -1461,7 +1458,6 @@ static const struct ide_port_info hpt366_chipsets[] __devinitdata = {
1461 .init_hwif = init_hwif_hpt366, 1458 .init_hwif = init_hwif_hpt366,
1462 .init_dma = init_dma_hpt366, 1459 .init_dma = init_dma_hpt366,
1463 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}}, 1460 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}},
1464 .extra = 240,
1465 .port_ops = &hpt3xx_port_ops, 1461 .port_ops = &hpt3xx_port_ops,
1466 .host_flags = IDE_HFLAGS_HPT3XX, 1462 .host_flags = IDE_HFLAGS_HPT3XX,
1467 .pio_mask = ATA_PIO4, 1463 .pio_mask = ATA_PIO4,
@@ -1473,7 +1469,6 @@ static const struct ide_port_info hpt366_chipsets[] __devinitdata = {
1473 .init_dma = init_dma_hpt366, 1469 .init_dma = init_dma_hpt366,
1474 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}}, 1470 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}},
1475 .udma_mask = ATA_UDMA5, 1471 .udma_mask = ATA_UDMA5,
1476 .extra = 240,
1477 .port_ops = &hpt3xx_port_ops, 1472 .port_ops = &hpt3xx_port_ops,
1478 .host_flags = IDE_HFLAGS_HPT3XX, 1473 .host_flags = IDE_HFLAGS_HPT3XX,
1479 .pio_mask = ATA_PIO4, 1474 .pio_mask = ATA_PIO4,
@@ -1484,7 +1479,6 @@ static const struct ide_port_info hpt366_chipsets[] __devinitdata = {
1484 .init_hwif = init_hwif_hpt366, 1479 .init_hwif = init_hwif_hpt366,
1485 .init_dma = init_dma_hpt366, 1480 .init_dma = init_dma_hpt366,
1486 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}}, 1481 .enablebits = {{0x50,0x04,0x04}, {0x54,0x04,0x04}},
1487 .extra = 240,
1488 .port_ops = &hpt3xx_port_ops, 1482 .port_ops = &hpt3xx_port_ops,
1489 .host_flags = IDE_HFLAGS_HPT3XX, 1483 .host_flags = IDE_HFLAGS_HPT3XX,
1490 .pio_mask = ATA_PIO4, 1484 .pio_mask = ATA_PIO4,
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c
index 00563e1bfc73..06617ab16248 100644
--- a/drivers/ide/pci/pdc202xx_old.c
+++ b/drivers/ide/pci/pdc202xx_old.c
@@ -358,7 +358,6 @@ static const struct ide_port_ops pdc2026x_port_ops = {
358 .init_chipset = init_chipset_pdc202xx, \ 358 .init_chipset = init_chipset_pdc202xx, \
359 .init_hwif = init_hwif_pdc202xx, \ 359 .init_hwif = init_hwif_pdc202xx, \
360 .init_dma = init_dma_pdc202xx, \ 360 .init_dma = init_dma_pdc202xx, \
361 .extra = 48, \
362 .port_ops = &pdc2026x_port_ops, \ 361 .port_ops = &pdc2026x_port_ops, \
363 .host_flags = IDE_HFLAGS_PDC202XX | extra_flags, \ 362 .host_flags = IDE_HFLAGS_PDC202XX | extra_flags, \
364 .pio_mask = ATA_PIO4, \ 363 .pio_mask = ATA_PIO4, \
@@ -373,7 +372,6 @@ static const struct ide_port_info pdc202xx_chipsets[] __devinitdata = {
373 .init_hwif = init_hwif_pdc202xx, 372 .init_hwif = init_hwif_pdc202xx,
374 .init_dma = init_dma_pdc202xx, 373 .init_dma = init_dma_pdc202xx,
375 .port_ops = &pdc20246_port_ops, 374 .port_ops = &pdc20246_port_ops,
376 .extra = 16,
377 .host_flags = IDE_HFLAGS_PDC202XX, 375 .host_flags = IDE_HFLAGS_PDC202XX,
378 .pio_mask = ATA_PIO4, 376 .pio_mask = ATA_PIO4,
379 .mwdma_mask = ATA_MWDMA2, 377 .mwdma_mask = ATA_MWDMA2,