Module Name:    src
Committed By:   thorpej
Date:           Tue Jul 12 02:12:26 UTC 2022

Modified Files:
        src/sys/dev/eisa: mlx_eisa.c

Log Message:
Remove unneeded bus_space_barrier() calls.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/eisa/mlx_eisa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/eisa/mlx_eisa.c
diff -u src/sys/dev/eisa/mlx_eisa.c:1.29 src/sys/dev/eisa/mlx_eisa.c:1.30
--- src/sys/dev/eisa/mlx_eisa.c:1.29	Sat Jul 24 19:06:25 2021
+++ src/sys/dev/eisa/mlx_eisa.c	Tue Jul 12 02:12:26 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: mlx_eisa.c,v 1.29 2021/07/24 19:06:25 thorpej Exp $	*/
+/*	$NetBSD: mlx_eisa.c,v 1.30 2022/07/12 02:12:26 thorpej Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mlx_eisa.c,v 1.29 2021/07/24 19:06:25 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mlx_eisa.c,v 1.30 2022/07/12 02:12:26 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -221,9 +221,6 @@ mlx_v1_submit(struct mlx_softc *mlx, str
 		/* Copy mailbox data to window. */
 		bus_space_write_region_1(mlx->mlx_iot, mlx->mlx_ioh,
 		    MLX_V1REG_MAILBOX, mc->mc_mbox, 13);
-		bus_space_barrier(mlx->mlx_iot, mlx->mlx_ioh,
-		    MLX_V1REG_MAILBOX, 13,
-		    BUS_SPACE_BARRIER_WRITE);
 
 		/* Post command. */
 		mlx_outb(mlx, MLX_V1REG_IDB, MLX_V1_IDB_FULL);

Reply via email to