Check for BIOS version 3.0 as well as 3.1.
Submitted by: Coverity Prevent analysis tool
This commit is contained in:
parent
38cedb4414
commit
b21e62e35a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142160
@ -374,7 +374,7 @@ adw_init_chip(struct adw_softc *adw, u_int term_scsicfg1)
|
||||
major_ver = (biosmem[addr + 1] >> 4) & 0xF;
|
||||
if ((adw->chip == ADW_CHIP_ASC3550)
|
||||
&& (major_ver <= 3
|
||||
|| (major_ver == 3 && minor_ver == 1))) {
|
||||
|| (major_ver == 3 && minor_ver <= 1))) {
|
||||
/*
|
||||
* BIOS 3.1 and earlier location of
|
||||
* 'wdtr_able' variable.
|
||||
|
Loading…
Reference in New Issue
Block a user