From: Dan Nicholson Date: Wed, 20 Aug 2008 23:51:59 +0000 (-0700) Subject: sundance: set carrier status on link change events X-Git-Tag: v2.6.28-rc1~717^2~195^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5050015597efb5e52a0b21e30a8adb2f7d7b7fba;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed