diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2011-10-11 14:05:49 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-10-14 13:01:42 -0400 |
commit | d0dd4a016bf29ebc5074ae99c3dd2019c582f4e5 (patch) | |
tree | a9fc807201437a3b11ad5de378d3a62d948f07a9 /drivers/ata | |
parent | 8e3bfdb95ad7440fa2c7eca5551b9169a5cdcf58 (diff) |
pata_sc1200: do not use c99 style comments
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_sc1200.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/ata/pata_sc1200.c b/drivers/ata/pata_sc1200.c index 542fb38384c..c0e603a84f7 100644 --- a/drivers/ata/pata_sc1200.c +++ b/drivers/ata/pata_sc1200.c | |||
@@ -86,10 +86,14 @@ static int sc1200_clock(void) | |||
86 | static void sc1200_set_piomode(struct ata_port *ap, struct ata_device *adev) | 86 | static void sc1200_set_piomode(struct ata_port *ap, struct ata_device *adev) |
87 | { | 87 | { |
88 | static const u32 pio_timings[4][5] = { | 88 | static const u32 pio_timings[4][5] = { |
89 | {0x00009172, 0x00012171, 0x00020080, 0x00032010, 0x00040010}, // format0 33Mhz | 89 | /* format0, 33Mhz */ |
90 | {0xd1329172, 0x71212171, 0x30200080, 0x20102010, 0x00100010}, // format1, 33Mhz | 90 | { 0x00009172, 0x00012171, 0x00020080, 0x00032010, 0x00040010 }, |
91 | {0xfaa3f4f3, 0xc23232b2, 0x513101c1, 0x31213121, 0x10211021}, // format1, 48Mhz | 91 | /* format1, 33Mhz */ |
92 | {0xfff4fff4, 0xf35353d3, 0x814102f1, 0x42314231, 0x11311131} // format1, 66Mhz | 92 | { 0xd1329172, 0x71212171, 0x30200080, 0x20102010, 0x00100010 }, |
93 | /* format1, 48Mhz */ | ||
94 | { 0xfaa3f4f3, 0xc23232b2, 0x513101c1, 0x31213121, 0x10211021 }, | ||
95 | /* format1, 66Mhz */ | ||
96 | { 0xfff4fff4, 0xf35353d3, 0x814102f1, 0x42314231, 0x11311131 } | ||
93 | }; | 97 | }; |
94 | 98 | ||
95 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); | 99 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); |