aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_amd.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-08-22 17:55:41 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:36 -0400
commit81ad1837b590775336f68eafcae8dab13a975b3a (patch)
treeacdbe73364759c291eaf2ad40c708374e23cddfe /drivers/ata/pata_amd.c
parentac8869d56d95a8c74403e6f7a47d74fcfcc1b988 (diff)
libata: Switch most of the remaining SFF drivers to ata_sff_port_start
This avoids allocating DMA buffers if not needed but at the moment is mostly just a neatness item. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_amd.c')
-rw-r--r--drivers/ata/pata_amd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c
index b1db7ff8edd1..c5779ad4abca 100644
--- a/drivers/ata/pata_amd.c
+++ b/drivers/ata/pata_amd.c
@@ -361,7 +361,7 @@ static struct ata_port_operations amd33_port_ops = {
361 .irq_clear = ata_bmdma_irq_clear, 361 .irq_clear = ata_bmdma_irq_clear,
362 .irq_on = ata_irq_on, 362 .irq_on = ata_irq_on,
363 363
364 .port_start = ata_port_start, 364 .port_start = ata_sff_port_start,
365}; 365};
366 366
367static struct ata_port_operations amd66_port_ops = { 367static struct ata_port_operations amd66_port_ops = {
@@ -394,7 +394,7 @@ static struct ata_port_operations amd66_port_ops = {
394 .irq_clear = ata_bmdma_irq_clear, 394 .irq_clear = ata_bmdma_irq_clear,
395 .irq_on = ata_irq_on, 395 .irq_on = ata_irq_on,
396 396
397 .port_start = ata_port_start, 397 .port_start = ata_sff_port_start,
398}; 398};
399 399
400static struct ata_port_operations amd100_port_ops = { 400static struct ata_port_operations amd100_port_ops = {
@@ -427,7 +427,7 @@ static struct ata_port_operations amd100_port_ops = {
427 .irq_clear = ata_bmdma_irq_clear, 427 .irq_clear = ata_bmdma_irq_clear,
428 .irq_on = ata_irq_on, 428 .irq_on = ata_irq_on,
429 429
430 .port_start = ata_port_start, 430 .port_start = ata_sff_port_start,
431}; 431};
432 432
433static struct ata_port_operations amd133_port_ops = { 433static struct ata_port_operations amd133_port_ops = {
@@ -460,7 +460,7 @@ static struct ata_port_operations amd133_port_ops = {
460 .irq_clear = ata_bmdma_irq_clear, 460 .irq_clear = ata_bmdma_irq_clear,
461 .irq_on = ata_irq_on, 461 .irq_on = ata_irq_on,
462 462
463 .port_start = ata_port_start, 463 .port_start = ata_sff_port_start,
464}; 464};
465 465
466static struct ata_port_operations nv100_port_ops = { 466static struct ata_port_operations nv100_port_ops = {
@@ -493,7 +493,7 @@ static struct ata_port_operations nv100_port_ops = {
493 .irq_clear = ata_bmdma_irq_clear, 493 .irq_clear = ata_bmdma_irq_clear,
494 .irq_on = ata_irq_on, 494 .irq_on = ata_irq_on,
495 495
496 .port_start = ata_port_start, 496 .port_start = ata_sff_port_start,
497}; 497};
498 498
499static struct ata_port_operations nv133_port_ops = { 499static struct ata_port_operations nv133_port_ops = {
@@ -526,7 +526,7 @@ static struct ata_port_operations nv133_port_ops = {
526 .irq_clear = ata_bmdma_irq_clear, 526 .irq_clear = ata_bmdma_irq_clear,
527 .irq_on = ata_irq_on, 527 .irq_on = ata_irq_on,
528 528
529 .port_start = ata_port_start, 529 .port_start = ata_sff_port_start,
530}; 530};
531 531
532static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) 532static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id)