diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-04-15 05:54:02 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-04-15 05:54:02 +0000 |
commit | 8177437d85f8a1edd437dab643b153d62170135f (patch) | |
tree | 15f6a55095e767e8981f2ba8b7d0bc57532ce223 /sys/dev/amr/amrvar.h | |
parent | 9754f5b65bbabf3bbbd935a82ddd82fc5ffa6aa9 (diff) | |
download | src-8177437d85f8a1edd437dab643b153d62170135f.tar.gz src-8177437d85f8a1edd437dab643b153d62170135f.zip |
Complete the bio/buf divorce for all code below devfs::strategy
Exceptions:
Vinum untouched. This means that it cannot be compiled.
Greg Lehey is on the case.
CCD not converted yet, casts to struct buf (still safe)
atapi-cd casts to struct buf to examine B_PHYS
Notes
Notes:
svn path=/head/; revision=59249
Diffstat (limited to 'sys/dev/amr/amrvar.h')
-rw-r--r-- | sys/dev/amr/amrvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amr/amrvar.h b/sys/dev/amr/amrvar.h index 84777b5c27aa..5edfb1fb93f0 100644 --- a/sys/dev/amr/amrvar.h +++ b/sys/dev/amr/amrvar.h @@ -136,7 +136,7 @@ struct amr_softc struct callout_handle amr_timeout; /* periodic status check */ /* per-controller queues */ - struct buf_queue_head amr_bufq; /* pending I/O */ + struct bio_queue_head amr_bioq; /* pending I/O */ int amr_waitbufs; struct amr_command *amr_busycmd[AMR_MAXCMD]; int amr_busycmdcount; @@ -239,7 +239,7 @@ struct amrd_softc /* * Interface between driver core and disk driver (should be using a bus?) */ -extern int amr_submit_buf(struct amr_softc *sc, struct buf *bp); +extern int amr_submit_buf(struct amr_softc *sc, struct bio *bp); extern int amr_submit_ioctl(struct amr_softc *sc, struct amr_logdrive *drive, u_long cmd, caddr_t addr, int32_t flag, struct proc *p); extern void amrd_intr(void *data); |