[openib-general] [PATCH] mthca: report board id in sysfs

Michael S. Tsirkin mst at mellanox.co.il
Thu Jul 7 22:55:06 PDT 2005


Quoting r. Roland Dreier <rolandd at cisco.com>:
> Subject: Re: [openib-general] [PATCH] mthca: report board id in sysfs
> 
> It seems your original patch only reported the board ID for PCI-X
> HCAs, because of the code duplication between mthca_init_tavor and
> mthca_init_arbel for the call to QUERY_ADAPTER.  This is the patch I
> cam up with, which consolidates the code so we only call QUERY_ADAPTER
> from one place.
> 
> I think this is correct but none of my PCI-X HCAs seem to have a board
> ID -- it works fine on my PCIe HCAs but I get all 00000000s on the
> PCI-X HCAs that I tried.

Looks ok ... need testing.

> Are my HCAs just missing VPD in their flash or is the patch messed up?
> 
>  - R.

To check, you can type

mstflint -d <bus:dev.fn> q

-- 
MST



More information about the general mailing list