summaryrefslogtreecommitdiffstats
path: root/sys/dev/twe/twevar.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-05-07 21:46:44 +0000
committermsmith <msmith@FreeBSD.org>2001-05-07 21:46:44 +0000
commit070fb85396f929304a380050efc2e70fcf370daa (patch)
treef62ad0a81f7b2b28b649424c01829daec70317bf /sys/dev/twe/twevar.h
parentb47830be3e58e44dd6ae03b8dc4c9c034f7a2074 (diff)
downloadFreeBSD-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/twevar.h')
-rw-r--r--sys/dev/twe/twevar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/twe/twevar.h b/sys/dev/twe/twevar.h
index 639a4253..3e06bb5 100644
--- a/sys/dev/twe/twevar.h
+++ b/sys/dev/twe/twevar.h
@@ -240,7 +240,7 @@ twe_initq_bio(struct twe_softc *sc)
}
static __inline void
-twe_enqueue_bio(struct twe_softc *sc, struct bio *bp)
+twe_enqueue_bio(struct twe_softc *sc, twe_bio *bp)
{
int s;
@@ -250,11 +250,11 @@ twe_enqueue_bio(struct twe_softc *sc, struct bio *bp)
splx(s);
}
-static __inline struct bio *
+static __inline twe_bio *
twe_dequeue_bio(struct twe_softc *sc)
{
int s;
- struct bio *bp;
+ twe_bio *bp;
s = splbio();
if ((bp = TWE_BIO_QFIRST(sc->twe_bioq)) != NULL) {
OpenPOWER on IntegriCloud