summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/aha1542.c
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1994-08-14 21:06:00 +0000
committerats <ats@FreeBSD.org>1994-08-14 21:06:00 +0000
commit1f2a4857544f69d88c57b47ff08fdc0661af3ffc (patch)
tree78ee8fba348fc18998623770ff3490be84dbfd27 /sys/i386/isa/aha1542.c
parentf8deeb9e22f4cb3267973bd88950928b5945df88 (diff)
downloadFreeBSD-src-1f2a4857544f69d88c57b47ff08fdc0661af3ffc.zip
FreeBSD-src-1f2a4857544f69d88c57b47ff08fdc0661af3ffc.tar.gz
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.
Diffstat (limited to 'sys/i386/isa/aha1542.c')
-rw-r--r--sys/i386/isa/aha1542.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/i386/isa/aha1542.c b/sys/i386/isa/aha1542.c
index 786ae41..9301518 100644
--- a/sys/i386/isa/aha1542.c
+++ b/sys/i386/isa/aha1542.c
@@ -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);
OpenPOWER on IntegriCloud