]> git.baikalelectronics.ru Git - kernel.git/commit
dm9000: report the correct LPA
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 16 Oct 2013 08:41:34 +0000 (11:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2013 17:35:56 +0000 (13:35 -0400)
commitdb002f99d0e22ad38c2f617484bcdc474b3d6620
tree887cdf311906920c378dd66fc0524e2513459ce9
parentb1cf4e0e1318ba26696749e2b18f0a96287bab9b
dm9000: report the correct LPA

Report the LPA by checking mii_if_info, instead of just saying "no LPA" every
time.

Cc: David S. Miller <davem@davemloft.net>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/davicom/dm9000.c