Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ata/ata-all.h
Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | |||||
#define ATA_SC_IPM_MASK 0x00000f00 | #define ATA_SC_IPM_MASK 0x00000f00 | ||||
#define ATA_SC_IPM_NONE 0x00000000 | #define ATA_SC_IPM_NONE 0x00000000 | ||||
#define ATA_SC_IPM_DIS_PARTIAL 0x00000100 | #define ATA_SC_IPM_DIS_PARTIAL 0x00000100 | ||||
#define ATA_SC_IPM_DIS_SLUMBER 0x00000200 | #define ATA_SC_IPM_DIS_SLUMBER 0x00000200 | ||||
#define ATA_SACTIVE 16 | #define ATA_SACTIVE 16 | ||||
/* DMA register defines */ | /* DMA register defines */ | ||||
#define ATA_DMA_ENTRIES 256 | #define ATA_DMA_ENTRIES MAX(17, btoc(maxphys) + 1) | ||||
#define ATA_DMA_EOT 0x80000000 | #define ATA_DMA_EOT 0x80000000 | ||||
#define ATA_BMCMD_PORT 17 | #define ATA_BMCMD_PORT 17 | ||||
#define ATA_BMCMD_START_STOP 0x01 | #define ATA_BMCMD_START_STOP 0x01 | ||||
#define ATA_BMCMD_WRITE_READ 0x08 | #define ATA_BMCMD_WRITE_READ 0x08 | ||||
#define ATA_BMDEVSPEC_0 18 | #define ATA_BMDEVSPEC_0 18 | ||||
#define ATA_BMSTAT_PORT 19 | #define ATA_BMSTAT_PORT 19 | ||||
▲ Show 20 Lines • Show All 425 Lines • Show Last 20 Lines |