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

Luben Tuikov
2005-10-21T18:58:08Z

On 10/21/05 13:05, Andrew Patterson wrote:
>>but why didn't CSMI specify the library interface then? If it did that,
>>then none of the "ioctls are deprecated for 3 years now" would have come
>>as a surprise. Or rather, it maybe would have, but it wouldn't have
>>mattered to the management app.
>
> I asked one of the authors, Steve Fairchild, about this. He said that
> they had had a bad experience with HBAAPI, the FC library. They had a
> lot of problems with vendors keeping the library up to date, multiple
> vendors shipping multiple incompatible versions, etc. I wasn't entirely
> convinced, since they seem to have just replaced one set of problems for
> another.

The user app would read the SDI major and minor from SDI_GET_DRIVER_INFO
and then know which spec to use.

After that just sending bytes of data (forming units) one after the other
(as in "smp_portal") would suffice for 32/64 bit (similarly to SG).

Luben
--