aic7xxx: Missing parentheses in ahc_init()?
Subsystems (2)
This looks odd, are there maybe parentheses missing here?
Thanks, Roel
drivers/scsi/aic7xxx/aic7xxx_core.c +2 -2
@@ -5534,8 +5534,8 @@ ahc_init(struct ahc_softc *ahc)* so the format is different. */ scsirate = (scsirate &SXFR ) >>4 - | (ultraenb & mask) - ?0x08 :0x0 + | ((ultraenb & mask) + ?0x08 :0x0 ) | (scsirate &WIDEXFER ); offset =MAX_OFFSET_ULTRA2 ; }else
Quoted 9 lines · Roel Kluin
This looks odd, are there maybe parentheses missing here?
Thanks, Roel
drivers/scsi/aic7xxx/aic7xxx_core.c +0
-0
drivers/scsi/aic7xxx/aic7xxx_core.c ahc_init(struct ahc_softc *ahc) · line 5538
Quoted 7 lines
drivers/scsi/aic7xxx/aic7xxx_core.c +2
-2@@ -5534,8 +5534,8 @@ ahc_init(struct ahc_softc *ahc)* so the format is different. */ scsirate = (scsirate &SXFR ) >>4 - | (ultraenb & mask) - ?0x08 :0x0 + | ((ultraenb & mask) + ?0x08 :0x0 )
I really don't think so. The top 4 bits of the scsirate registers are supposed to be transfer features; it would make no sense to be transferring them to the bottom 4 bits and oring in an extra flag.
James