diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2002-02-15 07:08:44 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2002-02-15 07:08:44 +0000 |
| commit | 1e9ea774c0571d36733c3ff49d5eb28cdaf09bca (patch) | |
| tree | ac8062781c5559fbe5b5155fa175d9333bb0df9d /sys/dev/ata | |
| parent | e88516c29be6676c0027b0cde4dcb9d958ce0a66 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/atapi-all.c | 2 | ||||
| -rw-r--r-- | sys/dev/ata/atapi-cd.c | 2 | ||||
| -rw-r--r-- | sys/dev/ata/atapi-tape.c | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c index c0856d44edcd..73c520f296ba 100644 --- a/sys/dev/ata/atapi-all.c +++ b/sys/dev/ata/atapi-all.c @@ -587,7 +587,7 @@ static void atapi_finish(struct atapi_request *request) { #ifdef ATAPI_DEBUG - ata_prtdev(atadev->device->device, "finished %s%s\n", + ata_prtdev(request->device, "finished %s%s\n", request->callback ? "callback " : "", atapi_cmd2str(request->ccb[0])); #endif diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index 440c24dfaee4..d7bc3e3a4b8e 100644 --- a/sys/dev/ata/atapi-cd.c +++ b/sys/dev/ata/atapi-cd.c @@ -28,6 +28,8 @@ * $FreeBSD$ */ +#include "opt_ata.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/ata.h> diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c index 5500a3511cb4..00af24a6c4a7 100644 --- a/sys/dev/ata/atapi-tape.c +++ b/sys/dev/ata/atapi-tape.c @@ -28,6 +28,8 @@ * $FreeBSD$ */ +#include "opt_ata.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/ata.h> |
