diff options
author | Marius Strobl <marius@FreeBSD.org> | 2008-08-07 23:41:17 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2008-08-07 23:41:17 +0000 |
commit | a91a964c748fb1c18e4e553b28fbec0c7ee371a6 (patch) | |
tree | 851316b730ab4db51931c450ca63fe4e0799dd68 | |
parent | 0b1bfc498637c0b38c3bce631a6989d45b03d581 (diff) | |
download | src-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
-rw-r--r-- | sys/dev/sym/sym_hipd.c | 2 |
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); |