aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sym/sym_hipd.c
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2008-08-07 23:41:17 +0000
committerMarius Strobl <marius@FreeBSD.org>2008-08-07 23:41:17 +0000
commita91a964c748fb1c18e4e553b28fbec0c7ee371a6 (patch)
tree851316b730ab4db51931c450ca63fe4e0799dd68 /sys/dev/sym/sym_hipd.c
parent0b1bfc498637c0b38c3bce631a6989d45b03d581 (diff)
downloadsrc-a91a964c748fb1c18e4e553b28fbec0c7ee371a6.tar.gz
src-a91a964c748fb1c18e4e553b28fbec0c7ee371a6.zip
Allow 53C1010 without NVRAM to negotiate Ultra-3.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=181399
Diffstat (limited to 'sys/dev/sym/sym_hipd.c')
-rw-r--r--sys/dev/sym/sym_hipd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index b6c0259e7052..aa217c9db93d 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -2762,6 +2762,8 @@ static int sym_prepare_setting(hcb_p np, struct sym_nvram *nvram)
tp->tinfo.user.scsi_version = tp->tinfo.current.scsi_version= 2;
tp->tinfo.user.spi_version = tp->tinfo.current.spi_version = 2;
tp->tinfo.user.period = np->minsync;
+ if (np->features & FE_ULTRA3)
+ tp->tinfo.user.period = np->minsync_dt;
tp->tinfo.user.offset = np->maxoffs;
tp->tinfo.user.width = np->maxwide ? BUS_16_BIT : BUS_8_BIT;
tp->usrflags |= (SYM_DISC_ENABLED | SYM_TAGS_ENABLED);