diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:20 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:20 -0400 |
commit | 21a3387ddd9eedcf6d4f47e591ffa90128b9f560 (patch) | |
tree | b1078598c6e93e1c232312a366f60f1e1d29eeb6 /drivers/ide/pci | |
parent | eb63963a55f039f049d0dd1121f91f332af6ecc9 (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')
-rw-r--r-- | drivers/ide/pci/hpt34x.c | 2 | ||||
-rw-r--r-- | drivers/ide/pci/hpt366.c | 6 | ||||
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 2 |
3 files changed, 0 insertions, 10 deletions
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, |