diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2008-08-20 16:51:59 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:59:01 -0400 |
commit | 5050015597efb5e52a0b21e30a8adb2f7d7b7fba (patch) | |
tree | 21e5f3ce483a362e5d55a8a9ba448a89b451ec50 /drivers/net/netxen/netxen_nic_main.c | |
parent | b39d66a81fb4f5ab555f86a2e49f3714f8369a3d (diff) |
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 'drivers/net/netxen/netxen_nic_main.c')
0 files changed, 0 insertions, 0 deletions