aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/crypto/ocf/hifn
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-14 14:01:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-14 14:01:24 +0000
commite4468b8202b343b193fcb249e96dcff14583d944 (patch)
tree49e57eaef9c45fceb039edbc74aa7d0d8a77b876 /target/linux/generic/files/crypto/ocf/hifn
parentfb8cba59c5c7ab2dcce0f1c35335e81915347a00 (diff)
downloadmaster-187ad058-e4468b8202b343b193fcb249e96dcff14583d944.tar.gz
master-187ad058-e4468b8202b343b193fcb249e96dcff14583d944.tar.bz2
master-187ad058-e4468b8202b343b193fcb249e96dcff14583d944.zip
generic: ar8216: register the switch from the probe routine
Currently the switch gets registered when an ethernet driver connects to a PHY of the switch. This method does not work with the ethernet drivers which are connecting to the PHY from their ndo_open callback. With those ethernet drivers, the driver tries to register the switch each time when the etherned device is opened and this causes a deadlock. Move the switch registration into the probe routine to fix this problem. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35602 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/crypto/ocf/hifn')
0 files changed, 0 insertions, 0 deletions