lkml.org 
[lkml]   [2008]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 5/6] bfa: Brocade BFA FC SCSI Driver submission
From
Date
On Wed, 2008-09-24 at 21:09 -0700, Jing Huang wrote:
> From: Jing Huang <huangj@brocade.com>
>
> This patch contains document of brocade specific sysfs interface. It is
> created using 2.6.27-rc7 kernel.
>
> Signed-off-by: Jing Huang <huangj@brocade.com>
> ---
> Documentation/ABI/testing/sysfs-devices-bfa | 600
> ++++++++++++++++++++++++++++
> 1 files changed, 600 insertions(+)
>
> diff -urpN orig/Documentation/ABI/testing/sysfs-devices-bfa
> patch/Documentation/ABI/testing/sysfs-devices-bfa
> --- orig/Documentation/ABI/testing/sysfs-devices-bfa 1969-12-31
> 16:00:00.000000000 -0800
> +++ patch/Documentation/ABI/testing/sysfs-devices-bfa 2008-09-24
> 12:08:25.000000000 -0700
> @@ -0,0 +1,600 @@
> +What: /sys/devices/<Brocade HBA PCI path>/bfa
> +Date: July 2008
> +Contact: Jing Huang <huangj@brocade.com>
> +Description:
> + The /sys/devices/<Brocade HBA device path>/bfa will
> contain
> + files and subdirectories to display internal states and
> + statistics of Brocade HBA. It also provides a
> configuration and
> + management interface for each HBA instance.

This is completely the wrong thing to do. The driver needs to bind to
the Fibre Channel transport class which provides all of these features
in a large measure through infrastructure shareable with the other FC
drivers. Any other pieces that are brocade specific rather than FC
general can go in host attributes in the same way as the rest of the FC
drivers do it.

James




\
 
 \ /
  Last update: 2008-09-25 07:21    [W:0.342 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site