From: Nathan Lynch Date: Thu, 21 Sep 2006 19:31:13 +0000 (-0500) Subject: [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c X-Git-Tag: v2.6.19-rc1~1300^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc9881ce371dc7ff3ef5404feda59566fabaf521;p=pandora-kernel.git [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c Noticed that the U3_*CFA macros have some typos: #define U3_HT_CFA0(devfn, off) \ ((((unsigned long)devfn) << 8) | offset) (refers to offset rather than off) #define U3_AGP_CFA0(devfn, off) \ ((1 << (unsigned long)PCI_SLOT(dev_fn)) \ | (((unsigned long)PCI_FUNC(dev_fn)) << 8) \ (refers to dev_fn rather than devfn) Things happen to work, but there doesn't seem to be any reason these shouldn't be functions. Overall behavior should be unchanged. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed