Allow 53C1010 without NVRAM to negotiate Ultra-3.

MFC after:	3 days
This commit is contained in:
Marius Strobl 2008-08-07 23:41:17 +00:00
parent 0b1bfc4986
commit a91a964c74
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181399

View File

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