Skip to contentSkip to conversation

pci-calgary: cleanup of unneeded macros

PATCH Applied Guillaume Thouvenin 2 participants 2 messages Apr 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci-calgary: cleanup of unneeded macros

Cleanup unneeded macros used for register space address calculation. Now we are using the EBDA to find the space address.

---
 pci-calgary.c |    5 -----
 1 file changed, 5 deletions(-)
arch/x86_64/kernel/pci-calgary.c +0 -5
Index: linux-2.6.20.4/arch/x86_64/kernel/pci-calgary.c
===================================================================
@@ -53,11 +53,6 @@
 #define PCI_VENDOR_DEVICE_ID_CALGARY \
 	(PCI_VENDOR_ID_IBM | PCI_DEVICE_ID_IBM_CALGARY << 16)
 
-/* we need these for register space address calculation */
-#define START_ADDRESS           0xfe000000
-#define CHASSIS_BASE            0
-#define ONE_BASED_CHASSIS_NUM   1
-
 /* register offsets inside the host bridge space */
 #define CALGARY_CONFIG_REG	0x0108
 #define PHB_CSR_OFFSET		0x0110 /* Channel Status */
#1 lore raw
Quoted 4 lines · Guillaume Thouvenin

Cleanup unneeded macros used for register space address calculation. Now we are using the EBDA to find the space address.

Applied, thank you. I'll push it out with the next Calgary update.

Cheers,
Muli