summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid0.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2013-01-15 04:03:01 +0000
committerjsing <jsing@openbsd.org>2013-01-15 04:03:01 +0000
commit148cc3e1b5a46af03b9dc230c5ffce2788885ffc (patch)
tree7ab46eda56edac181ab95314472a82e3ae89df49 /sys/dev/softraid_raid0.c
parentdont use amd64 is currently broken cos it has no (diff)
downloadwireguard-openbsd-148cc3e1b5a46af03b9dc230c5ffce2788885ffc.tar.xz
wireguard-openbsd-148cc3e1b5a46af03b9dc230c5ffce2788885ffc.zip
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