pci: move REDHAT_SDHCI device ID to make room for Rocker
PATCH 1/10 pci: move REDHAT_SDHCI device ID to make room for Rocker
From: Scott Feldman <[email protected]>
The rocker device uses same PCI device ID as sdhci. Since rocker device driver has already been accepted into Linux 3.18, and REDHAT_SDHCI device ID isn't used by any drivers, it's safe to move REDHAT_SDHCI device ID, avoiding conflict with rocker.
--- docs/specs/pci-ids.txt | 2 +- include/hw/pci/pci.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
docs/specs/pci-ids.txt +1 -1
@@ -45,7 +45,7 @@ PCI devices (other than virtio): 1b36:0003 PCI Dual-port 16550A adapter (docs/specs/pci-serial.txt) 1b36:0004 PCI Quad-port 16550A adapter (docs/specs/pci-serial.txt) 1b36:0005 PCI test device (docs/specs/pci-testdev.txt) -1b36:0006 PCI SD Card Host Controller Interface (SDHCI) +1b36:0007 PCI SD Card Host Controller Interface (SDHCI) All these devices are documented in docs/specs.
include/hw/pci/pci.h +1 -1
@@ -88,7 +88,7 @@#define PCI_DEVICE_ID_REDHAT_SERIAL2 0x0003#define PCI_DEVICE_ID_REDHAT_SERIAL4 0x0004#define PCI_DEVICE_ID_REDHAT_TEST 0x0005 -#define PCI_DEVICE_ID_REDHAT_SDHCI 0x0006 +#define PCI_DEVICE_ID_REDHAT_SDHCI 0x0007#define PCI_DEVICE_ID_REDHAT_QXL 0x0100#define FMT_PCIBUS PRIx64
Signature · 1 line
1.7.10.4
Quoted 19 lines · On 30 December 2014 at 05:14, <[email protected]> wrote:
From: Scott Feldman <[email protected]>
The rocker device uses same PCI device ID as sdhci. Since rocker device driver has already been accepted into Linux 3.18, and
REDHAT_SDHCIdevice ID isn't used by any drivers, it's safe to moveREDHAT_SDHCIdevice ID, avoiding conflict with rocker.Signed-off-by Scott Feldman <[email protected]>Signed-off-by Jiri Pirko <[email protected]>--- docs/specs/pci-ids.txt | 2 +- include/hw/pci/pci.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)docs/specs/pci-ids.txt +0
-0
docs/specs/pci-ids.txt PCI devices (other than virtio): · line 48
Quoted 5 lines
docs/specs/pci-ids.txt +1
-1@@ -45,7 +45,7 @@ PCI devices (other than virtio): 1b36:0003 PCI Dual-port 16550A adapter (docs/specs/pci-serial.txt) 1b36:0004 PCI Quad-port 16550A adapter (docs/specs/pci-serial.txt) 1b36:0005 PCI test device (docs/specs/pci-testdev.txt) -1b36:0006 PCI SD Card Host Controller Interface (SDHCI) +1b36:0007 PCI SD Card Host Controller Interface (SDHCI)
Paolo, do you know how we ended up with this double-allocation of PCI IDs? Who is the master authority for handing them out from this range?
thanks
-- PMM