diff options
author | Guillaume Thouvenin <guillaume.thouvenin@bull.net> | 2007-07-21 11:10:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 21:37:11 -0400 |
commit | 05b48ea61c900115add991427f52ee5eacf361a8 (patch) | |
tree | d70d3842bca79e766e68efd8165c3a7c798ada0e /arch/x86_64/kernel/pci-calgary.c | |
parent | 07877cf6fd559cbdced7ad4c15ab225a552ab692 (diff) |
x86_64: cleanup of unneeded macros
Cleanup unneeded macros used for register space address calculation.
Now we are using the EBDA to find the space address.
Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@bull.net>
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86_64/kernel/pci-calgary.c')
-rw-r--r-- | arch/x86_64/kernel/pci-calgary.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86_64/kernel/pci-calgary.c b/arch/x86_64/kernel/pci-calgary.c index b32d5797208f..6f5b9f88e7aa 100644 --- a/arch/x86_64/kernel/pci-calgary.c +++ b/arch/x86_64/kernel/pci-calgary.c | |||
@@ -52,11 +52,6 @@ int use_calgary __read_mostly = 0; | |||
52 | #define PCI_DEVICE_ID_IBM_CALGARY 0x02a1 | 52 | #define PCI_DEVICE_ID_IBM_CALGARY 0x02a1 |
53 | #define PCI_DEVICE_ID_IBM_CALIOC2 0x0308 | 53 | #define PCI_DEVICE_ID_IBM_CALIOC2 0x0308 |
54 | 54 | ||
55 | /* we need these for register space address calculation */ | ||
56 | #define START_ADDRESS 0xfe000000 | ||
57 | #define CHASSIS_BASE 0 | ||
58 | #define ONE_BASED_CHASSIS_NUM 1 | ||
59 | |||
60 | /* register offsets inside the host bridge space */ | 55 | /* register offsets inside the host bridge space */ |
61 | #define CALGARY_CONFIG_REG 0x0108 | 56 | #define CALGARY_CONFIG_REG 0x0108 |
62 | #define PHB_CSR_OFFSET 0x0110 /* Channel Status */ | 57 | #define PHB_CSR_OFFSET 0x0110 /* Channel Status */ |