Reviewed by:

Added code to check for an adaptec 1542B Version 3.20 Board. This was the
first board that supports >1Gb drives and has the extended bios. So we
need also to disable the exbios like it is done for the 1542C/CF boards.
This commit is contained in:
Andreas Schulz 1994-08-14 21:06:00 +00:00
parent 769e29bd21
commit 5e687d014e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2070

View File

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: aha1542.c,v 1.27 1994/05/25 08:57:57 rgrimes Exp $
* $Id: aha1542.c,v 1.28 1994/08/13 03:49:52 wollman Exp $
*/
/*
@ -912,11 +912,14 @@ aha_init(unit)
/*
* If we are a 1542C or 1542CF disable the extended bios so that the
* mailbox interface is unlocked.
* This is also true for the 1542B Version 3.20. First Adaptec
* board that supports >1Gb drives.
* No need to check the extended bios flags as some of the
* extensions that cause us problems are not flagged in that byte.
*/
if ((inquire.boardid == 0x43) || (inquire.boardid == 0x44) ||
(inquire.boardid == 0x45)) {
(inquire.boardid == 0x45) || (inquire.boardid == 0x41
&& inquire.revision_1 == 0x31 && inquire.revision_2 == 0x34)) {
aha_cmd(unit, 0, sizeof(extbios), 0, &extbios, AHA_EXT_BIOS);
#ifdef AHADEBUG
printf("aha%d: extended bios flags %x\n", unit, extbios.flags);