diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-03-06 22:31:24 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-03-06 22:31:24 +0000 |
commit | 1e7b5aa559ece45586cc7360ac3a7c84c61a13b9 (patch) | |
tree | 57cc26764e29829795791d417bd605b81387823e /sys/dev/ic/cacreg.h | |
parent | 0e2adb3170759081e98d14c803364105ba154cbc (diff) |
this is a fix for kernel panics and craches along w/ other stability
improvements worked out over past few months w/ different people.
the main bug was fixes w/ help of harding@motd.ca .
10x to all and enjoy the better driver (;
Diffstat (limited to 'sys/dev/ic/cacreg.h')
-rw-r--r-- | sys/dev/ic/cacreg.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/cacreg.h b/sys/dev/ic/cacreg.h index 6eb3f32940d..c18b8f99559 100644 --- a/sys/dev/ic/cacreg.h +++ b/sys/dev/ic/cacreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cacreg.h,v 1.2 2001/02/07 04:47:26 mickey Exp $ */ +/* $OpenBSD: cacreg.h,v 1.3 2003/03/06 22:31:21 mickey Exp $ */ /* $NetBSD: cacreg.h,v 1.5 2001/01/10 16:48:04 ad Exp $ */ /*- @@ -99,6 +99,9 @@ #define CAC_INTR_DISABLE 0x00 #define CAC_INTR_ENABLE 0x01 +/* Interrupt status masks */ +#define CAC_INTR_FIFO_NEMPTY 0x01 + /* Command types */ #define CAC_CMD_GET_LOG_DRV_INFO 0x10 #define CAC_CMD_GET_CTRL_INFO 0x11 @@ -120,6 +123,7 @@ /* Return status codes */ #define CAC_RET_SOFT_ERROR 0x02 #define CAC_RET_HARD_ERROR 0x04 +#define CAC_RET_CMD_INVALID 0x10 #define CAC_RET_CMD_REJECTED 0x14 struct cac_drive_info { |