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.
This commit is contained in:
parent
2e8c0b59d2
commit
7bf06e6ec1
@ -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 @@ 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?
|
||||
|
Loading…
Reference in New Issue
Block a user