summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-10-03 03:55:33 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 20:53:34 +0200
commitb352f9237622c64afbac367cadd10d23cb4c5484 (patch)
tree9884857c3e940e03ffd9a3438e9a4a7769a873e0 /lib
parent[SCSI] advansys: Remove library version & serial numbers (diff)
downloadlinux-b352f9237622c64afbac367cadd10d23cb4c5484.tar.xz
linux-b352f9237622c64afbac367cadd10d23cb4c5484.zip
[SCSI] advansys: Sort out debug macros
Replace ASC_DBG{,1,2,3,4,5} with a single variadic macro ASC_DBG. As suggested by Jeff Garzik, include DRV_NAME and __FUNCTION__ in the output. Change all callers to no longer include the function name in the string. Enabling ADVANSYS_DEBUG to test this feature shows a lot of other problems that need to be fixed: - Reorder asc_prt_* functions now that their prototypes have been removed. - There is no longer a struct device in ASC_DVC_CFG/ADV_DVC_CFG, and it wasn't necessarily a PCI device to begin with. Print the bus_id from asc_board->dev instead. - isr_callback no longer exists. - ASC_DBG_PRT_SCSI_CMND isn't being used, so delete asc_prt_scsi_cmnd too. - A missing semicolon Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions