summaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp/ppp_async.c
diff options
context:
space:
mode:
authorNithin Sujir2013-05-21 14:57:32 +0200
committerDavid S. Miller2013-05-22 23:51:11 +0200
commitfb03a43f5fb42000dcc62d91138c1c24fca609b0 (patch)
tree025c606b5f33c3570ed847e3d6ac14707b1b92b9 /drivers/net/ppp/ppp_async.c
parentMerge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff)
downloadkernel-qcow2-linux-fb03a43f5fb42000dcc62d91138c1c24fca609b0.tar.gz
kernel-qcow2-linux-fb03a43f5fb42000dcc62d91138c1c24fca609b0.tar.xz
kernel-qcow2-linux-fb03a43f5fb42000dcc62d91138c1c24fca609b0.zip
tg3: Ensure boot code has completed initialization before accessing hardware
After resetting the device, the driver waits for a signature to be updated to know that firmware has completed initialization. However, the call to tg3_poll_fw() is being done too late and we're writing to the GRC_MODE register before it has completely initialized, causing contention with firmware. This logic has existed since day one but is causing PCIE link to go down randomly at startup on one platform once every few hundred reboots. Move the tg3_poll_fw() up to before we write to the GRC_MODE register after reset. Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp/ppp_async.c')
0 files changed, 0 insertions, 0 deletions