summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_promise.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-05-24 23:35:59 -0400
committerJeff Garzik <jeff@garzik.org>2007-05-24 23:35:59 -0400
commitbb312235933689fb0f973ae61d19d7416de1e085 (patch)
treee111b6b2ee434e5a5a4c780941a3db9f3593046c /drivers/ata/sata_promise.c
parent1c1ee4c3e7e16d23166a624a132889df3c540a18 (diff)
downloadop-kernel-dev-bb312235933689fb0f973ae61d19d7416de1e085.zip
op-kernel-dev-bb312235933689fb0f973ae61d19d7416de1e085.tar.gz
[libata] sata_promise: fix flags typo
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>
Diffstat (limited to 'drivers/ata/sata_promise.c')
-rw-r--r--drivers/ata/sata_promise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c
index 3a7d9b5..2b924a6 100644
--- a/drivers/ata/sata_promise.c
+++ b/drivers/ata/sata_promise.c
@@ -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 */
OpenPOWER on IntegriCloud