summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-11-25 23:05:18 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-11-25 23:05:18 +0000
commita4da895d5e3f5a0e64c2271f9729508beb443b0e (patch)
treed90a354d969514c81141d22e9ad2d9be38a38fb7 /sys/dev/softraidvar.h
parent798c8bc91f292bdf214bd165571fc5282871ea74 (diff)
Add generic sr_scsi_done function that does the spl dance
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index 827a75a6fc1..473afd6041b 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.64 2008/11/23 23:44:01 tedu Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.65 2008/11/25 23:05:17 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -466,6 +466,8 @@ void sr_meta_save_callback(void *, void *);
int sr_validate_io(struct sr_workunit *, daddr64_t *,
char *);
int sr_check_io_collision(struct sr_workunit *);
+void sr_scsi_done(struct sr_discipline *,
+ struct scsi_xfer *);
/* discipline functions */
int sr_raid_inquiry(struct sr_workunit *);