aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_promise.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-07-08 01:13:16 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-09 12:17:35 -0400
commit469248abf00dfa813356b372ffe153b85f27f4bf (patch)
tree61d81524195c35195abc68d8cc437c93bd5036bc /drivers/ata/sata_promise.c
parentd26fc9551a15fdad0d5de8376a78816b8af44f00 (diff)
[libata] Clean up driver udma_mask initializers
* Use ATA_UDMA* * Remove FIXME notations that once served to remind us to verify that these were indeed the correct UDMA masks. They are. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_promise.c')
-rw-r--r--drivers/ata/sata_promise.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c
index 78bdfd00b218..2ad5872fe90c 100644
--- a/drivers/ata/sata_promise.c
+++ b/drivers/ata/sata_promise.c
@@ -250,7 +250,7 @@ static const struct ata_port_info pdc_port_info[] = {
250 PDC_FLAG_SATA_PATA, 250 PDC_FLAG_SATA_PATA,
251 .pio_mask = 0x1f, /* pio0-4 */ 251 .pio_mask = 0x1f, /* pio0-4 */
252 .mwdma_mask = 0x07, /* mwdma0-2 */ 252 .mwdma_mask = 0x07, /* mwdma0-2 */
253 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 253 .udma_mask = ATA_UDMA6,
254 .port_ops = &pdc_old_sata_ops, 254 .port_ops = &pdc_old_sata_ops,
255 }, 255 },
256 256
@@ -259,7 +259,7 @@ static const struct ata_port_info pdc_port_info[] = {
259 .flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS, 259 .flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS,
260 .pio_mask = 0x1f, /* pio0-4 */ 260 .pio_mask = 0x1f, /* pio0-4 */
261 .mwdma_mask = 0x07, /* mwdma0-2 */ 261 .mwdma_mask = 0x07, /* mwdma0-2 */
262 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 262 .udma_mask = ATA_UDMA6,
263 .port_ops = &pdc_pata_ops, 263 .port_ops = &pdc_pata_ops,
264 }, 264 },
265 265
@@ -269,7 +269,7 @@ static const struct ata_port_info pdc_port_info[] = {
269 PDC_FLAG_4_PORTS, 269 PDC_FLAG_4_PORTS,
270 .pio_mask = 0x1f, /* pio0-4 */ 270 .pio_mask = 0x1f, /* pio0-4 */
271 .mwdma_mask = 0x07, /* mwdma0-2 */ 271 .mwdma_mask = 0x07, /* mwdma0-2 */
272 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 272 .udma_mask = ATA_UDMA6,
273 .port_ops = &pdc_old_sata_ops, 273 .port_ops = &pdc_old_sata_ops,
274 }, 274 },
275 275
@@ -279,7 +279,7 @@ static const struct ata_port_info pdc_port_info[] = {
279 PDC_FLAG_4_PORTS, 279 PDC_FLAG_4_PORTS,
280 .pio_mask = 0x1f, /* pio0-4 */ 280 .pio_mask = 0x1f, /* pio0-4 */
281 .mwdma_mask = 0x07, /* mwdma0-2 */ 281 .mwdma_mask = 0x07, /* mwdma0-2 */
282 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 282 .udma_mask = ATA_UDMA6,
283 .port_ops = &pdc_pata_ops, 283 .port_ops = &pdc_pata_ops,
284 }, 284 },
285 285
@@ -289,7 +289,7 @@ static const struct ata_port_info pdc_port_info[] = {
289 PDC_FLAG_GEN_II | PDC_FLAG_SATA_PATA, 289 PDC_FLAG_GEN_II | PDC_FLAG_SATA_PATA,
290 .pio_mask = 0x1f, /* pio0-4 */ 290 .pio_mask = 0x1f, /* pio0-4 */
291 .mwdma_mask = 0x07, /* mwdma0-2 */ 291 .mwdma_mask = 0x07, /* mwdma0-2 */
292 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 292 .udma_mask = ATA_UDMA6,
293 .port_ops = &pdc_sata_ops, 293 .port_ops = &pdc_sata_ops,
294 }, 294 },
295 295
@@ -299,7 +299,7 @@ static const struct ata_port_info pdc_port_info[] = {
299 PDC_FLAG_GEN_II, 299 PDC_FLAG_GEN_II,
300 .pio_mask = 0x1f, /* pio0-4 */ 300 .pio_mask = 0x1f, /* pio0-4 */
301 .mwdma_mask = 0x07, /* mwdma0-2 */ 301 .mwdma_mask = 0x07, /* mwdma0-2 */
302 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 302 .udma_mask = ATA_UDMA6,
303 .port_ops = &pdc_pata_ops, 303 .port_ops = &pdc_pata_ops,
304 }, 304 },
305 305
@@ -309,7 +309,7 @@ static const struct ata_port_info pdc_port_info[] = {
309 PDC_FLAG_GEN_II | PDC_FLAG_4_PORTS, 309 PDC_FLAG_GEN_II | PDC_FLAG_4_PORTS,
310 .pio_mask = 0x1f, /* pio0-4 */ 310 .pio_mask = 0x1f, /* pio0-4 */
311 .mwdma_mask = 0x07, /* mwdma0-2 */ 311 .mwdma_mask = 0x07, /* mwdma0-2 */
312 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 312 .udma_mask = ATA_UDMA6,
313 .port_ops = &pdc_sata_ops, 313 .port_ops = &pdc_sata_ops,
314 }, 314 },
315}; 315};