nb/amd/*/*/pci_devs.h: Fix some white spaces issues
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I9261c89b8a15f1ea2f5883481a1cdb7fc8664bb0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65893 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Martin L Roth <gaumless@tutanota.com>
This commit is contained in:
committed by
Martin L Roth
parent
f63edd98a6
commit
693f7c10bf
@@ -10,13 +10,13 @@
|
||||
/* Graphics and Display */
|
||||
#define GFX_DEV 0x1
|
||||
#define GFX_FUNC 0
|
||||
# define GFX_DEVFN PCI_DEVFN(GFX_DEV,GFX_FUNC)
|
||||
# define GFX_DEVFN PCI_DEVFN(GFX_DEV, GFX_FUNC)
|
||||
|
||||
/* PCI Ports */
|
||||
#define PCI_PORT_DEV 0x14
|
||||
#define PCI_PORT_FUNC 4
|
||||
# define PCI_PORT_DEVID 0x4384
|
||||
# define PCI_PORT_DEVFN PCI_DEVFN(PCI_PORT_DEV,PCI_PORT_FUNC)
|
||||
# define PCI_PORT_DEVFN PCI_DEVFN(PCI_PORT_DEV, PCI_PORT_FUNC)
|
||||
|
||||
/* PCIe Ports */
|
||||
#define NB_PCIE_PORT1_DEV 0x4
|
||||
@@ -30,10 +30,10 @@
|
||||
# define NB_PCIE_PORT3_DEVID 0x1514
|
||||
# define NB_PCIE_PORT4_DEVID 0x1515
|
||||
# define NB_PCIE_PORT5_DEVID 0x1516
|
||||
# define NB_PCIE_PORT1_DEVFN PCI_DEVFN(NB_PCIE_PORT1_DEV,NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT2_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV,NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT3_DEVFN PCI_DEVFN(NB_PCIE_PORT3_DEV,NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT4_DEVFN PCI_DEVFN(NB_PCIE_PORT4_DEV,NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT5_DEVFN PCI_DEVFN(NB_PCIE_PORT5_DEV,NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT1_DEVFN PCI_DEVFN(NB_PCIE_PORT1_DEV, NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT2_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV, NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT3_DEVFN PCI_DEVFN(NB_PCIE_PORT3_DEV, NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT4_DEVFN PCI_DEVFN(NB_PCIE_PORT4_DEV, NB_PCIE_FUNC)
|
||||
# define NB_PCIE_PORT5_DEVFN PCI_DEVFN(NB_PCIE_PORT5_DEV, NB_PCIE_FUNC)
|
||||
|
||||
#endif /* _AMD_FAM14_PCI_DEVS_H_ */
|
||||
|
@@ -20,11 +20,11 @@
|
||||
/* Graphics and Display */
|
||||
#define GFX_DEV 0x1
|
||||
#define GFX_FUNC 0
|
||||
#define GFX_DEVFN PCI_DEVFN(GFX_DEV,GFX_FUNC)
|
||||
#define GFX_DEVFN PCI_DEVFN(GFX_DEV, GFX_FUNC)
|
||||
|
||||
/* Integrated GPU Internal HDMI Audio Controller */
|
||||
#define ACTL_FUNC 1
|
||||
#define ACTL_DEVFN PCI_DEVFN(GFX_DEV,ACTL_FUNC)
|
||||
#define ACTL_DEVFN PCI_DEVFN(GFX_DEV, ACTL_FUNC)
|
||||
|
||||
/* PCIe Ports */
|
||||
#define NB_PCIE_PORT1_DEV 0x2
|
||||
@@ -42,12 +42,12 @@
|
||||
#define NB_PCIE_PORT5_DEVID 0x1416
|
||||
#define NB_PCIE_PORT6_DEVID 0x1417
|
||||
#define NB_PCIE_PORT7_DEVID 0x1418
|
||||
#define NB_PCIE_PORT1_DEVFN PCI_DEVFN(NB_PCIE_PORT1_DEV,NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT2_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV,NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT3_DEVFN PCI_DEVFN(NB_PCIE_PORT3_DEV,NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT4_DEVFN PCI_DEVFN(NB_PCIE_PORT4_DEV,NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT5_DEVFN PCI_DEVFN(NB_PCIE_PORT5_DEV,NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT6_DEVFN PCI_DEVFN(NB_PCIE_PORT6_DEV,NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT7_DEVFN PCI_DEVFN(NB_PCIE_PORT7_DEV,NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT1_DEVFN PCI_DEVFN(NB_PCIE_PORT1_DEV, NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT2_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV, NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT3_DEVFN PCI_DEVFN(NB_PCIE_PORT3_DEV, NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT4_DEVFN PCI_DEVFN(NB_PCIE_PORT4_DEV, NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT5_DEVFN PCI_DEVFN(NB_PCIE_PORT5_DEV, NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT6_DEVFN PCI_DEVFN(NB_PCIE_PORT6_DEV, NB_PCIE_FUNC)
|
||||
#define NB_PCIE_PORT7_DEVFN PCI_DEVFN(NB_PCIE_PORT7_DEV, NB_PCIE_FUNC)
|
||||
|
||||
#endif /* _AMD_FAM15TN_PCI_DEVS_H_ */
|
||||
|
@@ -10,11 +10,11 @@
|
||||
/* Graphics and Display */
|
||||
#define GFX_DEV 0x1
|
||||
#define GFX_FUNC 0
|
||||
#define GFX_DEVFN PCI_DEVFN(GFX_DEV,GFX_FUNC)
|
||||
#define GFX_DEVFN PCI_DEVFN(GFX_DEV, GFX_FUNC)
|
||||
|
||||
/* Internal Audio Controller */
|
||||
#define ACTL_FUNC 1
|
||||
#define ACTL_DEVFN PCI_DEVFN(GFX_DEV,ACTL_FUNC)
|
||||
#define ACTL_DEVFN PCI_DEVFN(GFX_DEV, ACTL_FUNC)
|
||||
|
||||
/* PCIe Ports */
|
||||
#define NB_PCIE_PORT1_FUNC 0x1
|
||||
@@ -24,10 +24,10 @@
|
||||
#define NB_PCIE_PORT5_FUNC 0x5
|
||||
#define NB_PCIE_DEV 2
|
||||
#define NB_PCIE_PORT_DEVID 0x1439
|
||||
#define NB_PCIE_PORT1_DEVFN PCI_DEVFN(NB_PCIE_DEV,NB_PCIE_PORT1_FUNC)
|
||||
#define NB_PCIE_PORT2_DEVFN PCI_DEVFN(NB_PCIE_DEV,NB_PCIE_PORT2_FUNC)
|
||||
#define NB_PCIE_PORT3_DEVFN PCI_DEVFN(NB_PCIE_DEV,NB_PCIE_PORT3_FUNC)
|
||||
#define NB_PCIE_PORT4_DEVFN PCI_DEVFN(NB_PCIE_DEV,NB_PCIE_PORT4_FUNC)
|
||||
#define NB_PCIE_PORT5_DEVFN PCI_DEVFN(NB_PCIE_DEV,NB_PCIE_PORT5_FUNC)
|
||||
#define NB_PCIE_PORT1_DEVFN PCI_DEVFN(NB_PCIE_DEV, NB_PCIE_PORT1_FUNC)
|
||||
#define NB_PCIE_PORT2_DEVFN PCI_DEVFN(NB_PCIE_DEV, NB_PCIE_PORT2_FUNC)
|
||||
#define NB_PCIE_PORT3_DEVFN PCI_DEVFN(NB_PCIE_DEV, NB_PCIE_PORT3_FUNC)
|
||||
#define NB_PCIE_PORT4_DEVFN PCI_DEVFN(NB_PCIE_DEV, NB_PCIE_PORT4_FUNC)
|
||||
#define NB_PCIE_PORT5_DEVFN PCI_DEVFN(NB_PCIE_DEV, NB_PCIE_PORT5_FUNC)
|
||||
|
||||
#endif /* _AMD_FAM16KB_PCI_DEVS_H_ */
|
||||
|
@@ -9,13 +9,13 @@
|
||||
#define GFX_DEV 0x1
|
||||
#define GFX_FUNC 0
|
||||
#define GFX_DEVID 0x9850
|
||||
#define GFX_DEVFN PCI_DEVFN(GFX_DEV,GFX_FUNC)
|
||||
#define GFX_DEVFN PCI_DEVFN(GFX_DEV, GFX_FUNC)
|
||||
|
||||
/* Internal Audio controller */
|
||||
#define ACTL_DEV 0x1
|
||||
#define ACTL_FUNC 1
|
||||
#define ACTL_DEVID 0x9840
|
||||
#define ACTL_DEVFN PCI_DEVFN(ACTL_DEV,ACTL_FUNC)
|
||||
#define ACTL_DEVFN PCI_DEVFN(ACTL_DEV, ACTL_FUNC)
|
||||
|
||||
/* PCIe Ports */
|
||||
#define NB_PCIE_PORT2_DEV 0x2
|
||||
@@ -26,11 +26,11 @@
|
||||
#define NB_PCIE_FUNC4 4
|
||||
#define NB_PCIE_FUNC5 5
|
||||
#define NB_PCIE_PORT_DEVID 0x1439
|
||||
#define NB_PCIE_PORT0_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV,NB_PCIE_FUNC0)
|
||||
#define NB_PCIE_PORT1_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV,NB_PCIE_FUNC1)
|
||||
#define NB_PCIE_PORT2_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV,NB_PCIE_FUNC2)
|
||||
#define NB_PCIE_PORT3_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV,NB_PCIE_FUNC3)
|
||||
#define NB_PCIE_PORT4_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV,NB_PCIE_FUNC4)
|
||||
#define NB_PCIE_PORT5_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV,NB_PCIE_FUNC5)
|
||||
#define NB_PCIE_PORT0_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV, NB_PCIE_FUNC0)
|
||||
#define NB_PCIE_PORT1_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV, NB_PCIE_FUNC1)
|
||||
#define NB_PCIE_PORT2_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV, NB_PCIE_FUNC2)
|
||||
#define NB_PCIE_PORT3_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV, NB_PCIE_FUNC3)
|
||||
#define NB_PCIE_PORT4_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV, NB_PCIE_FUNC4)
|
||||
#define NB_PCIE_PORT5_DEVFN PCI_DEVFN(NB_PCIE_PORT2_DEV, NB_PCIE_FUNC5)
|
||||
|
||||
#endif /* _AMD_00730F01_PCI_DEVS_H_ */
|
||||
|
Reference in New Issue
Block a user