Project

General

Profile

Feature #12332

mptsas driver should expose cable connector information

Added by Rob Johnston about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

The LSI/Broadcom/Avago Fusion SAS HBA products store information about the cable connectors in Manufacturing Page 0x7. As part of the larger SAS topology effort, it would be helpful if this information were exposed to userland in some form.

There's existing code in the driver for pulling things out of Manufacturing Pages 0x0 and 0x5, so much of the plumbing for doing this is already there. Shouldn't be too difficult to extend the existing code to grab what we want from page 0x7.

The connector information that's available is:
  • number of connectors
  • PHY pinout per connector
  • type of each connector (i.e. SFF_####)
  • location of each connector (i.e. internal/external)

This change will implement a new private ioctl which will export the above information as a packed nvlist.

Also available in: Atom PDF