summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlxvar.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-09-26 14:17:14 +0000
committerjhb <jhb@FreeBSD.org>2012-09-26 14:17:14 +0000
commit0f201020a966762713f1270123010d0f9914a19e (patch)
treeea88c9af16e6a884041165d247f6895d37d5214d /sys/dev/mlx/mlxvar.h
parent05997f4f4428797447c8d46dbbf17f2bf9b47cce (diff)
downloadFreeBSD-src-0f201020a966762713f1270123010d0f9914a19e.zip
FreeBSD-src-0f201020a966762713f1270123010d0f9914a19e.tar.gz
Remove FreeBSD 4.x compat shims. Verified by md5.
Diffstat (limited to 'sys/dev/mlx/mlxvar.h')
-rw-r--r--sys/dev/mlx/mlxvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mlx/mlxvar.h b/sys/dev/mlx/mlxvar.h
index 6a7147b..c087b90 100644
--- a/sys/dev/mlx/mlxvar.h
+++ b/sys/dev/mlx/mlxvar.h
@@ -135,7 +135,7 @@ struct mlx_softc
struct mlx_command *mlx_busycmd[MLX_NSLOTS]; /* busy commands */
int mlx_busycmds; /* count of busy commands */
struct mlx_sysdrive mlx_sysdrive[MLX_MAXDRIVES]; /* system drives */
- mlx_bioq mlx_bioq; /* outstanding I/O operations */
+ struct bio_queue_head mlx_bioq; /* outstanding I/O operations */
int mlx_waitbufs; /* number of bufs awaiting commands */
/* controller status */
@@ -221,10 +221,10 @@ struct mlxd_softc
/*
* Interface between driver core and disk driver (should be using a bus?)
*/
-extern int mlx_submit_buf(struct mlx_softc *sc, mlx_bio *bp);
+extern int mlx_submit_buf(struct mlx_softc *sc, struct bio *bp);
extern int mlx_submit_ioctl(struct mlx_softc *sc,
struct mlx_sysdrive *drive, u_long cmd,
caddr_t addr, int32_t flag, struct thread *td);
-extern void mlxd_intr(void *data);
+extern void mlxd_intr(struct bio *bp);
OpenPOWER on IntegriCloud