aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
commit89c9c53da05197f657dfe8e0bdda6941a2e9a0d4 (patch)
tree624c885995e84df6decddd3291c60a15e50e3c85 /sys/sys/bio.h
parentd420fcda27350a7e2d3d8f3b2c9de6aa74df2e30 (diff)
downloadsrc-89c9c53da05197f657dfe8e0bdda6941a2e9a0d4.tar.gz
src-89c9c53da05197f657dfe8e0bdda6941a2e9a0d4.zip
Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.
Notes
Notes: svn path=/head/; revision=130585
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 12a9c0e59ccb..be9b20e02053 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -50,7 +50,7 @@ typedef void bio_task_t(void *);
*/
struct bio {
u_int bio_cmd; /* I/O operation. */
- dev_t bio_dev; /* Device to do I/O on. */
+ struct cdev *bio_dev; /* Device to do I/O on. */
struct disk *bio_disk; /* Valid below geom_disk.c only */
off_t bio_offset; /* Offset into file. */
long bio_bcount; /* Valid bytes in buffer. */
@@ -120,7 +120,7 @@ void bioq_remove(struct bio_queue_head *head, struct bio *bp);
void bio_taskqueue(struct bio *bp, bio_task_t *fund, void *arg);
-int physio(dev_t dev, struct uio *uio, int ioflag);
+int physio(struct cdev *dev, struct uio *uio, int ioflag);
#define physread physio
#define physwrite physio