Re: [PATCH] zfcp: Report FCP LUN to SCSI midlayer

2007-06-27 Thread Luben Tuikov
--- Swen Schillig <[EMAIL PROTECTED]> wrote: > I think Luben and Stefan suggested a good way to do that, ok apart from the > be64 bits :-) What is the objection to the use of be64_to_cpu()? > So, just use the struct scsi_lun in its full extend, for the sysfs without a > leading "0x", > and forg

[PATCH 1/3] add srp transport class

2007-06-27 Thread FUJITA Tomonori
This adds srp transport class that works with ib_srp and ibmvscsi. It creates only /sys/class/{srp_host,srp_remote_ports} and srp_remote_ports has only "port_id" attribute. viola:/sys/class/srp_remote_ports/port-0:1# ls device port_id subsystem uevent viola:/sys/class/srp_remote_ports/port-0:1

[PATCH 0/3] srp transport class

2007-06-27 Thread FUJITA Tomonori
This patchset adds srp transport class and converts ib_srp and ibmvscsi drivers to use it. ib_srp driver already uses ib's sysfs and ibmvscsi uses vio's sysfs so there aren't many things to do for srp transport class unless I'm allowed to break the existing applications. It creates only /sys/clas

[PATCH 3/3] ib_srp: convert to use the srp transport class

2007-06-27 Thread FUJITA Tomonori
This converts ib_srp to use the srp transport class. I don't have ib hardware so I've not tested this patch. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- drivers/infiniband/ulp/srp/Kconfig |1 + drivers/infiniband/ulp/srp/ib_srp.c | 27 +++ 2 files change

Re: [PATCH] zfcp: Report FCP LUN to SCSI midlayer

2007-06-27 Thread Swen Schillig
On Monday 25 June 2007 16:03, Hannes Reinecke wrote: > Swen Schillig wrote: > > On Friday 22 June 2007 16:11, James Bottomley wrote: > >> On Thu, 2007-06-21 at 21:40 -0700, Mike Anderson wrote: > >>> James Bottomley <[EMAIL PROTECTED]> wrote: > A proposal to display the correct form of the LUN

[PATCH 2/3] ibmvscsi: convert to use the srp transport class

2007-06-27 Thread FUJITA Tomonori
This converts ibmvscsi to use the srp transport class. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- drivers/scsi/Kconfig |1 + drivers/scsi/ibmvscsi/ibmvscsi.c | 34 -- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/driv