aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ahci.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-15 20:57:55 +0900
committerTejun Heo <htejun@gmail.com>2006-05-15 20:57:55 +0900
commit61440db61fe4945ad9f7b32b4d6a22b17174aa1f (patch)
tree4c093d6c72facf6bc77fcedce7d8c1cb85415f5b /drivers/scsi/ahci.c
parent[PATCH] libata: use dev->ap (diff)
downloadlinux-dev-61440db61fe4945ad9f7b32b4d6a22b17174aa1f.tar.xz
linux-dev-61440db61fe4945ad9f7b32b4d6a22b17174aa1f.zip
[PATCH] libata: implement ATA printk helpers
Implement ata_{port|dev}_printk() which prefixes the message with proper identification string. This change is necessary for later PM support because devices and links should be identified differently depending on how they are attached. This also helps unifying device id strings. Currently, there are two forms in use (P is the port number D device number) - 'ataP(D):', and 'ataP: dev D '. These macros also make it harder to forget proper ID string (e.g. printing only port number when a device is in question). Debug message handling can be integrated into these printk macros by passing debug type and level via @lv. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/ahci.c')
0 files changed, 0 insertions, 0 deletions