summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/autoconf.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-12-02 04:03:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-12-02 04:03:58 +0000
commitb17dca5fceeea5f6048ea31b4d0de75dfd0ff788 (patch)
tree1f3b84c120f7c0ed302d272a59d91deb186b470a /sys/arch/hppa/include/autoconf.h
parentabb73bdcd085a93a9cbf447d16d832bad8827925 (diff)
allow to configure devices on particular bus offsets
to be able to attach units to them. main reason is the secondary gsc busses on add-on cards which stick 'emselves in the front.
Diffstat (limited to 'sys/arch/hppa/include/autoconf.h')
-rw-r--r--sys/arch/hppa/include/autoconf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/autoconf.h b/sys/arch/hppa/include/autoconf.h
index 61a1989e168..392aa5788fa 100644
--- a/sys/arch/hppa/include/autoconf.h
+++ b/sys/arch/hppa/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.10 2001/05/05 22:33:42 art Exp $ */
+/* $OpenBSD: autoconf.h,v 1.11 2001/12/02 04:03:57 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -39,12 +39,14 @@ struct confargs {
int ca_mod; /* module number on the bus */
struct iodc_data ca_type; /* iodc-specific type descrition */
hppa_hpa_t ca_hpa; /* module HPA */
+ hppa_hpa_t ca_hpamask; /* mask for modules on the bus */
bus_dma_tag_t ca_dmatag; /* DMA tag */
int ca_irq; /* module IRQ */
struct pdc_iodc_read *ca_pdc_iodc_read;
};
-#define hppacf_irq cf_loc[0]
+#define hppacf_off cf_loc[0]
+#define hppacf_irq cf_loc[1]
/* this is used for hppa_knownmodules table
* describing known to this port modules,