summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbriggs <briggs@openbsd.org>1996-11-04 18:51:54 +0000
committerbriggs <briggs@openbsd.org>1996-11-04 18:51:54 +0000
commitb5ad495230a00646354440eace230fbfa52ad7c1 (patch)
tree4c196da8f09015a970a22da8e0cdd2b940fa5d59
parentRemove dead code as pointed out by bitblt. Also nuke the gross #defines, (diff)
downloadwireguard-openbsd-b5ad495230a00646354440eace230fbfa52ad7c1.tar.xz
wireguard-openbsd-b5ad495230a00646354440eace230fbfa52ad7c1.zip
Q900, etc. have 2nd scsi adapter at offset of 0x402, not 0x400 from the 1st.
-rw-r--r--sys/arch/mac68k/dev/esp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/esp.c b/sys/arch/mac68k/dev/esp.c
index ae720bfc068..f9140603b39 100644
--- a/sys/arch/mac68k/dev/esp.c
+++ b/sys/arch/mac68k/dev/esp.c
@@ -353,7 +353,7 @@ espattach(parent, self, aux)
sc->sc_freq = 25000000;
}
} else {
- sc->sc_reg = (volatile u_char *) SCSIBase + 0x400;
+ sc->sc_reg = (volatile u_char *) SCSIBase + 0x402;
mac68k_register_scsi_b_irq((void (*)(void *)) espintr, sc);
sc->irq_mask = V2IF_SCSIDRQ; /* V2IF_T1? */
sc->sc_freq = 25000000;