]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Staging: Octeon: Run phy bus accesses on a workqueue.
authorDavid Daney <ddaney@caviumnetworks.com>
Mon, 15 Feb 2010 20:13:17 +0000 (12:13 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:29 +0000 (12:53 +0100)
commitf8c2648666b5a1b5ba9bbb662ae569bafd3cc830
tree5c4e9806d2e05c3327a731e0bdf5651929d799b1
parent1d08f00d576c62f1c7a96900a14648df33b3939a
Staging: Octeon:  Run phy bus accesses on a workqueue.

When directly accessing a phy, we must acquire the mdio bus lock.  To
do that we cannot be in interrupt context, so we need to move these
operations to a workqueue.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
To: netdev@vger.kernel.org
To: gregkh@suse.de
Patchwork: http://patchwork.linux-mips.org/patch/965/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/staging/octeon/ethernet-rgmii.c
drivers/staging/octeon/ethernet.c
drivers/staging/octeon/octeon-ethernet.h