artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3d44f5
)
4/100: let the scsi controller number be N. if N=0, we are on swN, else
author
deraadt
<deraadt@openbsd.org>
Sat, 18 Nov 1995 01:05:45 +0000
(
01:05
+0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 18 Nov 1995 01:05:45 +0000
(
01:05
+0000)
we are on siN-1
sys/arch/sparc/sparc/autoconf.c
patch
|
blob
|
history
diff --git
a/sys/arch/sparc/sparc/autoconf.c
b/sys/arch/sparc/sparc/autoconf.c
index
a26f122
..
b66f5e0
100644
(file)
--- a/
sys/arch/sparc/sparc/autoconf.c
+++ b/
sys/arch/sparc/sparc/autoconf.c
@@
-479,8
+479,13
@@
bootpath_fake(bp, cp)
BP_APPEND(bp,tmpname,v0val[1],v0val[2]);
return;
case SUN4_100:
- BP_APPEND(bp,"obio",-1,0);
- BP_APPEND(bp,"sw",-1,v0val[0]);
+ if (v0val[0] == 0) {
+ BP_APPEND(bp,"obio",-1,0);
+ BP_APPEND(bp,"sw",-1,v0val[0]);
+ } else {
+ BP_APPEND(bp,"obio",-1,0);
+ BP_APPEND(bp,"si",-1,v0val[0]-1);
+ }
sprintf(tmpname,"%c%c", cp[0], cp[1]);
BP_APPEND(bp,tmpname,v0val[1],v0val[2]);
return;