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/vsvar.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/vsvar.h')
-rw-r--r-- | sys/arch/mvme88k/dev/vsvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/vsvar.h b/sys/arch/mvme88k/dev/vsvar.h index 3cac7e42ce9..18a4659aa15 100644 --- a/sys/arch/mvme88k/dev/vsvar.h +++ b/sys/arch/mvme88k/dev/vsvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vsvar.h,v 1.16 2004/07/30 19:02:06 miod Exp $ */ +/* $OpenBSD: vsvar.h,v 1.17 2004/09/06 06:25:28 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * Copyright (c) 1999 Steve Murphree, Jr. @@ -130,7 +130,7 @@ struct vs_softc { #define THAW_REG mcsb_read(2, MCSB_THAW) #define THAW(x) \ do { \ - mcsb_write(1, MCSB_THAW, (x) << 8); \ + mcsb_write(1, MCSB_THAW, (x)); \ mcsb_write(1, MCSB_THAW + 1, M_THAW_TWQE); \ } while (0) |