Skip to content

Commit

Permalink
[libata] sata_promise: fix flags typo
Browse files Browse the repository at this point in the history
A stray comma makes all the difference.  Change to '|' as these flags
should be or'd together.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed May 25, 2007
1 parent 1c1ee4c commit bb31223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/sata_promise.c
Expand Up @@ -297,7 +297,7 @@ static const struct ata_port_info pdc_port_info[] = {

/* board_2057x_pata */
{
.flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS,
.flags = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS |
PDC_FLAG_GEN_II,
.pio_mask = 0x1f, /* pio0-4 */
.mwdma_mask = 0x07, /* mwdma0-2 */
Expand Down

0 comments on commit bb31223

Please sign in to comment.