summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-08-15 23:01:02 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-08-15 23:01:02 +0000
commita532b274cecd7b60bcb65ab26e1b31bd3b0d1b04 (patch)
tree78876456e86db69e1dc2dc2d7ac28e6778ef4ce0 /sys/arch/i386/isa
parent57134a8bf6cb70f659cd9d8e29045ef33f5a55fb (diff)
- remove ahc dependency, convert smc93cx6 into an attribute.
- support for 8 and 32 bit registers. from NetBSD. deraadt@ and krw@ testing and ok.
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/ahc_isa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/ahc_isa.c b/sys/arch/i386/isa/ahc_isa.c
index a3f431c3140..c4fb4454299 100644
--- a/sys/arch/i386/isa/ahc_isa.c
+++ b/sys/arch/i386/isa/ahc_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahc_isa.c,v 1.10 2002/06/28 00:34:54 smurph Exp $ */
+/* $OpenBSD: ahc_isa.c,v 1.11 2003/08/15 23:01:00 fgsch Exp $ */
/* $NetBSD: ahc_isa.c,v 1.5 1996/10/21 22:27:39 thorpej Exp $ */
/*
@@ -516,6 +516,9 @@ aha2840_load_seeprom(struct ahc_softc *ahc)
u_int8_t scsi_conf;
int have_seeprom;
+ sd.sd_tag = ahc->tag;
+ sd.sd_bsh = ahc->bsh;
+ sd.sd_regsize = 1;
sd.sd_control_offset = SEECTL_2840;
sd.sd_status_offset = STATUS_2840;
sd.sd_dataout_offset = STATUS_2840;