From 83d0e58172de7563f59519892b23c2fd0e80ca56 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 24 Feb 2003 21:49:27 +0000 Subject: NO_GEOM cleanup: Move to new "struct disk *" centered API". OK'ed by: emoore --- sys/dev/amr/amr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/amr/amr.c') diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c index e75c2af..6d11bec 100644 --- a/sys/dev/amr/amr.c +++ b/sys/dev/amr/amr.c @@ -883,7 +883,7 @@ amr_bio_command(struct amr_softc *sc, struct amr_command **acp) ac->ac_flags |= AMR_CMD_DATAOUT; cmd = AMR_CMD_LWRITE; } - amrd = (struct amrd_softc *)bio->bio_dev->si_drv1; + amrd = (struct amrd_softc *)bio->bio_disk->d_drv1; driveno = amrd->amrd_drive - sc->amr_drive; blkcount = (bio->bio_bcount + AMR_BLKSIZE - 1) / AMR_BLKSIZE; -- cgit v1.1