From 2ebe904e48972c91a96835ac3b999ceae87d49b8 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Sat, 13 Feb 2010 17:43:17 -0500 Subject: [PATCH] --- yaml --- r: 183175 b: refs/heads/master c: 750e519da7b3f470fe1b5b55c8d8f52d6d6371e4 h: refs/heads/master i: 183173: 86d36ed75ed8ba6e1b2bd846a04203b42a00fa5c 183171: c7f13457a14cc353bde0ffc10a646242aabf9bd7 183167: 2757de75fec6f1e470a7de27ae4114160be6d4af v: v3 --- [refs] | 2 +- trunk/drivers/ata/pata_pdc202xx_old.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index b9386a991d67..f447c1f49888 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a75032e8772d13dab5e3501413d7e14a148281b4 +refs/heads/master: 750e519da7b3f470fe1b5b55c8d8f52d6d6371e4 diff --git a/trunk/drivers/ata/pata_pdc202xx_old.c b/trunk/drivers/ata/pata_pdc202xx_old.c index 8d25bd59a16e..29111205185a 100644 --- a/trunk/drivers/ata/pata_pdc202xx_old.c +++ b/trunk/drivers/ata/pata_pdc202xx_old.c @@ -35,7 +35,7 @@ static int pdc2026x_cable_detect(struct ata_port *ap) return ATA_CBL_PATA80; } -static void pdc20246_exec_command(struct ata_port *ap, +static void pdc202xx_exec_command(struct ata_port *ap, const struct ata_taskfile *tf) { DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); @@ -281,7 +281,7 @@ static struct ata_port_operations pdc2024x_port_ops = { .set_piomode = pdc202xx_set_piomode, .set_dmamode = pdc202xx_set_dmamode, - .sff_exec_command = pdc20246_exec_command, + .sff_exec_command = pdc202xx_exec_command, }; static struct ata_port_operations pdc2026x_port_ops = { @@ -295,6 +295,8 @@ static struct ata_port_operations pdc2026x_port_ops = { .dev_config = pdc2026x_dev_config, .port_start = pdc2026x_port_start, + + .sff_exec_command = pdc202xx_exec_command, }; static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id)