projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07877cf
)
x86_64: cleanup of unneeded macros
author
Guillaume Thouvenin
<
[email protected]
>
Sat, 21 Jul 2007 15:10:59 +0000
(17:10 +0200)
committer
Linus Torvalds
<
[email protected]
>
Sun, 22 Jul 2007 01:37:11 +0000
(18:37 -0700)
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 <
[email protected]
>
Signed-off-by: Muli Ben-Yehuda <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Andi Kleen <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86_64/kernel/pci-calgary.c
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/pci-calgary.c
b/arch/x86_64/kernel/pci-calgary.c
index b32d5797208f8188a8fd12ebbe73eecbc9448349..6f5b9f88e7aa0812dd994e148edc68dfa50fbfdc 100644
(file)
--- 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;
#define PCI_DEVICE_ID_IBM_CALGARY 0x02a1
#define PCI_DEVICE_ID_IBM_CALIOC2 0x0308
-/* 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 */