Re: [PATCH 1/4] sas: add flag for locally attached PHYs

Christoph Hellwig
2005-10-20T14:11:52Z

On Wed, Oct 19, 2005 at 05:00:03PM -0400, Luben Tuikov wrote:
> On 10/19/05 16:08, Moore, Eric Dean wrote:
> > Luben: He is adding support for linkerrors and link/phy reset;
> > these for for CSMI/SDI API.
> >
> > Can you in your driver retreive link errors for the links on the expanders?
>
> Yes. (offloaded to user space)
>
> You use the user space program called "expander_conf.c" to
> send SMP requests and receive SMP responses.

Yes, exactly. On the other hand we don't have standard
hardware-indepent ways of doing that for the PHYs of the HBA because
the programming interfaces are to different and need to abstract it away
in the kernel. That's why I need the local_attached flag as an internal
helper - it's not actually exposed to userland so the implementation