diff options
author | Nathan Lynch <ntl@pobox.com> | 2006-09-21 14:31:13 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-09-22 15:19:58 +1000 |
commit | cc9881ce371dc7ff3ef5404feda59566fabaf521 (patch) | |
tree | 3326f263f308f9c3c4bc6cb2737e3c1377fade2a /arch/powerpc/Makefile | |
parent | d608df5c7da6ee968aa2ad43c596d5f8d4022299 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/Makefile')
0 files changed, 0 insertions, 0 deletions