Project

General

Profile

Actions

Feature #12332

open

mptsas driver should expose cable connector information

Added by Rob Johnston over 2 years ago. Updated about 2 years ago.

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

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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.

Actions #1

Updated by Rob Johnston about 2 years ago

A preliminary fix has been pushed to the 12332 branch of https://github.com/rejohnst/illumos-gate

Actions

Also available in: Atom PDF