summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-09-22 00:33:42 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-09-22 00:33:42 +0000
commitb4ea7bd984c9980a330d3349443cf2b0b38607c7 (patch)
tree783008c927807444c221ce9cbb8e810e55fef493 /sys/scsi/scsiconf.h
parente179f1096195bb76ee73ef371e695dfcf698be3b (diff)
implement a kernel thread that can be used by the midlayer or scsi drivers
when they need a process context to do something. the most obvious task that springs to mind is attaches and detaches of devices on scsibus. ok krw@ marco@ deraadt@
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r--sys/scsi/scsiconf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 823eb9fda25..de5c5125f27 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.72 2006/07/29 02:40:45 krw Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.73 2006/09/22 00:33:41 dlg Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -308,6 +308,8 @@ const void *scsi_inqmatch(struct scsi_inquiry_data *, const void *, int,
int, int *);
void scsi_init(void);
+void scsi_deinit(void);
+int scsi_task(void (*func)(void *, void *), void *, void *, int);
struct scsi_xfer *
scsi_get_xs(struct scsi_link *, int);
void scsi_free_xs(struct scsi_xfer *);