aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
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
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')
-rw-r--r--drivers/ata/ata_generic.c2
-rw-r--r--drivers/ata/pata_ali.c8
-rw-r--r--drivers/ata/pata_amd.c12
-rw-r--r--drivers/ata/pata_artop.c4
-rw-r--r--drivers/ata/pata_atiixp.c2
-rw-r--r--drivers/ata/pata_cmd640.c2
-rw-r--r--drivers/ata/pata_cs5520.c2
-rw-r--r--drivers/ata/pata_cs5530.c2
-rw-r--r--drivers/ata/pata_cs5535.c2
-rw-r--r--drivers/ata/pata_cypress.c2
-rw-r--r--drivers/ata/pata_efar.c2
-rw-r--r--drivers/ata/pata_hpt366.c2
-rw-r--r--drivers/ata/pata_hpt37x.c8
-rw-r--r--drivers/ata/pata_hpt3x2n.c2
-rw-r--r--drivers/ata/pata_hpt3x3.c2
-rw-r--r--drivers/ata/pata_isapnp.c2
-rw-r--r--drivers/ata/pata_it8213.c2
-rw-r--r--drivers/ata/pata_it821x.c2
-rw-r--r--drivers/ata/pata_marvell.c2
-rw-r--r--drivers/ata/pata_mpiix.c2
-rw-r--r--drivers/ata/pata_netcell.c2
-rw-r--r--drivers/ata/pata_ns87410.c2
-rw-r--r--drivers/ata/pata_oldpiix.c2
-rw-r--r--drivers/ata/pata_opti.c2
-rw-r--r--drivers/ata/pata_optidma.c4
-rw-r--r--drivers/ata/pata_pdc2027x.c4
-rw-r--r--drivers/ata/pata_pdc202xx_old.c4
-rw-r--r--drivers/ata/pata_qdi.c4
-rw-r--r--drivers/ata/pata_radisys.c2
-rw-r--r--drivers/ata/pata_rz1000.c2
-rw-r--r--drivers/ata/pata_sc1200.c2
-rw-r--r--drivers/ata/pata_serverworks.c4
-rw-r--r--drivers/ata/pata_sil680.c2
-rw-r--r--drivers/ata/pata_sis.c12
-rw-r--r--drivers/ata/pata_sl82c105.c2
-rw-r--r--drivers/ata/pata_triflex.c2
-rw-r--r--drivers/ata/pata_via.c4
-rw-r--r--drivers/ata/pata_winbond.c2
38 files changed, 61 insertions, 61 deletions
diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c
index afe71a6e0dab..90329982bef7 100644
--- a/drivers/ata/ata_generic.c
+++ b/drivers/ata/ata_generic.c
@@ -121,7 +121,7 @@ static struct ata_port_operations generic_port_ops = {
121 .irq_clear = ata_bmdma_irq_clear, 121 .irq_clear = ata_bmdma_irq_clear,
122 .irq_on = ata_irq_on, 122 .irq_on = ata_irq_on,
123 123
124 .port_start = ata_port_start, 124 .port_start = ata_sff_port_start,
125}; 125};
126 126
127static int all_generic_ide; /* Set to claim all devices */ 127static int all_generic_ide; /* Set to claim all devices */
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c
index 7fc11ef0fd26..364534e7aff4 100644
--- a/drivers/ata/pata_ali.c
+++ b/drivers/ata/pata_ali.c
@@ -327,7 +327,7 @@ static struct ata_port_operations ali_early_port_ops = {
327 .irq_clear = ata_bmdma_irq_clear, 327 .irq_clear = ata_bmdma_irq_clear,
328 .irq_on = ata_irq_on, 328 .irq_on = ata_irq_on,
329 329
330 .port_start = ata_port_start, 330 .port_start = ata_sff_port_start,
331}; 331};
332 332
333/* 333/*
@@ -366,7 +366,7 @@ static struct ata_port_operations ali_20_port_ops = {
366 .irq_clear = ata_bmdma_irq_clear, 366 .irq_clear = ata_bmdma_irq_clear,
367 .irq_on = ata_irq_on, 367 .irq_on = ata_irq_on,
368 368
369 .port_start = ata_port_start, 369 .port_start = ata_sff_port_start,
370}; 370};
371 371
372/* 372/*
@@ -403,7 +403,7 @@ static struct ata_port_operations ali_c2_port_ops = {
403 .irq_clear = ata_bmdma_irq_clear, 403 .irq_clear = ata_bmdma_irq_clear,
404 .irq_on = ata_irq_on, 404 .irq_on = ata_irq_on,
405 405
406 .port_start = ata_port_start, 406 .port_start = ata_sff_port_start,
407}; 407};
408 408
409/* 409/*
@@ -439,7 +439,7 @@ static struct ata_port_operations ali_c5_port_ops = {
439 .irq_clear = ata_bmdma_irq_clear, 439 .irq_clear = ata_bmdma_irq_clear,
440 .irq_on = ata_irq_on, 440 .irq_on = ata_irq_on,
441 441
442 .port_start = ata_port_start, 442 .port_start = ata_sff_port_start,
443}; 443};
444 444
445 445
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)
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c
index 1827843cda46..d4218310327b 100644
--- a/drivers/ata/pata_artop.c
+++ b/drivers/ata/pata_artop.c
@@ -361,7 +361,7 @@ static const struct ata_port_operations artop6210_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 const struct ata_port_operations artop6260_ops = { 367static const struct ata_port_operations artop6260_ops = {
@@ -392,7 +392,7 @@ static const struct ata_port_operations artop6260_ops = {
392 .irq_clear = ata_bmdma_irq_clear, 392 .irq_clear = ata_bmdma_irq_clear,
393 .irq_on = ata_irq_on, 393 .irq_on = ata_irq_on,
394 394
395 .port_start = ata_port_start, 395 .port_start = ata_sff_port_start,
396}; 396};
397 397
398 398
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c
index 0077ee783d1e..95ed3071a0a0 100644
--- a/drivers/ata/pata_atiixp.c
+++ b/drivers/ata/pata_atiixp.c
@@ -262,7 +262,7 @@ static struct ata_port_operations atiixp_port_ops = {
262 .irq_clear = ata_bmdma_irq_clear, 262 .irq_clear = ata_bmdma_irq_clear,
263 .irq_on = ata_irq_on, 263 .irq_on = ata_irq_on,
264 264
265 .port_start = ata_port_start, 265 .port_start = ata_sff_port_start,
266}; 266};
267 267
268static int atiixp_init_one(struct pci_dev *dev, const struct pci_device_id *id) 268static int atiixp_init_one(struct pci_dev *dev, const struct pci_device_id *id)
diff --git a/drivers/ata/pata_cmd640.c b/drivers/ata/pata_cmd640.c
index f09d4fa275ce..43d198f90968 100644
--- a/drivers/ata/pata_cmd640.c
+++ b/drivers/ata/pata_cmd640.c
@@ -153,7 +153,7 @@ static int cmd640_port_start(struct ata_port *ap)
153 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 153 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
154 struct cmd640_reg *timing; 154 struct cmd640_reg *timing;
155 155
156 int ret = ata_port_start(ap); 156 int ret = ata_sff_port_start(ap);
157 if (ret < 0) 157 if (ret < 0)
158 return ret; 158 return ret;
159 159
diff --git a/drivers/ata/pata_cs5520.c b/drivers/ata/pata_cs5520.c
index fe37e3e80f27..1ae6b6bd8564 100644
--- a/drivers/ata/pata_cs5520.c
+++ b/drivers/ata/pata_cs5520.c
@@ -184,7 +184,7 @@ static struct ata_port_operations cs5520_port_ops = {
184 .irq_clear = ata_bmdma_irq_clear, 184 .irq_clear = ata_bmdma_irq_clear,
185 .irq_on = ata_irq_on, 185 .irq_on = ata_irq_on,
186 186
187 .port_start = ata_port_start, 187 .port_start = ata_sff_port_start,
188}; 188};
189 189
190static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_device_id *id) 190static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
diff --git a/drivers/ata/pata_cs5530.c b/drivers/ata/pata_cs5530.c
index adeb3acf84cf..57e827e4109e 100644
--- a/drivers/ata/pata_cs5530.c
+++ b/drivers/ata/pata_cs5530.c
@@ -209,7 +209,7 @@ static struct ata_port_operations cs5530_port_ops = {
209 .irq_clear = ata_bmdma_irq_clear, 209 .irq_clear = ata_bmdma_irq_clear,
210 .irq_on = ata_irq_on, 210 .irq_on = ata_irq_on,
211 211
212 .port_start = ata_port_start, 212 .port_start = ata_sff_port_start,
213}; 213};
214 214
215static const struct dmi_system_id palmax_dmi_table[] = { 215static const struct dmi_system_id palmax_dmi_table[] = {
diff --git a/drivers/ata/pata_cs5535.c b/drivers/ata/pata_cs5535.c
index 2c73807da626..3578593a882b 100644
--- a/drivers/ata/pata_cs5535.c
+++ b/drivers/ata/pata_cs5535.c
@@ -206,7 +206,7 @@ static struct ata_port_operations cs5535_port_ops = {
206 .irq_clear = ata_bmdma_irq_clear, 206 .irq_clear = ata_bmdma_irq_clear,
207 .irq_on = ata_irq_on, 207 .irq_on = ata_irq_on,
208 208
209 .port_start = ata_port_start, 209 .port_start = ata_sff_port_start,
210}; 210};
211 211
212/** 212/**
diff --git a/drivers/ata/pata_cypress.c b/drivers/ata/pata_cypress.c
index cae44250d814..fc5f9c4e5d87 100644
--- a/drivers/ata/pata_cypress.c
+++ b/drivers/ata/pata_cypress.c
@@ -158,7 +158,7 @@ static struct ata_port_operations cy82c693_port_ops = {
158 .irq_clear = ata_bmdma_irq_clear, 158 .irq_clear = ata_bmdma_irq_clear,
159 .irq_on = ata_irq_on, 159 .irq_on = ata_irq_on,
160 160
161 .port_start = ata_port_start, 161 .port_start = ata_sff_port_start,
162}; 162};
163 163
164static int cy82c693_init_one(struct pci_dev *pdev, const struct pci_device_id *id) 164static int cy82c693_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c
index cc418e34e63b..043dcd35106c 100644
--- a/drivers/ata/pata_efar.c
+++ b/drivers/ata/pata_efar.c
@@ -279,7 +279,7 @@ static const struct ata_port_operations efar_ops = {
279 .irq_clear = ata_bmdma_irq_clear, 279 .irq_clear = ata_bmdma_irq_clear,
280 .irq_on = ata_irq_on, 280 .irq_on = ata_irq_on,
281 281
282 .port_start = ata_port_start, 282 .port_start = ata_sff_port_start,
283}; 283};
284 284
285 285
diff --git a/drivers/ata/pata_hpt366.c b/drivers/ata/pata_hpt366.c
index 16cc143460e4..0713872cf65c 100644
--- a/drivers/ata/pata_hpt366.c
+++ b/drivers/ata/pata_hpt366.c
@@ -342,7 +342,7 @@ static struct ata_port_operations hpt366_port_ops = {
342 .irq_clear = ata_bmdma_irq_clear, 342 .irq_clear = ata_bmdma_irq_clear,
343 .irq_on = ata_irq_on, 343 .irq_on = ata_irq_on,
344 344
345 .port_start = ata_port_start, 345 .port_start = ata_sff_port_start,
346}; 346};
347 347
348/** 348/**
diff --git a/drivers/ata/pata_hpt37x.c b/drivers/ata/pata_hpt37x.c
index 65c0cb21f6a0..e61cb1fd57b2 100644
--- a/drivers/ata/pata_hpt37x.c
+++ b/drivers/ata/pata_hpt37x.c
@@ -673,7 +673,7 @@ static struct ata_port_operations hpt370_port_ops = {
673 .irq_clear = ata_bmdma_irq_clear, 673 .irq_clear = ata_bmdma_irq_clear,
674 .irq_on = ata_irq_on, 674 .irq_on = ata_irq_on,
675 675
676 .port_start = ata_port_start, 676 .port_start = ata_sff_port_start,
677}; 677};
678 678
679/* 679/*
@@ -710,7 +710,7 @@ static struct ata_port_operations hpt370a_port_ops = {
710 .irq_clear = ata_bmdma_irq_clear, 710 .irq_clear = ata_bmdma_irq_clear,
711 .irq_on = ata_irq_on, 711 .irq_on = ata_irq_on,
712 712
713 .port_start = ata_port_start, 713 .port_start = ata_sff_port_start,
714}; 714};
715 715
716/* 716/*
@@ -748,7 +748,7 @@ static struct ata_port_operations hpt372_port_ops = {
748 .irq_clear = ata_bmdma_irq_clear, 748 .irq_clear = ata_bmdma_irq_clear,
749 .irq_on = ata_irq_on, 749 .irq_on = ata_irq_on,
750 750
751 .port_start = ata_port_start, 751 .port_start = ata_sff_port_start,
752}; 752};
753 753
754/* 754/*
@@ -786,7 +786,7 @@ static struct ata_port_operations hpt374_port_ops = {
786 .irq_clear = ata_bmdma_irq_clear, 786 .irq_clear = ata_bmdma_irq_clear,
787 .irq_on = ata_irq_on, 787 .irq_on = ata_irq_on,
788 788
789 .port_start = ata_port_start, 789 .port_start = ata_sff_port_start,
790}; 790};
791 791
792/** 792/**
diff --git a/drivers/ata/pata_hpt3x2n.c b/drivers/ata/pata_hpt3x2n.c
index 5559da7f9db3..9f1c084f846f 100644
--- a/drivers/ata/pata_hpt3x2n.c
+++ b/drivers/ata/pata_hpt3x2n.c
@@ -391,7 +391,7 @@ static struct ata_port_operations hpt3x2n_port_ops = {
391 .irq_clear = ata_bmdma_irq_clear, 391 .irq_clear = ata_bmdma_irq_clear,
392 .irq_on = ata_irq_on, 392 .irq_on = ata_irq_on,
393 393
394 .port_start = ata_port_start, 394 .port_start = ata_sff_port_start,
395}; 395};
396 396
397/** 397/**
diff --git a/drivers/ata/pata_hpt3x3.c b/drivers/ata/pata_hpt3x3.c
index 752394b72652..188d2176ec33 100644
--- a/drivers/ata/pata_hpt3x3.c
+++ b/drivers/ata/pata_hpt3x3.c
@@ -153,7 +153,7 @@ static struct ata_port_operations hpt3x3_port_ops = {
153 .irq_clear = ata_bmdma_irq_clear, 153 .irq_clear = ata_bmdma_irq_clear,
154 .irq_on = ata_irq_on, 154 .irq_on = ata_irq_on,
155 155
156 .port_start = ata_port_start, 156 .port_start = ata_sff_port_start,
157}; 157};
158 158
159/** 159/**
diff --git a/drivers/ata/pata_isapnp.c b/drivers/ata/pata_isapnp.c
index 1def8c05f345..8ac1e8beabaf 100644
--- a/drivers/ata/pata_isapnp.c
+++ b/drivers/ata/pata_isapnp.c
@@ -58,7 +58,7 @@ static struct ata_port_operations isapnp_port_ops = {
58 .irq_clear = ata_bmdma_irq_clear, 58 .irq_clear = ata_bmdma_irq_clear,
59 .irq_on = ata_irq_on, 59 .irq_on = ata_irq_on,
60 60
61 .port_start = ata_port_start, 61 .port_start = ata_sff_port_start,
62}; 62};
63 63
64/** 64/**
diff --git a/drivers/ata/pata_it8213.c b/drivers/ata/pata_it8213.c
index cc989ef30420..1eda821e5e39 100644
--- a/drivers/ata/pata_it8213.c
+++ b/drivers/ata/pata_it8213.c
@@ -289,7 +289,7 @@ static const struct ata_port_operations it8213_ops = {
289 .irq_clear = ata_bmdma_irq_clear, 289 .irq_clear = ata_bmdma_irq_clear,
290 .irq_on = ata_irq_on, 290 .irq_on = ata_irq_on,
291 291
292 .port_start = ata_port_start, 292 .port_start = ata_sff_port_start,
293}; 293};
294 294
295 295
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c
index 4188898a66a0..988ef736b936 100644
--- a/drivers/ata/pata_it821x.c
+++ b/drivers/ata/pata_it821x.c
@@ -563,7 +563,7 @@ static int it821x_port_start(struct ata_port *ap)
563 struct it821x_dev *itdev; 563 struct it821x_dev *itdev;
564 u8 conf; 564 u8 conf;
565 565
566 int ret = ata_port_start(ap); 566 int ret = ata_sff_port_start(ap);
567 if (ret < 0) 567 if (ret < 0)
568 return ret; 568 return ret;
569 569
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c
index 99d0844c8cb8..9afc8a32b226 100644
--- a/drivers/ata/pata_marvell.c
+++ b/drivers/ata/pata_marvell.c
@@ -139,7 +139,7 @@ static const struct ata_port_operations marvell_ops = {
139 .irq_on = ata_irq_on, 139 .irq_on = ata_irq_on,
140 140
141 /* Generic PATA PCI ATA helpers */ 141 /* Generic PATA PCI ATA helpers */
142 .port_start = ata_port_start, 142 .port_start = ata_sff_port_start,
143}; 143};
144 144
145 145
diff --git a/drivers/ata/pata_mpiix.c b/drivers/ata/pata_mpiix.c
index b50910938e6f..cb78b7bfe143 100644
--- a/drivers/ata/pata_mpiix.c
+++ b/drivers/ata/pata_mpiix.c
@@ -190,7 +190,7 @@ static struct ata_port_operations mpiix_port_ops = {
190 .irq_clear = ata_bmdma_irq_clear, 190 .irq_clear = ata_bmdma_irq_clear,
191 .irq_on = ata_irq_on, 191 .irq_on = ata_irq_on,
192 192
193 .port_start = ata_port_start, 193 .port_start = ata_sff_port_start,
194}; 194};
195 195
196static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id) 196static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id)
diff --git a/drivers/ata/pata_netcell.c b/drivers/ata/pata_netcell.c
index b2c3d0767547..25c922abd554 100644
--- a/drivers/ata/pata_netcell.c
+++ b/drivers/ata/pata_netcell.c
@@ -68,7 +68,7 @@ static const struct ata_port_operations netcell_ops = {
68 .irq_on = ata_irq_on, 68 .irq_on = ata_irq_on,
69 69
70 /* Generic PATA PCI ATA helpers */ 70 /* Generic PATA PCI ATA helpers */
71 .port_start = ata_port_start, 71 .port_start = ata_sff_port_start,
72}; 72};
73 73
74 74
diff --git a/drivers/ata/pata_ns87410.c b/drivers/ata/pata_ns87410.c
index 4b0ddf6ba3ba..6e8e55745b7b 100644
--- a/drivers/ata/pata_ns87410.c
+++ b/drivers/ata/pata_ns87410.c
@@ -185,7 +185,7 @@ static struct ata_port_operations ns87410_port_ops = {
185 .irq_clear = ata_bmdma_irq_clear, 185 .irq_clear = ata_bmdma_irq_clear,
186 .irq_on = ata_irq_on, 186 .irq_on = ata_irq_on,
187 187
188 .port_start = ata_port_start, 188 .port_start = ata_sff_port_start,
189}; 189};
190 190
191static int ns87410_init_one(struct pci_dev *dev, const struct pci_device_id *id) 191static int ns87410_init_one(struct pci_dev *dev, const struct pci_device_id *id)
diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c
index ada719ad45a4..3cd5eb2b6c91 100644
--- a/drivers/ata/pata_oldpiix.c
+++ b/drivers/ata/pata_oldpiix.c
@@ -266,7 +266,7 @@ static const struct ata_port_operations oldpiix_pata_ops = {
266 .irq_clear = ata_bmdma_irq_clear, 266 .irq_clear = ata_bmdma_irq_clear,
267 .irq_on = ata_irq_on, 267 .irq_on = ata_irq_on,
268 268
269 .port_start = ata_port_start, 269 .port_start = ata_sff_port_start,
270}; 270};
271 271
272 272
diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c
index 2a4bfbfbe75a..8f79447b6151 100644
--- a/drivers/ata/pata_opti.c
+++ b/drivers/ata/pata_opti.c
@@ -210,7 +210,7 @@ static struct ata_port_operations opti_port_ops = {
210 .irq_clear = ata_bmdma_irq_clear, 210 .irq_clear = ata_bmdma_irq_clear,
211 .irq_on = ata_irq_on, 211 .irq_on = ata_irq_on,
212 212
213 .port_start = ata_port_start, 213 .port_start = ata_sff_port_start,
214}; 214};
215 215
216static int opti_init_one(struct pci_dev *dev, const struct pci_device_id *id) 216static int opti_init_one(struct pci_dev *dev, const struct pci_device_id *id)
diff --git a/drivers/ata/pata_optidma.c b/drivers/ata/pata_optidma.c
index 848ae16f2390..6b07b5b48532 100644
--- a/drivers/ata/pata_optidma.c
+++ b/drivers/ata/pata_optidma.c
@@ -398,7 +398,7 @@ static struct ata_port_operations optidma_port_ops = {
398 .irq_clear = ata_bmdma_irq_clear, 398 .irq_clear = ata_bmdma_irq_clear,
399 .irq_on = ata_irq_on, 399 .irq_on = ata_irq_on,
400 400
401 .port_start = ata_port_start, 401 .port_start = ata_sff_port_start,
402}; 402};
403 403
404static struct ata_port_operations optiplus_port_ops = { 404static struct ata_port_operations optiplus_port_ops = {
@@ -432,7 +432,7 @@ static struct ata_port_operations optiplus_port_ops = {
432 .irq_clear = ata_bmdma_irq_clear, 432 .irq_clear = ata_bmdma_irq_clear,
433 .irq_on = ata_irq_on, 433 .irq_on = ata_irq_on,
434 434
435 .port_start = ata_port_start, 435 .port_start = ata_sff_port_start,
436}; 436};
437 437
438/** 438/**
diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c
index 5fba36f04ca9..40b070ea85a1 100644
--- a/drivers/ata/pata_pdc2027x.c
+++ b/drivers/ata/pata_pdc2027x.c
@@ -173,7 +173,7 @@ static struct ata_port_operations pdc2027x_pata100_ops = {
173 .irq_clear = ata_bmdma_irq_clear, 173 .irq_clear = ata_bmdma_irq_clear,
174 .irq_on = ata_irq_on, 174 .irq_on = ata_irq_on,
175 175
176 .port_start = ata_port_start, 176 .port_start = ata_sff_port_start,
177}; 177};
178 178
179static struct ata_port_operations pdc2027x_pata133_ops = { 179static struct ata_port_operations pdc2027x_pata133_ops = {
@@ -206,7 +206,7 @@ static struct ata_port_operations pdc2027x_pata133_ops = {
206 .irq_clear = ata_bmdma_irq_clear, 206 .irq_clear = ata_bmdma_irq_clear,
207 .irq_on = ata_irq_on, 207 .irq_on = ata_irq_on,
208 208
209 .port_start = ata_port_start, 209 .port_start = ata_sff_port_start,
210}; 210};
211 211
212static struct ata_port_info pdc2027x_port_info[] = { 212static struct ata_port_info pdc2027x_port_info[] = {
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c
index 9b7077d51489..fd4350029bc4 100644
--- a/drivers/ata/pata_pdc202xx_old.c
+++ b/drivers/ata/pata_pdc202xx_old.c
@@ -275,7 +275,7 @@ static struct ata_port_operations pdc2024x_port_ops = {
275 .irq_clear = ata_bmdma_irq_clear, 275 .irq_clear = ata_bmdma_irq_clear,
276 .irq_on = ata_irq_on, 276 .irq_on = ata_irq_on,
277 277
278 .port_start = ata_port_start, 278 .port_start = ata_sff_port_start,
279}; 279};
280 280
281static struct ata_port_operations pdc2026x_port_ops = { 281static struct ata_port_operations pdc2026x_port_ops = {
@@ -308,7 +308,7 @@ static struct ata_port_operations pdc2026x_port_ops = {
308 .irq_clear = ata_bmdma_irq_clear, 308 .irq_clear = ata_bmdma_irq_clear,
309 .irq_on = ata_irq_on, 309 .irq_on = ata_irq_on,
310 310
311 .port_start = ata_port_start, 311 .port_start = ata_sff_port_start,
312}; 312};
313 313
314static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) 314static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id)
diff --git a/drivers/ata/pata_qdi.c b/drivers/ata/pata_qdi.c
index da9ccd23ffc8..032fa67acc8b 100644
--- a/drivers/ata/pata_qdi.c
+++ b/drivers/ata/pata_qdi.c
@@ -192,7 +192,7 @@ static struct ata_port_operations qdi6500_port_ops = {
192 .irq_clear = ata_bmdma_irq_clear, 192 .irq_clear = ata_bmdma_irq_clear,
193 .irq_on = ata_irq_on, 193 .irq_on = ata_irq_on,
194 194
195 .port_start = ata_port_start, 195 .port_start = ata_sff_port_start,
196}; 196};
197 197
198static struct ata_port_operations qdi6580_port_ops = { 198static struct ata_port_operations qdi6580_port_ops = {
@@ -218,7 +218,7 @@ static struct ata_port_operations qdi6580_port_ops = {
218 .irq_clear = ata_bmdma_irq_clear, 218 .irq_clear = ata_bmdma_irq_clear,
219 .irq_on = ata_irq_on, 219 .irq_on = ata_irq_on,
220 220
221 .port_start = ata_port_start, 221 .port_start = ata_sff_port_start,
222}; 222};
223 223
224/** 224/**
diff --git a/drivers/ata/pata_radisys.c b/drivers/ata/pata_radisys.c
index ece2190971c3..d5b76497f4a2 100644
--- a/drivers/ata/pata_radisys.c
+++ b/drivers/ata/pata_radisys.c
@@ -231,7 +231,7 @@ static const struct ata_port_operations radisys_pata_ops = {
231 .irq_clear = ata_bmdma_irq_clear, 231 .irq_clear = ata_bmdma_irq_clear,
232 .irq_on = ata_irq_on, 232 .irq_on = ata_irq_on,
233 233
234 .port_start = ata_port_start, 234 .port_start = ata_sff_port_start,
235}; 235};
236 236
237 237
diff --git a/drivers/ata/pata_rz1000.c b/drivers/ata/pata_rz1000.c
index 5f1a4e180dc4..ba8a31c55edb 100644
--- a/drivers/ata/pata_rz1000.c
+++ b/drivers/ata/pata_rz1000.c
@@ -99,7 +99,7 @@ static struct ata_port_operations rz1000_port_ops = {
99 .irq_clear = ata_bmdma_irq_clear, 99 .irq_clear = ata_bmdma_irq_clear,
100 .irq_on = ata_irq_on, 100 .irq_on = ata_irq_on,
101 101
102 .port_start = ata_port_start, 102 .port_start = ata_sff_port_start,
103}; 103};
104 104
105static int rz1000_fifo_disable(struct pci_dev *pdev) 105static int rz1000_fifo_disable(struct pci_dev *pdev)
diff --git a/drivers/ata/pata_sc1200.c b/drivers/ata/pata_sc1200.c
index 6c13754c75af..21ebc485ca4b 100644
--- a/drivers/ata/pata_sc1200.c
+++ b/drivers/ata/pata_sc1200.c
@@ -227,7 +227,7 @@ static struct ata_port_operations sc1200_port_ops = {
227 .irq_clear = ata_bmdma_irq_clear, 227 .irq_clear = ata_bmdma_irq_clear,
228 .irq_on = ata_irq_on, 228 .irq_on = ata_irq_on,
229 229
230 .port_start = ata_port_start, 230 .port_start = ata_sff_port_start,
231}; 231};
232 232
233/** 233/**
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c
index 7c08f25c9544..df68806df4be 100644
--- a/drivers/ata/pata_serverworks.c
+++ b/drivers/ata/pata_serverworks.c
@@ -348,7 +348,7 @@ static struct ata_port_operations serverworks_osb4_port_ops = {
348 .irq_clear = ata_bmdma_irq_clear, 348 .irq_clear = ata_bmdma_irq_clear,
349 .irq_on = ata_irq_on, 349 .irq_on = ata_irq_on,
350 350
351 .port_start = ata_port_start, 351 .port_start = ata_sff_port_start,
352}; 352};
353 353
354static struct ata_port_operations serverworks_csb_port_ops = { 354static struct ata_port_operations serverworks_csb_port_ops = {
@@ -382,7 +382,7 @@ static struct ata_port_operations serverworks_csb_port_ops = {
382 .irq_clear = ata_bmdma_irq_clear, 382 .irq_clear = ata_bmdma_irq_clear,
383 .irq_on = ata_irq_on, 383 .irq_on = ata_irq_on,
384 384
385 .port_start = ata_port_start, 385 .port_start = ata_sff_port_start,
386}; 386};
387 387
388static int serverworks_fixup_osb4(struct pci_dev *pdev) 388static int serverworks_fixup_osb4(struct pci_dev *pdev)
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c
index 71f206d7b5c1..2eb75cd74a96 100644
--- a/drivers/ata/pata_sil680.c
+++ b/drivers/ata/pata_sil680.c
@@ -267,7 +267,7 @@ static struct ata_port_operations sil680_port_ops = {
267 .irq_clear = ata_bmdma_irq_clear, 267 .irq_clear = ata_bmdma_irq_clear,
268 .irq_on = ata_irq_on, 268 .irq_on = ata_irq_on,
269 269
270 .port_start = ata_port_start, 270 .port_start = ata_sff_port_start,
271}; 271};
272 272
273/** 273/**
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c
index 4ccf09dac8c5..3b5be77e861c 100644
--- a/drivers/ata/pata_sis.c
+++ b/drivers/ata/pata_sis.c
@@ -559,7 +559,7 @@ static const struct ata_port_operations sis_133_ops = {
559 .irq_clear = ata_bmdma_irq_clear, 559 .irq_clear = ata_bmdma_irq_clear,
560 .irq_on = ata_irq_on, 560 .irq_on = ata_irq_on,
561 561
562 .port_start = ata_port_start, 562 .port_start = ata_sff_port_start,
563}; 563};
564 564
565static const struct ata_port_operations sis_133_for_sata_ops = { 565static const struct ata_port_operations sis_133_for_sata_ops = {
@@ -591,7 +591,7 @@ static const struct ata_port_operations sis_133_for_sata_ops = {
591 .irq_clear = ata_bmdma_irq_clear, 591 .irq_clear = ata_bmdma_irq_clear,
592 .irq_on = ata_irq_on, 592 .irq_on = ata_irq_on,
593 593
594 .port_start = ata_port_start, 594 .port_start = ata_sff_port_start,
595}; 595};
596 596
597static const struct ata_port_operations sis_133_early_ops = { 597static const struct ata_port_operations sis_133_early_ops = {
@@ -623,7 +623,7 @@ static const struct ata_port_operations sis_133_early_ops = {
623 .irq_clear = ata_bmdma_irq_clear, 623 .irq_clear = ata_bmdma_irq_clear,
624 .irq_on = ata_irq_on, 624 .irq_on = ata_irq_on,
625 625
626 .port_start = ata_port_start, 626 .port_start = ata_sff_port_start,
627}; 627};
628 628
629static const struct ata_port_operations sis_100_ops = { 629static const struct ata_port_operations sis_100_ops = {
@@ -655,7 +655,7 @@ static const struct ata_port_operations sis_100_ops = {
655 .irq_clear = ata_bmdma_irq_clear, 655 .irq_clear = ata_bmdma_irq_clear,
656 .irq_on = ata_irq_on, 656 .irq_on = ata_irq_on,
657 657
658 .port_start = ata_port_start, 658 .port_start = ata_sff_port_start,
659}; 659};
660 660
661static const struct ata_port_operations sis_66_ops = { 661static const struct ata_port_operations sis_66_ops = {
@@ -687,7 +687,7 @@ static const struct ata_port_operations sis_66_ops = {
687 .irq_clear = ata_bmdma_irq_clear, 687 .irq_clear = ata_bmdma_irq_clear,
688 .irq_on = ata_irq_on, 688 .irq_on = ata_irq_on,
689 689
690 .port_start = ata_port_start, 690 .port_start = ata_sff_port_start,
691}; 691};
692 692
693static const struct ata_port_operations sis_old_ops = { 693static const struct ata_port_operations sis_old_ops = {
@@ -719,7 +719,7 @@ static const struct ata_port_operations sis_old_ops = {
719 .irq_clear = ata_bmdma_irq_clear, 719 .irq_clear = ata_bmdma_irq_clear,
720 .irq_on = ata_irq_on, 720 .irq_on = ata_irq_on,
721 721
722 .port_start = ata_port_start, 722 .port_start = ata_sff_port_start,
723}; 723};
724 724
725static const struct ata_port_info sis_info = { 725static const struct ata_port_info sis_info = {
diff --git a/drivers/ata/pata_sl82c105.c b/drivers/ata/pata_sl82c105.c
index 5bd78437e94b..1388cef52c07 100644
--- a/drivers/ata/pata_sl82c105.c
+++ b/drivers/ata/pata_sl82c105.c
@@ -254,7 +254,7 @@ static struct ata_port_operations sl82c105_port_ops = {
254 .irq_clear = ata_bmdma_irq_clear, 254 .irq_clear = ata_bmdma_irq_clear,
255 .irq_on = ata_irq_on, 255 .irq_on = ata_irq_on,
256 256
257 .port_start = ata_port_start, 257 .port_start = ata_sff_port_start,
258}; 258};
259 259
260/** 260/**
diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c
index dc20b179e3b6..403eafcffe12 100644
--- a/drivers/ata/pata_triflex.c
+++ b/drivers/ata/pata_triflex.c
@@ -227,7 +227,7 @@ static struct ata_port_operations triflex_port_ops = {
227 .irq_clear = ata_bmdma_irq_clear, 227 .irq_clear = ata_bmdma_irq_clear,
228 .irq_on = ata_irq_on, 228 .irq_on = ata_irq_on,
229 229
230 .port_start = ata_port_start, 230 .port_start = ata_sff_port_start,
231}; 231};
232 232
233static int triflex_init_one(struct pci_dev *dev, const struct pci_device_id *id) 233static int triflex_init_one(struct pci_dev *dev, const struct pci_device_id *id)
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c
index e1f20e73a61e..5d41b6612d7f 100644
--- a/drivers/ata/pata_via.c
+++ b/drivers/ata/pata_via.c
@@ -378,7 +378,7 @@ static struct ata_port_operations via_port_ops = {
378 .irq_clear = ata_bmdma_irq_clear, 378 .irq_clear = ata_bmdma_irq_clear,
379 .irq_on = ata_irq_on, 379 .irq_on = ata_irq_on,
380 380
381 .port_start = ata_port_start, 381 .port_start = ata_sff_port_start,
382}; 382};
383 383
384static struct ata_port_operations via_port_ops_noirq = { 384static struct ata_port_operations via_port_ops_noirq = {
@@ -412,7 +412,7 @@ static struct ata_port_operations via_port_ops_noirq = {
412 .irq_clear = ata_bmdma_irq_clear, 412 .irq_clear = ata_bmdma_irq_clear,
413 .irq_on = ata_irq_on, 413 .irq_on = ata_irq_on,
414 414
415 .port_start = ata_port_start, 415 .port_start = ata_sff_port_start,
416}; 416};
417 417
418/** 418/**
diff --git a/drivers/ata/pata_winbond.c b/drivers/ata/pata_winbond.c
index d7555f775d5d..553658bacce0 100644
--- a/drivers/ata/pata_winbond.c
+++ b/drivers/ata/pata_winbond.c
@@ -160,7 +160,7 @@ static struct ata_port_operations winbond_port_ops = {
160 .irq_clear = ata_bmdma_irq_clear, 160 .irq_clear = ata_bmdma_irq_clear,
161 .irq_on = ata_irq_on, 161 .irq_on = ata_irq_on,
162 162
163 .port_start = ata_port_start, 163 .port_start = ata_sff_port_start,
164}; 164};
165 165
166/** 166/**