Skip to content

Commit

Permalink
x86_64: cleanup of unneeded macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guillaume Thouvenin authored and Linus Torvalds committed Jul 22, 2007
1 parent 07877cf commit 05b48ea
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/x86_64/kernel/pci-calgary.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 05b48ea

Please sign in to comment.