summaryrefslogtreecommitdiffstats
path: root/sys/dev/dpt/dpt.h
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2000-04-07 02:50:24 +0000
committermdodd <mdodd@FreeBSD.org>2000-04-07 02:50:24 +0000
commitbcaa5ea35b04af42346a4c1fa1b72f54e9fddb4d (patch)
tree6019f1d49bcdc9db1a0a6c726971fe5f1c33466e /sys/dev/dpt/dpt.h
parente1128bd07d48d6e5290924e7436cee2c89c7bb06 (diff)
downloadFreeBSD-src-bcaa5ea35b04af42346a4c1fa1b72f54e9fddb4d.zip
FreeBSD-src-bcaa5ea35b04af42346a4c1fa1b72f54e9fddb4d.tar.gz
- Convert dpt_pci.c to newbus.
- Add support for ISA based DPT adapters (this doesn't quite work yet). - Sync dpt_eisa.c with my local copy. - Simplify how EISA IDs are matched. - Prototype. - Formatting nits. - Conform to how I do things in dpt_pci.c/dpt_isa.c. - Modify dpt_scsi.c:dpt_alloc() to DTRT with newbus. - Add some comments to dpt_scsi.c:dpt_pio_get_conf(). - Add additional check to dpt_scsi.c:dpt_get_conf(). - Add some useful error messages to dpt_scsi.c:dpt_init().
Diffstat (limited to 'sys/dev/dpt/dpt.h')
-rw-r--r--sys/dev/dpt/dpt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/dpt/dpt.h b/sys/dev/dpt/dpt.h
index f2d1c22..6d6230e 100644
--- a/sys/dev/dpt/dpt.h
+++ b/sys/dev/dpt/dpt.h
@@ -1270,8 +1270,9 @@ extern TAILQ_HEAD(dpt_softc_list, dpt_softc) dpt_softcs;
extern int dpt_controllers_present;
-struct dpt_softc* dpt_alloc(u_int unit, bus_space_tag_t tag,
- bus_space_handle_t bsh);
+#ifdef _KERNEL
+dpt_softc_t * dpt_alloc(device_t, bus_space_tag_t, bus_space_handle_t);
+#endif
void dpt_free(struct dpt_softc *dpt);
int dpt_init(struct dpt_softc *dpt);
int dpt_attach(dpt_softc_t * dpt);
OpenPOWER on IntegriCloud