diff options
author | sos <sos@FreeBSD.org> | 1999-11-06 16:50:21 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1999-11-06 16:50:21 +0000 |
commit | 9282c2bbd50c8186d6ebe7bda5c0aa8c77af3966 (patch) | |
tree | 9bccc8d27f9829fbf70ec9f0e106fbde573004a7 /sys/dev/ata/atapi-all.h | |
parent | 6d8658fdf79a07f5d249e7026b9e69f16b59198a (diff) | |
download | FreeBSD-src-9282c2bbd50c8186d6ebe7bda5c0aa8c77af3966.zip FreeBSD-src-9282c2bbd50c8186d6ebe7bda5c0aa8c77af3966.tar.gz |
Fix IRQ allocation bug on controllers using a shared interrupt.
Fix a bug which could cause panics in ad/atapi-interrupt.
Add support for UDMA66 on Promise Ultra/Fasttrak controllers.
Get rid of ATA_IGNORE_INTR, and introduce ATA_WAIT_INTR instead.
Add a delay in the dump routine in ata-disk.c, some controllers
seem to need this. Also dont use the timeout watchdog when dumping.
Disable DMA on ATAPI devices as default, add option ATA_ENABLE_ATAPI_DMA
for those that has HW that works.
Add support for some not-up-to-spec ATAPI devices that returns data
together with completition status on data moving cmd's.
Diffstat (limited to 'sys/dev/ata/atapi-all.h')
-rw-r--r-- | sys/dev/ata/atapi-all.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-all.h b/sys/dev/ata/atapi-all.h index 29cc3ce..6ef75c3 100644 --- a/sys/dev/ata/atapi-all.h +++ b/sys/dev/ata/atapi-all.h @@ -34,8 +34,9 @@ #define ATAPI_P_READ (ATA_S_DRQ | ATA_I_IN) #define ATAPI_P_WRITE (ATA_S_DRQ) #define ATAPI_P_CMDOUT (ATA_S_DRQ | ATA_I_CMD) +#define ATAPI_P_DONEDRQ (ATA_S_DRQ | ATA_I_CMD | ATA_I_IN) +#define ATAPI_P_DONE (ATA_I_CMD | ATA_I_IN) #define ATAPI_P_ABORT 0 -#define ATAPI_P_DONE (ATA_I_IN | ATA_I_CMD) /* error register bits */ #define ATAPI_E_MASK 0x0f /* error mask */ |