Generic: Clean up output of AR8216 driver.
authorGabor Juhos <juhosg@openwrt.org>
Sat, 10 Apr 2010 11:34:11 +0000 (11:34 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 10 Apr 2010 11:34:11 +0000 (11:34 +0000)
commitd5be39d0b56998c1571d73d7a68e61451bf24686
treedc0193479f4af57f0fa28987e5320b0de795f20f
parentcd50ab9a824e659521ecba7e9edbdd6787d8da66
Generic: Clean up output of AR8216 driver.

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>
Cc: bacfire@openwrt.org
SVN-Revision: 20773
target/linux/generic-2.6/files/drivers/net/phy/ar8216.c