diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-10-05 15:55:05 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-23 15:10:55 -0400 |
commit | bd678450bfbd4bb6543a7138d9ee3418c2a11e7c (patch) | |
tree | 75919bae5d5e4236166e68dda55ab3624bb05041 /drivers/scsi/sym53c8xx_2/sym_fw.c | |
parent | d68cd75992f95d6977956fb227f02e6d532f3d26 (diff) |
[SCSI] sym53c8xx: Use pdev->revision
Auke missed the sym2 driver in his initial sweep.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_fw.c')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_fw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_fw.c b/drivers/scsi/sym53c8xx_2/sym_fw.c index 9916a2a2255..2be0ae17e06 100644 --- a/drivers/scsi/sym53c8xx_2/sym_fw.c +++ b/drivers/scsi/sym53c8xx_2/sym_fw.c | |||
@@ -206,13 +206,13 @@ sym_fw2_patch(struct sym_hcb *np) | |||
206 | * they are not desirable. See `sym_fw2.h' for more details. | 206 | * they are not desirable. See `sym_fw2.h' for more details. |
207 | */ | 207 | */ |
208 | if (!(np->device_id == PCI_DEVICE_ID_LSI_53C1010_66 && | 208 | if (!(np->device_id == PCI_DEVICE_ID_LSI_53C1010_66 && |
209 | np->revision_id < 0x1 && | 209 | np->s.device->revision < 0x1 && |
210 | np->pciclk_khz < 60000)) { | 210 | np->pciclk_khz < 60000)) { |
211 | scripta0->datao_phase[0] = cpu_to_scr(SCR_NO_OP); | 211 | scripta0->datao_phase[0] = cpu_to_scr(SCR_NO_OP); |
212 | scripta0->datao_phase[1] = cpu_to_scr(0); | 212 | scripta0->datao_phase[1] = cpu_to_scr(0); |
213 | } | 213 | } |
214 | if (!(np->device_id == PCI_DEVICE_ID_LSI_53C1010_33 && | 214 | if (!(np->device_id == PCI_DEVICE_ID_LSI_53C1010_33 /* && |
215 | /* np->revision_id < 0xff */ 1)) { | 215 | np->s.device->revision < 0xff */)) { |
216 | scripta0->sel_done[0] = cpu_to_scr(SCR_NO_OP); | 216 | scripta0->sel_done[0] = cpu_to_scr(SCR_NO_OP); |
217 | scripta0->sel_done[1] = cpu_to_scr(0); | 217 | scripta0->sel_done[1] = cpu_to_scr(0); |
218 | } | 218 | } |