mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[SCSI] mpt fusion: Changes in mptfc.c mptlan.c mptsas.c and mptspi.c for logging support
This patch contains changes in mptfc.c, mptlan.c, mptsas.c and mptspi.c to support logging in MPT fusion drivers. The changes are majorly in debug printks, the existing debugprintk are modified accroding to new debug macros defined in the file mptbdebug.h signed-off-by: Sathya Prakash <sathya.prakash@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
6757d6b4c0
commit
d6ecdd638a
4 changed files with 192 additions and 244 deletions
|
@ -1524,8 +1524,7 @@ static int __init mpt_lan_init (void)
|
|||
|
||||
dlprintk((KERN_INFO MYNAM ": Registered for IOC reset notifications\n"));
|
||||
|
||||
if (mpt_device_driver_register(&mptlan_driver, MPTLAN_DRIVER))
|
||||
dprintk((KERN_INFO MYNAM ": failed to register dd callbacks\n"));
|
||||
mpt_device_driver_register(&mptlan_driver, MPTLAN_DRIVER);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue