aboutsummaryrefslogtreecommitdiff
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-15 21:03:50 +0900
committerTejun Heo <htejun@gmail.com>2006-05-15 21:03:50 +0900
commitdd410ff12925fc49df3174b18e43598b2b2b621f (patch)
tree782f1127a074fbb70e90ac46b5e97e42aceddc9d /kernel/audit.c
parenta6e6ce8e8dc907a2cf2b994b0ea4099423f046bf (diff)
[PATCH] ahci: clean up AHCI constants in preparation for NCQ
* Rename CMD_TBL_HDR to CMD_TBL_HDR_SZ as it's size not offset. * Define MAX_CMDS and CMD_SZ and use them in calculation of other constants. * Define CMD_TBL_AR_SZ as product of CMD_TBL_SZ and MAX_CMDS, and use it when calculating PRIV_DMA_SZ. * CMD_SLOT_SZ is also dependent on MAX_CMDS but hasn't been changed because I didn't want to change the value used by the original code (32 commands). Later NCQ change will bump MAX_CMDS to 32 anyway and the hard coded 32 can be changed to MAX_CMDS then. * Reorder HOST_CAP_* flags. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions