summaryrefslogtreecommitdiff
path: root/sys/dev/mlx/mlx_disk.c
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-10-26 23:20:43 +0000
committerMike Smith <msmith@FreeBSD.org>1999-10-26 23:20:43 +0000
commit4b006d7bb7299b22a531f16ca93d5814ae78bb9e (patch)
treecb9f2eb5a3bb2752cf776b59701aa795278fc14c /sys/dev/mlx/mlx_disk.c
parentba2ace5164f73213319a3a36a3fed30bb19d237c (diff)
Notes
Diffstat (limited to 'sys/dev/mlx/mlx_disk.c')
-rw-r--r--sys/dev/mlx/mlx_disk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c
index 20d013609fc7..17991e32dfae 100644
--- a/sys/dev/mlx/mlx_disk.c
+++ b/sys/dev/mlx/mlx_disk.c
@@ -48,6 +48,7 @@
#include <dev/mlx/mlxio.h>
#include <dev/mlx/mlxvar.h>
+#include <dev/mlx/mlxreg.h>
#if 0
#define debug(fmt, args...) printf("%s: " fmt "\n", __FUNCTION__ , ##args)
@@ -174,7 +175,6 @@ static void
mlxd_strategy(struct buf *bp)
{
struct mlxd_softc *sc = (struct mlxd_softc *)bp->b_dev->si_drv1;
- int s;
debug("called");
@@ -194,10 +194,8 @@ mlxd_strategy(struct buf *bp)
if (bp->b_bcount == 0)
goto done;
- s = splbio();
devstat_start_transaction(&sc->mlxd_stats);
mlx_submit_buf(sc->mlxd_controller, bp);
- splx(s);
return;
bad: