OpenCloudOS-Kernel/arch/powerpc/platforms/maple
Nathan Lynch cc9881ce37 [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 <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-09-22 15:19:58 +10:00
..
Makefile powerpc: Merge maple support code to arch/powerpc/platforms/maple 2005-10-29 22:07:56 +10:00
maple.h powerpc: Merge maple support code to arch/powerpc/platforms/maple 2005-10-29 22:07:56 +10:00
pci.c [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c 2006-09-22 15:19:58 +10:00
setup.c Merge branch 'merge' 2006-08-01 10:37:25 +10:00
time.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00