summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_raid0.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2013-01-15 04:03:02 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2013-01-15 04:03:02 +0000
commit3a8d22d9f914960330224d92fd4d65fbb15267c7 (patch)
tree749f5756e5bf2ada226bd303dab5351abc3dbdef /sys/dev/softraid_raid0.c
parent283c26176d930594939423180229052e52c3ac67 (diff)
Keep a function pointer to the per-discipline I/O interrupt handler in the
discipline data structure. To be used with an upcoming diff.
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r--sys/dev/softraid_raid0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c
index 61f36c573dc..734dc2e4d68 100644
--- a/sys/dev/softraid_raid0.c
+++ b/sys/dev/softraid_raid0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid0.c,v 1.27 2012/10/08 14:22:41 jsing Exp $ */
+/* $OpenBSD: softraid_raid0.c,v 1.28 2013/01/15 04:03:01 jsing Exp $ */
/*
* Copyright (c) 2008 Marco Peereboom <marco@peereboom.us>
*
@@ -69,6 +69,7 @@ sr_raid0_discipline_init(struct sr_discipline *sd)
sd->sd_create = sr_raid0_create;
sd->sd_free_resources = sr_raid0_free_resources;
sd->sd_scsi_rw = sr_raid0_rw;
+ sd->sd_scsi_intr = sr_raid0_intr;
}
int