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)
commit3491026cbb6f1ad55c8b4cc63f0c3548028ce2a4
tree91f34912b5fdf254c7525d2a9c78caff2e6e59b6
parent6134e99beee0ef8c7fc831e6422f7b0db7580b69
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