From 0f201020a966762713f1270123010d0f9914a19e Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 26 Sep 2012 14:17:14 +0000 Subject: Remove FreeBSD 4.x compat shims. Verified by md5. --- sys/dev/mlx/mlxvar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/mlx/mlxvar.h') 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); -- cgit v1.1