diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-02 23:48:02 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-02 23:48:02 +0000 |
commit | 17c5f7bed5947b94da31e6d1be99c7f6550a0584 (patch) | |
tree | 4db0c0d8e2cddc300014fd3816859c1ede6aca07 /sys/arch | |
parent | c7eb0ead49eb0c718ea8b4d8db8cefc7a9646fc2 (diff) |
Mention that, on most 187 and 197, if the SCSI controller is not the boot
device and no boot from it has been attempted at the prom, it will not
get detected.
Unfortunately, right now I don't know how to ``warm'' the chip.
This also will need to be documented in the insallation notes at some point...
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme88k/dev/ssh.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/dev/ssh.c b/sys/arch/mvme88k/dev/ssh.c index 3ae79532dd7..d9b6bc732b5 100644 --- a/sys/arch/mvme88k/dev/ssh.c +++ b/sys/arch/mvme88k/dev/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.20 2003/12/26 10:41:43 miod Exp $ */ +/* $OpenBSD: ssh.c,v 1.21 2004/01/02 23:48:01 miod Exp $ */ /* * Copyright (c) 1994 Michael L. Hitch @@ -209,11 +209,19 @@ sshmatch(pdp, vcf, args) { struct confargs *ca = args; - if (badvaddr((vaddr_t)IIOV(ca->ca_vaddr), 4)) { - return(0); + if (badvaddr((vaddr_t)IIOV(ca->ca_vaddr), 4) == 0) + return (1); + + /* + * For some reason, if the SCSI hardware is not ``warmed'' by the + * BUG (netboot or boot from external SCSI controller), badvaddr() + * will always fail, although the hardware is there. + */ + if (brdtyp == BRD_187 || brdtyp == BRD_197) { + /* do something to enable the controller??? */ } - return (1); + return (0); } void |