Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic The handler for the periodic ENQUIRY command was ...



details:   https://anonhg.NetBSD.org/src/rev/b5b4f92d75d4
branches:  trunk
changeset: 583332:b5b4f92d75d4
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Sat Jul 30 17:37:11 2005 +0000

description:
The handler for the periodic ENQUIRY command was not unmapping the ccb
data buffer, which left stale flags which caused Alpha ES40 crashes.  Add
the mlx_ccb_unmap() call and the ES40 now runs with > 1GB memory.

diffstat:

 sys/dev/ic/mlx.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1dccdd0e0afb -r b5b4f92d75d4 sys/dev/ic/mlx.c
--- a/sys/dev/ic/mlx.c  Sat Jul 30 17:25:51 2005 +0000
+++ b/sys/dev/ic/mlx.c  Sat Jul 30 17:37:11 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mlx.c,v 1.33 2005/05/30 04:43:47 christos Exp $        */
+/*     $NetBSD: mlx.c,v 1.34 2005/07/30 17:37:11 mhitch Exp $  */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.33 2005/05/30 04:43:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.34 2005/07/30 17:37:11 mhitch Exp $");
 
 #include "ld.h"
 
@@ -1121,6 +1121,7 @@
        u_int lsn;
 
        mlx = (struct mlx_softc *)mc->mc_mx.mx_dv;
+       mlx_ccb_unmap(mlx, mc);
 
        /*
         * Command completed OK?



Home | Main Index | Thread Index | Old Index