Re: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-16 Thread James Bottomley
On Mon, 2013-11-11 at 09:58 +0100, Jack Wang wrote: > Hi James, > > About this gpio feature, do you think it's OK to implement with IOCTL Definitely not via another strange ioctl > or we can use exist bsg interface in libsas and add another function call? My default thought is that it should go

RE: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-14 Thread Viswas G
; Anand Kumar Santhanam; Suresh Thiagarajan Subject: Re: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers Hi James, About this gpio feature, do you think it's OK to implement with IOCTL or we can use exist bsg interface in libsas and add another function call? Regards,

Re: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-11 Thread Jack Wang
Jack > >> -Original Message- >> From: Jack Wang [mailto:xjtu...@gmail.com] >> Sent: Tuesday, October 29, 2013 3:49 PM >> To: Viswas G >> Cc: linux-scsi@vger.kernel.org; Sangeetha Gnanasekaran; Nikith >> Ganigarakoppal; Anand Kumar Santhanam >&

RE: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-10 Thread Viswas G
Thiagarajan Subject: Re: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers On 11/04/2013 11:13 AM, Viswas G wrote: > Hi Jack, > > We wanted to control the GPIO in the HBA only. Bsg interface gets created > only for enclosure or expander. > > For our HBA, bsg int

Re: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-04 Thread Jack Wang
--Original Message- > From: Jack Wang [mailto:xjtu...@gmail.com] > Sent: Tuesday, October 29, 2013 3:49 PM > To: Viswas G > Cc: linux-scsi@vger.kernel.org; Sangeetha Gnanasekaran; Nikith > Ganigarakoppal; Anand Kumar Santhanam > Subject: Re: [PATCH 11/11] pm80xx : gpio feature sup

RE: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-04 Thread Viswas G
was G -Original Message- From: Jack Wang [mailto:xjtu...@gmail.com] Sent: Tuesday, October 29, 2013 3:49 PM To: Viswas G Cc: linux-scsi@vger.kernel.org; Sangeetha Gnanasekaran; Nikith Ganigarakoppal; Anand Kumar Santhanam Subject: Re: [PATCH 11/11] pm80xx : gpio feature support for mother

Re: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-10-29 Thread Jack Wang
Hi Viswas, As ioctl interface is not welcome for new feature, that's why we removed ioctl interface when pm8001 accepted into mainline. I suggest you use bsg interface for this, see sas_host_smp.c for details. Regards, Jack On 10/22/2013 02:20 PM, Viswas G wrote: > > Signed-off-by: Viswas G >

[PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-10-22 Thread Viswas G
Signed-off-by: Viswas G --- drivers/scsi/pm8001/pm8001_ctl.c | 248 - drivers/scsi/pm8001/pm8001_ctl.h | 55 drivers/scsi/pm8001/pm8001_init.c | 37 ++ drivers/scsi/pm8001/pm8001_sas.h | 30 + drivers/scsi/pm8001/pm80xx_hwi.c | 106