aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/cmd64x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/cmd64x.c')
-rw-r--r--drivers/ide/pci/cmd64x.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c
index 0a4d194bc35f..3d84debaf81f 100644
--- a/drivers/ide/pci/cmd64x.c
+++ b/drivers/ide/pci/cmd64x.c
@@ -19,6 +19,8 @@
19 19
20#include <asm/io.h> 20#include <asm/io.h>
21 21
22#define DRV_NAME "cmd64x"
23
22#define CMD_DEBUG 0 24#define CMD_DEBUG 0
23 25
24#if CMD_DEBUG 26#if CMD_DEBUG
@@ -407,8 +409,8 @@ static const struct ide_dma_ops cmd648_dma_ops = {
407}; 409};
408 410
409static const struct ide_port_info cmd64x_chipsets[] __devinitdata = { 411static const struct ide_port_info cmd64x_chipsets[] __devinitdata = {
410 { /* 0 */ 412 { /* 0: CMD643 */
411 .name = "CMD643", 413 .name = DRV_NAME,
412 .init_chipset = init_chipset_cmd64x, 414 .init_chipset = init_chipset_cmd64x,
413 .enablebits = {{0x00,0x00,0x00}, {0x51,0x08,0x08}}, 415 .enablebits = {{0x00,0x00,0x00}, {0x51,0x08,0x08}},
414 .port_ops = &cmd64x_port_ops, 416 .port_ops = &cmd64x_port_ops,
@@ -418,8 +420,9 @@ static const struct ide_port_info cmd64x_chipsets[] __devinitdata = {
418 .pio_mask = ATA_PIO5, 420 .pio_mask = ATA_PIO5,
419 .mwdma_mask = ATA_MWDMA2, 421 .mwdma_mask = ATA_MWDMA2,
420 .udma_mask = 0x00, /* no udma */ 422 .udma_mask = 0x00, /* no udma */
421 },{ /* 1 */ 423 },
422 .name = "CMD646", 424 { /* 1: CMD646 */
425 .name = DRV_NAME,
423 .init_chipset = init_chipset_cmd64x, 426 .init_chipset = init_chipset_cmd64x,
424 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, 427 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}},
425 .chipset = ide_cmd646, 428 .chipset = ide_cmd646,
@@ -429,8 +432,9 @@ static const struct ide_port_info cmd64x_chipsets[] __devinitdata = {
429 .pio_mask = ATA_PIO5, 432 .pio_mask = ATA_PIO5,
430 .mwdma_mask = ATA_MWDMA2, 433 .mwdma_mask = ATA_MWDMA2,
431 .udma_mask = ATA_UDMA2, 434 .udma_mask = ATA_UDMA2,
432 },{ /* 2 */ 435 },
433 .name = "CMD648", 436 { /* 2: CMD648 */
437 .name = DRV_NAME,
434 .init_chipset = init_chipset_cmd64x, 438 .init_chipset = init_chipset_cmd64x,
435 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, 439 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}},
436 .port_ops = &cmd64x_port_ops, 440 .port_ops = &cmd64x_port_ops,
@@ -439,8 +443,9 @@ static const struct ide_port_info cmd64x_chipsets[] __devinitdata = {
439 .pio_mask = ATA_PIO5, 443 .pio_mask = ATA_PIO5,
440 .mwdma_mask = ATA_MWDMA2, 444 .mwdma_mask = ATA_MWDMA2,
441 .udma_mask = ATA_UDMA4, 445 .udma_mask = ATA_UDMA4,
442 },{ /* 3 */ 446 },
443 .name = "CMD649", 447 { /* 3: CMD649 */
448 .name = DRV_NAME,
444 .init_chipset = init_chipset_cmd64x, 449 .init_chipset = init_chipset_cmd64x,
445 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, 450 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}},
446 .port_ops = &cmd64x_port_ops, 451 .port_ops = &cmd64x_port_ops,