summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-all.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2002-03-05 09:24:19 +0000
committersos <sos@FreeBSD.org>2002-03-05 09:24:19 +0000
commit9efc11065b8c97c4d238abf06c92522301113cf3 (patch)
treec9f73969b3cb1de8b9bddf4aa0aa76b7276fdaa0 /sys/dev/ata/ata-all.c
parent92361f6aadf0c42e4292208de34b080d7479303c (diff)
downloadFreeBSD-src-9efc11065b8c97c4d238abf06c92522301113cf3.zip
FreeBSD-src-9efc11065b8c97c4d238abf06c92522301113cf3.tar.gz
Misc little cleanups:
Link if only ATAPI device in kernel config Remove unused #includes Rearrange a bit in ata-raid to make diff against -stable smaller Enable wc as default again, dunne how this happend...
Diffstat (limited to 'sys/dev/ata/ata-all.c')
-rw-r--r--sys/dev/ata/ata-all.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c
index cddcbee..359bfd3 100644
--- a/sys/dev/ata/ata-all.c
+++ b/sys/dev/ata/ata-all.c
@@ -28,7 +28,6 @@
* $FreeBSD$
*/
-#include "pci.h"
#include "opt_ata.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -311,9 +310,10 @@ ataioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td)
splx(s);
return error;
+#ifdef DEV_ATADISK
case ATAREBUILD:
return ata_raid_rebuild(iocmd->channel);
-
+#endif
case ATAGMODE:
if (!device || !(ch = device_get_softc(device)))
return ENXIO;
OpenPOWER on IntegriCloud