From 7bf06e6ec1c992821aa274ae7c05b3ad17fc259f Mon Sep 17 00:00:00 2001 From: mhitch Date: Sat, 30 Jul 2005 17:37:11 +0000 Subject: [PATCH] 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. --- sys/dev/ic/mlx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/mlx.c b/sys/dev/ic/mlx.c index 0cd20d75bf79..b6770bd82de5 100644 --- a/sys/dev/ic/mlx.c +++ b/sys/dev/ic/mlx.c @@ -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 -__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 @@ mlx_periodic_enquiry(struct mlx_ccb *mc) u_int lsn; mlx = (struct mlx_softc *)mc->mc_mx.mx_dv; + mlx_ccb_unmap(mlx, mc); /* * Command completed OK?