From: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
To: Muli Ben-Yehuda <muli@il.ibm.com>
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org
Subject: [PATCH 2.6.20.4] pci-calgary: cleanup of unneeded macros
Date: Fri, 6 Apr 2007 10:55:57 +0200 [thread overview]
Message-ID: <20070406085557.GB11218@bull.net> (raw)
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 */
next reply other threads:[~2007-04-06 8:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-06 8:55 Guillaume Thouvenin [this message]
2007-04-06 18:46 ` [PATCH 2.6.20.4] pci-calgary: cleanup of unneeded macros Muli Ben-Yehuda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070406085557.GB11218@bull.net \
--to=guillaume.thouvenin@ext.bull.net \
--cc=linux-kernel@vger.kernel.org \
--cc=muli@il.ibm.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox