summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr/amr_disk.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-08-08 12:16:21 +0000
committerscottl <scottl@FreeBSD.org>2005-08-08 12:16:21 +0000
commit49e526ab385f4a3b98c51482597b75853bbfcaeb (patch)
treec6505d39c57568871fa01d3663298277128abe95 /sys/dev/amr/amr_disk.c
parent23635726251c53a8c24046d76f2bf60be8d8be56 (diff)
downloadFreeBSD-src-49e526ab385f4a3b98c51482597b75853bbfcaeb.zip
FreeBSD-src-49e526ab385f4a3b98c51482597b75853bbfcaeb.tar.gz
Complete the removal of __FreeBSD_version checks from the amr driver. The
driver had advanced enough over the years that direct sharing of code with FreeBSD 4.x was in no way possible anymore.
Diffstat (limited to 'sys/dev/amr/amr_disk.c')
-rw-r--r--sys/dev/amr/amr_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amr/amr_disk.c b/sys/dev/amr/amr_disk.c
index 164d419..a394dee 100644
--- a/sys/dev/amr/amr_disk.c
+++ b/sys/dev/amr/amr_disk.c
@@ -67,7 +67,7 @@ __FBSDID("$FreeBSD$");
#include <sys/kernel.h>
#include <sys/module.h>
-#include <dev/amr/amr_compat.h>
+#include <sys/bio.h>
#include <sys/bus.h>
#include <sys/conf.h>
@@ -196,7 +196,7 @@ amrd_intr(void *data)
bio->bio_resid = 0;
}
- AMR_BIO_FINISH(bio);
+ biodone(bio);
}
static int
OpenPOWER on IntegriCloud