[PATCH 3/5] mpt fusion: Changes in mptscsih.c for logging support

2007-07-24 Thread Prakash, Sathya
This patch contains changes in mptscsih.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 A new sysfs attribute is added to retrieve and modify the debug

Re: [PATCH 3/5] mpt fusion: Changes in mptscsih.c for logging support

2007-07-24 Thread Boaz Harrosh
Prakash, Sathya wrote: This patch contains changes in mptscsih.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 A new sysfs attribute is added to

RE: [PATCH 3/5] mpt fusion: Changes in mptscsih.c for logging support

2007-07-24 Thread Moore, Eric
On Tuesday, July 24, 2007 4:31 AM, Boaz Harrosh wrote: NACK This driver was already converted to accessors please don't use old (going a way soon) scsi_cmnd members directly Sathya - a little background on this. I believe this all started with the Proposals to change the way all drivers

Re: [PATCH 3/5] mpt fusion: Changes in mptscsih.c for logging support

2007-07-24 Thread Prakash, Sathya
Resubmitting the patch with the following change: In function mptscsih_info_scsiio(), the bufflen and resid fields of the Scsi_cmnd structure were accessed directly in the previous patch. In this modified patch data accessor functions are used to access those fields. signed-off-by: Sathya