Skip to content

Commit cabdf8b

Browse files
committed
sh: pci: Move Renesas PCI IDs to a better place.
Previously these IDs were only used by one driver, so there was not much need for having them generically defined. Now that this will no longer hold true, move them over. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent 81df84f commit cabdf8b

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎arch/sh/drivers/pci/pci-sh7780.h‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212
#ifndef _PCI_SH7780_H_
1313
#define _PCI_SH7780_H_
1414

15-
#define PCI_VENDOR_ID_RENESAS 0x1912
16-
#define PCI_DEVICE_ID_RENESAS_SH7781 0x0001
17-
#define PCI_DEVICE_ID_RENESAS_SH7780 0x0002
18-
#define PCI_DEVICE_ID_RENESAS_SH7763 0x0004
19-
#define PCI_DEVICE_ID_RENESAS_SH7785 0x0007
20-
2115
/* SH7780 Control Registers */
2216
#define PCIECR 0xFE000008
2317
#define PCIECR_ENBL 0x01

‎include/linux/pci_ids.h‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,6 +2260,13 @@
22602260

22612261
#define PCI_VENDOR_ID_SILAN 0x1904
22622262

2263+
#define PCI_VENDOR_ID_RENESAS 0x1912
2264+
#define PCI_DEVICE_ID_RENESAS_SH7781 0x0001
2265+
#define PCI_DEVICE_ID_RENESAS_SH7780 0x0002
2266+
#define PCI_DEVICE_ID_RENESAS_SH7763 0x0004
2267+
#define PCI_DEVICE_ID_RENESAS_SH7785 0x0007
2268+
#define PCI_DEVICE_ID_RENESAS_SH7786 0x0010
2269+
22632270
#define PCI_VENDOR_ID_TDI 0x192E
22642271
#define PCI_DEVICE_ID_TDI_EHCI 0x0101
22652272

0 commit comments

Comments
 (0)