]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netxen: fix promisc for NX2031.
authorNarender Kumar <narender.kumar@qlogic.com>
Fri, 20 Nov 2009 15:09:33 +0000 (15:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Nov 2009 19:37:35 +0000 (11:37 -0800)
commita7483b0afa63e851c4438ddda8934a296851f1de
treed19a6cdd0a81f759f810292d3a2bde64f9a90112
parent5d521fd36de4e61ab16a358df54c5babe153396c
netxen: fix promisc for NX2031.

Kernel crashes, if promisc mode set without disabling rx queue.
Before changing mode in NX2031 chip, wait till rx queue drains.

Signed-off-by: Narender Kumar <narender.kumar@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_hdr.h
drivers/net/netxen/netxen_nic_hw.c