summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
diff options
context:
space:
mode:
authorKrzysztof Halasa <khc@pm.waw.pl>2008-04-20 19:06:39 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-04-29 07:56:50 +0200
commitdac2f83fce01f0c2900918a4a8abd4c652151804 (patch)
tree1ff0775cc0d07fa382cfe54cb233729e12b9e576 /arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
parentARM: am79c961a: platform_get_irq() may return signed unnoticed (diff)
downloadlinux-dac2f83fce01f0c2900918a4a8abd4c652151804.tar.xz
linux-dac2f83fce01f0c2900918a4a8abd4c652151804.zip
Driver for IXP4xx built-in Ethernet ports
Adds a driver for built-in IXP4xx Ethernet ports. Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'arch/arm/mach-ixp4xx/ixp4xx_qmgr.c')
-rw-r--r--arch/arm/mach-ixp4xx/ixp4xx_qmgr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
index e83301325301..fab94eaecee7 100644
--- a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
+++ b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
@@ -184,6 +184,8 @@ void qmgr_release_queue(unsigned int queue)
case 3: mask[0] = 0xFF; break;
}
+ mask[1] = mask[2] = mask[3] = 0;
+
while (addr--)
shift_mask(mask);