From e25eb6048c5c5ab1481e24c5595905b483564bcc Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 6 Sep 2004 06:25:29 +0000 Subject: Jumbo pack of fixes: - do not leak memory when polling; - bring LUN support back - Motorola documentation says LUNs are not supported, but it's a SysV/m88k limitation, not a hardware one. - honour request timeout while polling (instead of using a fixed value) - do not program the scsi command length if the hardware knows it from the scsi command group (as advised in the manual) - various minor fixes, especially better error recovery. tested by nick@ and I; ok deraadt@. --- sys/arch/mvme88k/dev/vsreg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/mvme88k/dev/vsreg.h') diff --git a/sys/arch/mvme88k/dev/vsreg.h b/sys/arch/mvme88k/dev/vsreg.h index b5a5664882a..96f2f4e69cc 100644 --- a/sys/arch/mvme88k/dev/vsreg.h +++ b/sys/arch/mvme88k/dev/vsreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vsreg.h,v 1.12 2004/07/20 20:32:02 miod Exp $ */ +/* $OpenBSD: vsreg.h,v 1.13 2004/09/06 06:25:28 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * Copyright (c) 1999 Steve Murphree, Jr. @@ -40,8 +40,8 @@ */ #define JAGUAR_MIN_Q_SIZ 2 -#define JAGUAR_MAX_Q_SIZ 2 #define JAGUAR_MAX_CTLR_CMDS 80 /* Interphase says so */ +#define JAGUAR_MAX_Q_SIZ (JAGUAR_MAX_CTLR_CMDS / NUM_WQ) /* * COUGAR specific device limits -- cgit v1.2.3