lkml.org 
[lkml]   [2007]   [Apr]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 6 Apr 2007 10:55:57 +0200
Subject[PATCH 2.6.20.4] pci-calgary: cleanup of unneeded macros
FromGuillaume Thouvenin <>
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>
---
 pci-calgary.c |    5 -----
 1 file changed, 5 deletions(-)
Index: linux-2.6.20.4/arch/x86_64/kernel/pci-calgary.c
===================================================================
--- linux-2.6.20.4.orig/arch/x86_64/kernel/pci-calgary.c	2007-04-06 09:42:12.000000000 +0200
+++ linux-2.6.20.4/arch/x86_64/kernel/pci-calgary.c	2007-04-06 09:42:20.000000000 +0200
@@ -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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-04-06 09:03    [from the cache]
©2003-2008