Skip to contentSkip to conversation

pci: move REDHAT_SDHCI device ID to make room for Rocker

PATCH Superseded [email protected] 2 participants 2 messages Dec 30, 2014

v1 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

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
index 9b57d5e..c6732fe 100644
@@ -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
index 97e4257..97a83d3 100644
@@ -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
#1 lore raw
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_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 +0 -0
index 9b57d5e..c6732fe 100644

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