[openib-general] [PATCH] mthca: report board id in sysfs
Roland Dreier
rolandd at cisco.com
Mon Jun 27 09:20:41 PDT 2005
Michael> 4 last words in query adapter include the board id
Michael> (byte-swapped). Show this board id in sysfs.
Thanks, looks useful.
Is the VSD really always byte-swapped or just in big-endian order? In
other words, should this:
+ adapter->board_id[i] = __swab32p(outbox + i + QUERY_ADAPTER_BOARD_ID_OFFSET / 4);
use be32_to_cpup() instead?
- R.
More information about the general
mailing list