backfire: Generic: Clean up output of AR8216 driver. (backport of r20773)
authorGabor Juhos <juhosg@openwrt.org>
Sat, 10 Apr 2010 11:47:33 +0000 (11:47 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 10 Apr 2010 11:47:33 +0000 (11:47 +0000)
commite618028827193a7555a77146251c421ea3867c63
tree7829e417e298ec7d16829962f7d4c6aba973c5c3
parent2f4c5dfee8c2747f8218b86cbd5690e0dfc4c8ca
backfire: Generic: Clean up output of AR8216 driver. (backport of r20773)

This patch is rather a cosmetic patch. It fixes the following issues:

 * Demote the unknown device message to debug level to not spam
   the log.
 * Fix the version print of the unknown device message.
 * Output the 'attach' message only when attaching as switch driver,
   not when attaching as phy driver.
 * Correctly return NET_RX_DROP when dropping packets.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 20774
target/linux/generic-2.6/files/drivers/net/phy/ar8216.c