PCI/switchtec: Rename generation-specific constants
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 15 Jan 2020 03:56:42 +0000 (20:56 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 15 Jan 2020 17:00:37 +0000 (11:00 -0600)
commitfcccd282b633ab9fc7d53ff8ccf82ab5c30a0985
treea59927d1633f740dded30ea87f9e9561bfccd49c
parent2085747d533b9be5f5a51efbc3e86be0164571a2
PCI/switchtec: Rename generation-specific constants

Gen4 hardware will have different values for the SWITCHTEC_X_RUNNING and
SWITCHTEC_IOCTL_NUM_PARTITIONS, so rename them with GEN3 in their name.

No functional changes intended.

Link: https://lore.kernel.org/r/20200115035648.2578-2-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/switch/switchtec.c
include/linux/switchtec.h
include/uapi/linux/switchtec_ioctl.h