Correct typo.
This commit is contained in:
parent
38b70454e3
commit
5c936ade5b
@ -229,7 +229,7 @@ cthw_chip_reset(bst, bsh, chipclk, hostid)
|
||||
|
||||
case 20:
|
||||
seltout = (seltout * chipclk) / 20;
|
||||
regv = IDR_FS_15_20;
|
||||
regv = IDR_FS_16_20;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -780,7 +780,7 @@ bs_setup_ctrl(ti, quirks, flags)
|
||||
period = BS_SCSI_PERIOD(flags);
|
||||
offset = (flags & BS_SCSI_SYNC) ? BS_SCSI_OFFSET(flags) : 0;
|
||||
|
||||
maxperiod = (bsc->sc_cspeed & IDR_FS_15_20) ? 100 : 50;
|
||||
maxperiod = (bsc->sc_cspeed & IDR_FS_16_20) ? 100 : 50;
|
||||
if (period > maxperiod)
|
||||
period = maxperiod;
|
||||
|
||||
|
@ -286,17 +286,17 @@ bshw_board_probe(bsc, drq, irq)
|
||||
break;
|
||||
|
||||
case 1:
|
||||
bsc->sc_cspeed &= ~(IDR_FS_12_15 | IDR_FS_15_20);
|
||||
bsc->sc_cspeed &= ~(IDR_FS_12_15 | IDR_FS_16_20);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
bsc->sc_cspeed &= ~(IDR_FS_12_15 | IDR_FS_15_20);
|
||||
bsc->sc_cspeed &= ~(IDR_FS_12_15 | IDR_FS_16_20);
|
||||
bsc->sc_cspeed |= IDR_FS_12_15;
|
||||
break;
|
||||
|
||||
case 3:
|
||||
bsc->sc_cspeed &= ~(IDR_FS_12_15 | IDR_FS_15_20);
|
||||
bsc->sc_cspeed |= IDR_FS_15_20;
|
||||
bsc->sc_cspeed &= ~(IDR_FS_12_15 | IDR_FS_16_20);
|
||||
bsc->sc_cspeed |= IDR_FS_16_20;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user