summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/vinum/vinuminterrupt.c6
-rw-r--r--sys/dev/vinum/vinumio.c4
-rw-r--r--sys/dev/vinum/vinumrequest.c6
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/vinum/vinuminterrupt.c b/sys/dev/vinum/vinuminterrupt.c
index c55757e..e6d761d 100644
--- a/sys/dev/vinum/vinuminterrupt.c
+++ b/sys/dev/vinum/vinuminterrupt.c
@@ -39,7 +39,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinuminterrupt.c,v 1.12 1999/08/07 08:06:30 grog Exp $
+ * $Id: vinuminterrupt.c,v 1.13 1999/08/08 18:42:39 phk Exp $
*/
#include <dev/vinum/vinumhdr.h>
@@ -390,7 +390,7 @@ complete_raid5_write(struct rqelement *rqe)
if (debug & DEBUG_LASTREQS)
logrq(loginfo_raid5_data, (union rqinfou) rqe, bp);
#endif
- (*bdevsw(rqe->b.b_dev)->d_strategy) (&rqe->b);
+ (*devsw(rqe->b.b_dev)->d_strategy) (&rqe->b);
}
}
}
@@ -426,5 +426,5 @@ complete_raid5_write(struct rqelement *rqe)
if (debug & DEBUG_LASTREQS)
logrq(loginfo_raid5_parity, (union rqinfou) rqe, bp);
#endif
- (*bdevsw(rqe->b.b_dev)->d_strategy) (&rqe->b);
+ (*devsw(rqe->b.b_dev)->d_strategy) (&rqe->b);
}
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c
index 43eefe9..7a8885e 100644
--- a/sys/dev/vinum/vinumio.c
+++ b/sys/dev/vinum/vinumio.c
@@ -33,7 +33,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinumio.c,v 1.34 1999/08/08 14:11:03 bde Exp $
+ * $Id: vinumio.c,v 1.35 1999/08/08 18:42:40 phk Exp $
*/
#include <dev/vinum/vinumhdr.h>
@@ -276,7 +276,7 @@ driveio(struct drive *drive, char *buf, size_t length, off_t offset, int flag)
bp->b_bcount = len;
bp->b_bufsize = len;
- (*bdevsw(bp->b_dev)->d_strategy) (bp); /* initiate the transfer */
+ (*devsw(bp->b_dev)->d_strategy) (bp); /* initiate the transfer */
error = biowait(bp);
printf("driveio: %s dev %d.%d, block 0x%x, len 0x%lx, error %d\n", /* XXX */
diff --git a/sys/dev/vinum/vinumrequest.c b/sys/dev/vinum/vinumrequest.c
index cab4aa5..0f1fe6c 100644
--- a/sys/dev/vinum/vinumrequest.c
+++ b/sys/dev/vinum/vinumrequest.c
@@ -37,7 +37,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinumrequest.c,v 1.29 1999/08/07 08:13:23 grog Exp $
+ * $Id: vinumrequest.c,v 1.30 1999/08/08 18:42:41 phk Exp $
*/
#include <dev/vinum/vinumhdr.h>
@@ -399,7 +399,7 @@ launch_requests(struct request *rq, int reviveok)
logrq(loginfo_rqe, (union rqinfou) rqe, rq->bp);
#endif
/* fire off the request */
- (*bdevsw(rqe->b.b_dev)->d_strategy) (&rqe->b);
+ (*devsw(rqe->b.b_dev)->d_strategy) (&rqe->b);
}
}
}
@@ -947,7 +947,7 @@ sdio(struct buf *bp)
sbp->b.b_vp->v_numoutput);
#endif
s = splbio();
- (*bdevsw(sbp->b.b_dev)->d_strategy) (&sbp->b);
+ (*devsw(sbp->b.b_dev)->d_strategy) (&sbp->b);
splx(s);
}
OpenPOWER on IntegriCloud