diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2006-01-10 09:37:32 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-10 09:37:32 +0000 |
commit | a2d7db8f55ea6be119a7ff9be71e6341e76dd618 (patch) | |
tree | 70fcf42238c6999a606c65343f3a7858333e3ff8 /packages/ixp4xx/ixp4xx-csr-2.1 | |
parent | 29ef956e45a9ef8100cb581ed34b8d6a6f218308 (diff) |
ixp-osal, ixp4xx-csr: gcc4 patches in 2.1
Diffstat (limited to 'packages/ixp4xx/ixp4xx-csr-2.1')
-rw-r--r-- | packages/ixp4xx/ixp4xx-csr-2.1/Makefile.patch | 2 | ||||
-rw-r--r-- | packages/ixp4xx/ixp4xx-csr-2.1/gcc4.patch | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/packages/ixp4xx/ixp4xx-csr-2.1/Makefile.patch b/packages/ixp4xx/ixp4xx-csr-2.1/Makefile.patch index 11a9db4373..f082b713f0 100644 --- a/packages/ixp4xx/ixp4xx-csr-2.1/Makefile.patch +++ b/packages/ixp4xx/ixp4xx-csr-2.1/Makefile.patch @@ -8,7 +8,7 @@ +LINUX_MACH_CFLAGS := -D__LINUX_ARM_ARCH__=5 -mtune=xscale -CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -Wall -Wno-trigraphs -fno-common -pipe -mapcs-32 -mshort-load-bytes -msoft-float -DMODULE -Isrc/include -D__linux -DCPU=33 -DXSCALE=33 $(LINUX_MACH_CFLAGS) -+CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -Wall -Wno-trigraphs -fno-common -pipe -mapcs-32 -msoft-float -DMODULE -Isrc/include -D__linux -DCPU=33 -DXSCALE=33 $(LINUX_MACH_CFLAGS) ++CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -Wall -Wno-trigraphs -fno-common -pipe -msoft-float -DMODULE -Isrc/include -D__linux -DCPU=33 -DXSCALE=33 $(LINUX_MACH_CFLAGS) ifndef IX_INCLUDE_MICROCODE CFLAGS += -DIX_NPEDL_READ_MICROCODE_FROM_FILE endif diff --git a/packages/ixp4xx/ixp4xx-csr-2.1/gcc4.patch b/packages/ixp4xx/ixp4xx-csr-2.1/gcc4.patch new file mode 100644 index 0000000000..a701328dd1 --- /dev/null +++ b/packages/ixp4xx/ixp4xx-csr-2.1/gcc4.patch @@ -0,0 +1,23 @@ +--- ixp400/src/npeMh/IxNpeMhSymbols.c~ 2006-01-08 03:13:28.000000000 +1030 ++++ ixp400/src/npeMh/IxNpeMhSymbols.c 2006-01-09 00:56:57.000000000 +1030 +@@ -52,6 +52,7 @@ + + #include <linux/module.h> + #include <IxNpeMh.h> ++#include <IxNpeMhConfig_p.h> + + EXPORT_SYMBOL(ixNpeMhInitialize); + EXPORT_SYMBOL(ixNpeMhUnload); +@@ -67,9 +68,9 @@ extern BOOL ixNpeMhConfigInFifoIsFull(Ix + extern BOOL ixNpeMhConfigOutFifoIsEmpty (IxNpeMhNpeId npeId); + extern void ixNpeMhConfigLockRelease (IxNpeMhNpeId npeId); + extern void ixNpeMhConfigLockGet (IxNpeMhNpeId npeId); +-extern void ixNpeMhConfigOutFifoRead (IxNpeMhNpeId npeId,IxNpeMhMessage *message); +-extern void ixNpeMhConfigInFifoWrite (IxNpeMhNpeId npeId,IxNpeMhMessage message); +-extern struct ixNpeMhConfigNpeInfo ixNpeMhConfigNpeInfo[IX_NPEMH_NUM_NPES]; ++extern IX_STATUS ixNpeMhConfigOutFifoRead (IxNpeMhNpeId npeId,IxNpeMhMessage *message); ++extern IX_STATUS ixNpeMhConfigInFifoWrite (IxNpeMhNpeId npeId,IxNpeMhMessage message); ++extern IxNpeMhConfigNpeInfo ixNpeMhConfigNpeInfo[IX_NPEMH_NUM_NPES]; + + EXPORT_SYMBOL(ixNpeMhConfigInFifoIsFull); + EXPORT_SYMBOL(ixNpeMhConfigOutFifoIsEmpty); |