Generic: Clean up output of AR8216 driver.
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 10 Apr 2010 11:34:11 +0000 (11:34 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 10 Apr 2010 11:34:11 +0000 (11:34 +0000)
commit3c6e0e08594e6a6598617ed760276b94db65e74b
treedc0193479f4af57f0fa28987e5320b0de795f20f
parent1603982ee32d3c50348926a4c37bf43db87ef0fa
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20773 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic-2.6/files/drivers/net/phy/ar8216.c
This page took 0.03441 seconds and 4 git commands to generate.