diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-09-06 06:25:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-09-06 06:25:29 +0000 |
commit | e25eb6048c5c5ab1481e24c5595905b483564bcc (patch) | |
tree | 5a3c601eee6f4d71f87c6b3af1c9962682dda6e0 /sys/arch/mvme88k/dev/vsreg.h | |
parent | 68a72e1690ba2cd8ba8b785a70c770b3bd7ad9c0 (diff) |
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@.
Diffstat (limited to 'sys/arch/mvme88k/dev/vsreg.h')
-rw-r--r-- | sys/arch/mvme88k/dev/vsreg.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |