diff options
author | Keith Busch <[email protected]> | 2016-05-03 09:58:11 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2016-05-03 09:58:11 -0500 |
commit | 6d81417da8720b393f670de9cce03a3642ea9a30 (patch) | |
tree | fd65db1a902ba99f3e5bef60a7e2ac02967e4aba /lib/string_helpers.c | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) |
PCI: Widen portdrv service type from 4 bits to 8 bits
The names of port service devices previously used one nibble to encode the
port type and another nibble to encode the service type. We're about to
add a fifth service type, so change device names to use one *byte* to
encode the service type.
For example, a hotplug port service on a downstream bridge was previously
called "pcie24" and is now called "pcie204". The "2" encodes the device
type (PCI_EXP_TYPE_DOWNSTREAM - 4), and the "4" (now "04") encodes the
service (PCIE_PORT_SERVICE_HP).
Based on Lukas Wunner's patch:
https://github.com/l1k/linux/commit/b688d6e4873ab082e5916b1a993bc1d38c6f4178
[bhelgaas: split to separate patch, expand changelog]
Based-on-patch-by: Lukas Wunner <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions