summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2004-10-12 22:09:38 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2004-10-12 22:09:38 +0000
commit5f7f11e510579187b90c2f12f697337a040012cc (patch)
treed12a624b48553b14a3737db26f2446d92358a54f /sys/dev
parent7e9871d7f3f0c4faaf4fd7168da4f0fc8bf91649 (diff)
Don't use BIOS configuration data when no seeprom is available. Lets
SGI use more than 8 bit asynch transfers on built in ahc. Problem noted by pefo@. Fix found in NetBSD PR #23276 from Christopher Sekiya. ok pefo@.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/aic7xxx_seeprom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/aic7xxx_seeprom.c b/sys/dev/ic/aic7xxx_seeprom.c
index 8f33d8eef8e..7bfeeb6c567 100644
--- a/sys/dev/ic/aic7xxx_seeprom.c
+++ b/sys/dev/ic/aic7xxx_seeprom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic7xxx_seeprom.c,v 1.1 2003/12/24 22:45:45 krw Exp $ */
+/* $OpenBSD: aic7xxx_seeprom.c,v 1.2 2004/10/12 22:09:37 krw Exp $ */
/* $NetBSD: aic7xxx_seeprom.c,v 1.8 2003/05/02 19:12:19 dyoung Exp $ */
/*
@@ -47,7 +47,7 @@
* from the FreeBSD source file aic7xxx_pci.c by Frank van der Linden
* <fvdl@netbsd.org>
*
- * $Id: aic7xxx_seeprom.c,v 1.1 2003/12/24 22:45:45 krw Exp $
+ * $Id: aic7xxx_seeprom.c,v 1.2 2004/10/12 22:09:37 krw Exp $
*
* $FreeBSD: src/sys/dev/aic7xxx/aic7xxx_pci.c,v 1.22 2003/01/20 20:44:55 gibbs Exp $
*/
@@ -198,7 +198,7 @@ ahc_check_extport(struct ahc_softc *ahc, u_int *sxfrctl1)
if (!have_seeprom) {
if (bootverbose)
printf("%s: No SEEPROM available.\n", ahc_name(ahc));
- ahc->flags |= AHC_USEDEFAULTS;
+ ahc->flags |= AHC_USEDEFAULTS | AHC_NO_BIOS_INIT;
free(ahc->seep_config, M_DEVBUF);
ahc->seep_config = NULL;
sc = NULL;