From 070fb85396f929304a380050efc2e70fcf370daa Mon Sep 17 00:00:00 2001 From: msmith Date: Mon, 7 May 2001 21:46:44 +0000 Subject: 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 --- sys/dev/twe/twevar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/twe/twevar.h') 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) { -- cgit v1.1