diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-03-29 01:08:16 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-03-29 01:08:16 +0000 |
commit | 4f047ee812276918955edfbec20d5db2637a3182 (patch) | |
tree | 55bde24fbdd1d9e7c5a3cfb21b8fc4d29d07bed9 /sys/arch/hppa/include | |
parent | 194dd36c17abe0e5cc82286a1f0c26782db23d33 (diff) |
fetch the device address list for where supported; say 16 addresses is ought to be enough for every case. dim off the disk led amongst the other lights
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r-- | sys/arch/hppa/include/autoconf.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/autoconf.h b/sys/arch/hppa/include/autoconf.h index 9e6322c19bc..6a7e7bc32ce 100644 --- a/sys/arch/hppa/include/autoconf.h +++ b/sys/arch/hppa/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.17 2002/12/18 23:52:45 mickey Exp $ */ +/* $OpenBSD: autoconf.h,v 1.18 2003/03/29 01:08:15 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -36,13 +36,20 @@ struct confargs { const char *ca_name; /* device name/description */ bus_space_tag_t ca_iot; /* io tag */ + bus_dma_tag_t ca_dmatag; /* DMA tag */ struct device_path ca_dp; /* device_path as found by pdc_scan */ - struct iodc_data ca_type; /* iodc-specific type descrition */ hppa_hpa_t ca_hpa; /* module HPA */ + u_int ca_hpasz; /* module HPA size (if avail) */ 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 iodc_data ca_type; /* iodc-specific type descrition */ struct pdc_iodc_read *ca_pdc_iodc_read; + int ca_naddrs; /* number of valid addr ents */ + struct { + hppa_hpa_t addr; + u_int size; + } ca_addrs[16]; /* 16 is ought to be enough */ + }; #define hppacf_off cf_loc[0] |