linux/drivers/net/atl1c
Ben Hutchings 33ac0b84ee atl1c: Fix hardware type check for enabling OTP CLK
Commit 496c185c94 "atl1c: Add support
for Atheros AR8152 and AR8152" added the condition:

             if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c_b)

for enabling OTP CLK, and the condition:

             if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c)

for disabling OTP CLK.  Since the two previously defined hardware
types are athr_l1c and athr_l2c, the latter condition appears to be
the correct one.  Change the former to match.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-21 10:06:48 -08:00
..
atl1c_ethtool.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
atl1c_hw.c atl1c: Fix hardware type check for enabling OTP CLK 2010-11-21 10:06:48 -08:00
atl1c_hw.h atl1c: Add AR8151 v2 support and change L0s/L1 routine 2010-06-01 00:28:12 -07:00
atl1c_main.c atl1c: make functions static 2010-10-24 14:55:49 -07:00
atl1c.h atl1c: make functions static 2010-10-24 14:55:49 -07:00
Makefile atl1c: Atheros L1C Gigabit Ethernet driver 2009-02-18 17:24:15 -08:00