summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2001-06-14 11:09:11 +0000
committernyan <nyan@FreeBSD.org>2001-06-14 11:09:11 +0000
commitd3f395e0dd1176edcfb9b077f3e9589568480028 (patch)
tree2e9b56dce1cc06fbb6d1bd7711dd3c4b951c1dc4
parent182f190f2340ffb7541aa50d275c3438e6a935bd (diff)
downloadFreeBSD-src-d3f395e0dd1176edcfb9b077f3e9589568480028.zip
FreeBSD-src-d3f395e0dd1176edcfb9b077f3e9589568480028.tar.gz
Correct typo.
-rw-r--r--sys/dev/ct/ct.c2
-rw-r--r--sys/i386/isa/bs/bsfunc.c2
-rw-r--r--sys/i386/isa/bs/bshw.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ct/ct.c b/sys/dev/ct/ct.c
index 71d62f5..f2fe883a 100644
--- a/sys/dev/ct/ct.c
+++ b/sys/dev/ct/ct.c
@@ -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:
diff --git a/sys/i386/isa/bs/bsfunc.c b/sys/i386/isa/bs/bsfunc.c
index c0e5540..b23a241 100644
--- a/sys/i386/isa/bs/bsfunc.c
+++ b/sys/i386/isa/bs/bsfunc.c
@@ -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;
diff --git a/sys/i386/isa/bs/bshw.c b/sys/i386/isa/bs/bshw.c
index fd79260..f60b229 100644
--- a/sys/i386/isa/bs/bshw.c
+++ b/sys/i386/isa/bs/bshw.c
@@ -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;
}
OpenPOWER on IntegriCloud