summaryrefslogtreecommitdiffstats
path: root/sys/dev/aha/ahareg.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-11-09 19:51:16 +0000
committerimp <imp@FreeBSD.org>2003-11-09 19:51:16 +0000
commite060a36d77eab7ddc10328b6d86ccbd6f044648f (patch)
tree0652da449588358cfb53cc4e077d8eb8e69e0d98 /sys/dev/aha/ahareg.h
parent9189a12295dbbf9c9e8b80a6095bf5b7c3a24a8b (diff)
downloadFreeBSD-src-e060a36d77eab7ddc10328b6d86ccbd6f044648f.zip
FreeBSD-src-e060a36d77eab7ddc10328b6d86ccbd6f044648f.tar.gz
Let bus space manage softc.
Diffstat (limited to 'sys/dev/aha/ahareg.h')
-rw-r--r--sys/dev/aha/ahareg.h30
1 files changed, 13 insertions, 17 deletions
diff --git a/sys/dev/aha/ahareg.h b/sys/dev/aha/ahareg.h
index 180b14f..f9aa12e 100644
--- a/sys/dev/aha/ahareg.h
+++ b/sys/dev/aha/ahareg.h
@@ -398,23 +398,19 @@ struct aha_softc {
void **ih;
};
-extern struct aha_softc *aha_softcs[]; /* XXX Config should handle this */
-extern u_long aha_unit;
-
-#define AHA_TEMP_UNIT 0xFF /* Unit for probes */
-struct aha_softc* aha_alloc(int, bus_space_tag_t, bus_space_handle_t);
-int aha_attach(struct aha_softc *);
-int aha_cmd(struct aha_softc *, aha_op_t, uint8_t *,
- u_int, uint8_t *, u_int, u_int);
-int aha_detach(struct aha_softc *);
-int aha_fetch_adapter_info(struct aha_softc *);
-void aha_find_probe_range(int, int *, int *);
-void aha_free(struct aha_softc *);
-int aha_init(struct aha_softc *);
-void aha_intr(void *);
-int aha_iop_from_bio(isa_compat_io_t);
-char * aha_name(struct aha_softc *);
-int aha_probe(struct aha_softc *);
+void aha_alloc(struct aha_softc *, int, bus_space_tag_t, bus_space_handle_t);
+int aha_attach(struct aha_softc *);
+int aha_cmd(struct aha_softc *, aha_op_t, uint8_t *, u_int, uint8_t *, u_int,
+ u_int);
+int aha_detach(struct aha_softc *);
+int aha_fetch_adapter_info(struct aha_softc *);
+void aha_find_probe_range(int, int *, int *);
+void aha_free(struct aha_softc *);
+int aha_init(struct aha_softc *);
+void aha_intr(void *);
+int aha_iop_from_bio(isa_compat_io_t);
+char *aha_name(struct aha_softc *);
+int aha_probe(struct aha_softc *);
#define DEFAULT_CMD_TIMEOUT 10000 /* 1 sec */
OpenPOWER on IntegriCloud