diff options
author | msmith <msmith@FreeBSD.org> | 2001-05-07 21:46:44 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-05-07 21:46:44 +0000 |
commit | 070fb85396f929304a380050efc2e70fcf370daa (patch) | |
tree | f62ad0a81f7b2b28b649424c01829daec70317bf /sys/dev/twe/twe_compat.h | |
parent | b47830be3e58e44dd6ae03b8dc4c9c034f7a2074 (diff) | |
download | FreeBSD-src-070fb85396f929304a380050efc2e70fcf370daa.zip FreeBSD-src-070fb85396f929304a380050efc2e70fcf370daa.tar.gz |
Minor updates:
- Rework of twe_report_request to use the command status value rather
than the flags register. (Joel Jacobson @ 3ware)
- Update to match some changes in -current vs. stable.
MFC in: 1 week
Diffstat (limited to 'sys/dev/twe/twe_compat.h')
-rw-r--r-- | sys/dev/twe/twe_compat.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/twe/twe_compat.h b/sys/dev/twe/twe_compat.h index c2f75e1..ed82631 100644 --- a/sys/dev/twe/twe_compat.h +++ b/sys/dev/twe/twe_compat.h @@ -130,8 +130,11 @@ #define twe_printf(sc, fmt, args...) device_printf(sc->twe_dev, fmt , ##args) #define twed_printf(twed, fmt, args...) device_printf(twed->twed_dev, fmt , ##args) -#if __FreeBSD_version < 500003 /* old buf style */ -# include <sys/buf.h> +#if __FreeBSD_version < 500003 +# include <machine/clock.h> +# define INTR_ENTROPY 0 + +# include <sys/buf.h> /* old buf style */ typedef struct buf twe_bio; typedef struct buf_queue_head twe_bioq; # define TWE_BIO_QINIT(bq) bufq_init(&bq); |