diff options
author | Erik Inge Bolsø <knan-lkml@anduin.net> | 2009-03-14 16:38:24 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-03-24 22:13:27 -0400 |
commit | 14bdef982caeda19afe34010482867c18217c641 (patch) | |
tree | f1ed0bf1a1dad887ae717a41ccca13332e6fdb17 /drivers/ata/sata_promise.c | |
parent | 22ddbd1e036ce035c1cccb2496aefafac79aba2c (diff) |
[libata] convert drivers to use ata.h mode mask defines
No functional changes in this patch.
Signed-off-by: Erik Inge Bolsø <knan-lkml@anduin.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/sata_promise.c')
-rw-r--r-- | drivers/ata/sata_promise.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c index ba9a2570a742..3ad2b8863636 100644 --- a/drivers/ata/sata_promise.c +++ b/drivers/ata/sata_promise.c | |||
@@ -213,8 +213,8 @@ static const struct ata_port_info pdc_port_info[] = { | |||
213 | { | 213 | { |
214 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SATA | | 214 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SATA | |
215 | PDC_FLAG_SATA_PATA, | 215 | PDC_FLAG_SATA_PATA, |
216 | .pio_mask = 0x1f, /* pio0-4 */ | 216 | .pio_mask = ATA_PIO4, |
217 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 217 | .mwdma_mask = ATA_MWDMA2, |
218 | .udma_mask = ATA_UDMA6, | 218 | .udma_mask = ATA_UDMA6, |
219 | .port_ops = &pdc_old_sata_ops, | 219 | .port_ops = &pdc_old_sata_ops, |
220 | }, | 220 | }, |
@@ -222,8 +222,8 @@ static const struct ata_port_info pdc_port_info[] = { | |||
222 | [board_2037x_pata] = | 222 | [board_2037x_pata] = |
223 | { | 223 | { |
224 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS, | 224 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS, |
225 | .pio_mask = 0x1f, /* pio0-4 */ | 225 | .pio_mask = ATA_PIO4, |
226 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 226 | .mwdma_mask = ATA_MWDMA2, |
227 | .udma_mask = ATA_UDMA6, | 227 | .udma_mask = ATA_UDMA6, |
228 | .port_ops = &pdc_pata_ops, | 228 | .port_ops = &pdc_pata_ops, |
229 | }, | 229 | }, |
@@ -232,8 +232,8 @@ static const struct ata_port_info pdc_port_info[] = { | |||
232 | { | 232 | { |
233 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SATA | | 233 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SATA | |
234 | PDC_FLAG_4_PORTS, | 234 | PDC_FLAG_4_PORTS, |
235 | .pio_mask = 0x1f, /* pio0-4 */ | 235 | .pio_mask = ATA_PIO4, |
236 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 236 | .mwdma_mask = ATA_MWDMA2, |
237 | .udma_mask = ATA_UDMA6, | 237 | .udma_mask = ATA_UDMA6, |
238 | .port_ops = &pdc_old_sata_ops, | 238 | .port_ops = &pdc_old_sata_ops, |
239 | }, | 239 | }, |
@@ -242,8 +242,8 @@ static const struct ata_port_info pdc_port_info[] = { | |||
242 | { | 242 | { |
243 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS | | 243 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS | |
244 | PDC_FLAG_4_PORTS, | 244 | PDC_FLAG_4_PORTS, |
245 | .pio_mask = 0x1f, /* pio0-4 */ | 245 | .pio_mask = ATA_PIO4, |
246 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 246 | .mwdma_mask = ATA_MWDMA2, |
247 | .udma_mask = ATA_UDMA6, | 247 | .udma_mask = ATA_UDMA6, |
248 | .port_ops = &pdc_pata_ops, | 248 | .port_ops = &pdc_pata_ops, |
249 | }, | 249 | }, |
@@ -252,8 +252,8 @@ static const struct ata_port_info pdc_port_info[] = { | |||
252 | { | 252 | { |
253 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SATA | | 253 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SATA | |
254 | PDC_FLAG_GEN_II | PDC_FLAG_SATA_PATA, | 254 | PDC_FLAG_GEN_II | PDC_FLAG_SATA_PATA, |
255 | .pio_mask = 0x1f, /* pio0-4 */ | 255 | .pio_mask = ATA_PIO4, |
256 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 256 | .mwdma_mask = ATA_MWDMA2, |
257 | .udma_mask = ATA_UDMA6, | 257 | .udma_mask = ATA_UDMA6, |
258 | .port_ops = &pdc_sata_ops, | 258 | .port_ops = &pdc_sata_ops, |
259 | }, | 259 | }, |
@@ -262,8 +262,8 @@ static const struct ata_port_info pdc_port_info[] = { | |||
262 | { | 262 | { |
263 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS | | 263 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS | |
264 | PDC_FLAG_GEN_II, | 264 | PDC_FLAG_GEN_II, |
265 | .pio_mask = 0x1f, /* pio0-4 */ | 265 | .pio_mask = ATA_PIO4, |
266 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 266 | .mwdma_mask = ATA_MWDMA2, |
267 | .udma_mask = ATA_UDMA6, | 267 | .udma_mask = ATA_UDMA6, |
268 | .port_ops = &pdc_pata_ops, | 268 | .port_ops = &pdc_pata_ops, |
269 | }, | 269 | }, |
@@ -272,8 +272,8 @@ static const struct ata_port_info pdc_port_info[] = { | |||
272 | { | 272 | { |
273 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SATA | | 273 | .flags = PDC_COMMON_FLAGS | ATA_FLAG_SATA | |
274 | PDC_FLAG_GEN_II | PDC_FLAG_4_PORTS, | 274 | PDC_FLAG_GEN_II | PDC_FLAG_4_PORTS, |
275 | .pio_mask = 0x1f, /* pio0-4 */ | 275 | .pio_mask = ATA_PIO4, |
276 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 276 | .mwdma_mask = ATA_MWDMA2, |
277 | .udma_mask = ATA_UDMA6, | 277 | .udma_mask = ATA_UDMA6, |
278 | .port_ops = &pdc_sata_ops, | 278 | .port_ops = &pdc_sata_ops, |
279 | }, | 279 | }, |