summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-08-20 23:51:59 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2008-09-24 22:59:01 (GMT)
commit5050015597efb5e52a0b21e30a8adb2f7d7b7fba (patch)
tree21e5f3ce483a362e5d55a8a9ba448a89b451ec50 /crypto
parentb39d66a81fb4f5ab555f86a2e49f3714f8369a3d (diff)
downloadlinux-fsl-qoriq-5050015597efb5e52a0b21e30a8adb2f7d7b7fba.tar.xz
sundance: set carrier status on link change events
Check if the link is available when a changed interrupt has been received and set the carrier status appropriately. The code is copied nearly verbatim from the dl2k module. The link status could be used in more places in the driver, but this is enough to get the carrier status reported to userspace. Fixes kernel bug #7487: http://bugzilla.kernel.org/show_bug.cgi?id=7487 [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions