Correct typo.

This commit is contained in:
nyan 2001-06-14 11:09:11 +00:00
parent 0dd4f4705f
commit e179724269
3 changed files with 6 additions and 6 deletions

View File

@ -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:

View File

@ -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;

View File

@ -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;
}