summaryrefslogtreecommitdiffstats
path: root/sys/dev/sym
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-08-07 23:41:17 +0000
committermarius <marius@FreeBSD.org>2008-08-07 23:41:17 +0000
commit6892f8d32c1a729a276e4541ad7e4fe262d983ec (patch)
tree851316b730ab4db51931c450ca63fe4e0799dd68 /sys/dev/sym
parentd335d6871aeb19ec02d0484ca3608820b06af7ab (diff)
downloadFreeBSD-src-6892f8d32c1a729a276e4541ad7e4fe262d983ec.zip
FreeBSD-src-6892f8d32c1a729a276e4541ad7e4fe262d983ec.tar.gz
Allow 53C1010 without NVRAM to negotiate Ultra-3.
MFC after: 3 days
Diffstat (limited to 'sys/dev/sym')
-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 b6c0259..aa217c9 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);
OpenPOWER on IntegriCloud