summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahc_pci.c
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/dev/pci/ahc_pci.c
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/dev/pci/ahc_pci.c')
-rw-r--r--sys/dev/pci/ahc_pci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/ahc_pci.c b/sys/dev/pci/ahc_pci.c
index 8f6094a494f..e76c23e0c2f 100644
--- a/sys/dev/pci/ahc_pci.c
+++ b/sys/dev/pci/ahc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahc_pci.c,v 1.39 2003/08/12 10:27:10 fgsch Exp $ */
+/* $OpenBSD: ahc_pci.c,v 1.40 2003/08/15 23:01:01 fgsch Exp $ */
/* $NetBSD: ahc_pci.c,v 1.9 1996/10/21 22:56:24 thorpej Exp $ */
/*
@@ -948,7 +948,9 @@ check_extport(ahc, sxfrctl1)
int have_seeprom;
int have_autoterm;
- sd.sd_ahc = ahc;
+ sd.sd_tag = ahc->tag;
+ sd.sd_bsh = ahc->bsh;
+ sd.sd_regsize = 1;
sd.sd_control_offset = SEECTL;
sd.sd_status_offset = SEECTL;
sd.sd_dataout_offset = SEECTL;