diff options
-rw-r--r-- | sys/dev/ata/ata-all.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index ce29a86..b6544d8 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -397,6 +397,7 @@ ataioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct proc *p) return 0; } +#if defined(DEV_ATAPICD) || defined(DEV_ATAPIFD) || defined(DEV_ATAPIST) case ATAPICMD: { struct ata_softc *scp; struct atapi_softc *atp; @@ -437,6 +438,7 @@ ataioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct proc *p) free(buf, M_ATA); return error; } +#endif } return ENOTTY; } |