]> git.baikalelectronics.ru Git - 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)
commit78f7f9e8ecb366f4d72abb10eddfe5c5854dc873
tree5c4e9806d2e05c3327a731e0bdf5651929d799b1
parentb4607b1efe92e6ea7bc4d54786e082cdb281b641
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