Add event table decoding for SAS Broadcast Primitive events.
This commit is contained in:
parent
dd31deb8cb
commit
8d8b448919
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345485
@ -452,6 +452,16 @@ mpr_print_evt_sas(struct mpr_softc *sc, MPI2_EVENT_NOTIFICATION_REPLY *event)
|
||||
mpr_print_field(sc, "SASAddress: 0x%jx\n",
|
||||
mpr_to_u64(&data->SASAddress));
|
||||
}
|
||||
case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE:
|
||||
{
|
||||
MPI2_EVENT_DATA_SAS_BROADCAST_PRIMITIVE *data;
|
||||
|
||||
data = (MPI2_EVENT_DATA_SAS_BROADCAST_PRIMITIVE *)&event->EventData;
|
||||
MPR_PRINTFIELD(sc, data, PhyNum, %d);
|
||||
MPR_PRINTFIELD(sc, data, Port, %d);
|
||||
MPR_PRINTFIELD(sc, data, PortWidth, %d);
|
||||
MPR_PRINTFIELD(sc, data, Primitive, 0x%x);
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -431,6 +431,16 @@ mps_print_evt_sas(struct mps_softc *sc, MPI2_EVENT_NOTIFICATION_REPLY *event)
|
||||
mps_print_field(sc, "SASAddress: 0x%jx\n",
|
||||
mps_to_u64(&data->SASAddress));
|
||||
}
|
||||
case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE:
|
||||
{
|
||||
MPI2_EVENT_DATA_SAS_BROADCAST_PRIMITIVE *data;
|
||||
|
||||
data = (MPI2_EVENT_DATA_SAS_BROADCAST_PRIMITIVE *)&event->EventData;
|
||||
MPS_PRINTFIELD(sc, data, PhyNum, %d);
|
||||
MPS_PRINTFIELD(sc, data, Port, %d);
|
||||
MPS_PRINTFIELD(sc, data, PortWidth, %d);
|
||||
MPS_PRINTFIELD(sc, data, Primitive, 0x%x);
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user