aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/hpt366.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:20 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:20 -0400
commit21a3387ddd9eedcf6d4f47e591ffa90128b9f560 (patch)
treeb1078598c6e93e1c232312a366f60f1e1d29eeb6 /drivers/ide/pci/hpt366.c
parenteb63963a55f039f049d0dd1121f91f332af6ecc9 (diff)
ide: remove ->extra field from struct ide_port_info
Always setup hwif->extra_base in ide_iomio_dma() and remove no longer needed ->extra field from struct ide_port_info. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/hpt366.c')
-rw-r--r--drivers/ide/pci/hpt366.c6
1 files changed, 0 insertions, 6 deletions
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,