
From: Greg KH <greg@kroah.com>

ChangeSet 1.1348.14.2, 2003/06/23 11:45:05-07:00, ink@jurassic.park.msu.ru

[PATCH] PCI: fix alpha for reimplement pci proc name

On Fri, Jun 20, 2003 at 02:24:13PM -0700, Greg KH wrote:
> Thanks, I've reverted your previous patch, and fixed the one typo in
> this patch and applied it all to my bk tree.  Hopefully Linus will pull
> from it sometime soon :)

Argh, where were my eyes... There was another typo which broke Alpha.

diff -Nru a/include/asm-alpha/pci.h b/include/asm-alpha/pci.h


 include/asm-alpha/pci.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN include/asm-alpha/pci.h~pci-2 include/asm-alpha/pci.h
--- 25/include/asm-alpha/pci.h~pci-2	2003-06-23 22:45:36.000000000 -0700
+++ 25-akpm/include/asm-alpha/pci.h	2003-06-23 22:45:36.000000000 -0700
@@ -197,7 +197,8 @@ pcibios_resource_to_bus(struct pci_dev *
 /* Bus number == domain number until we get above 256 busses */
 static inline int pci_name_bus(char *name, struct pci_bus *bus)
 {
-	int domain = pci_domain_nr(bus)
+	int domain = pci_domain_nr(bus);
+
 	if (domain < 256) {
 		sprintf(name, "%02x", domain);
 	} else {

_
