]> git.baikalelectronics.ru Git - kernel.git/commit
bfin_mac: only advertise hardware time stamped when enabled.
authorRichard Cochran <richardcochran@gmail.com>
Wed, 31 Oct 2012 06:27:22 +0000 (06:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 15:41:34 +0000 (11:41 -0400)
commit48b42fae87bf7711d58e79549efaa113a8a86028
treee425b231a4a694737d6d31fddbaf726626daa058
parentb90e04e3692b2b7a157a779da9a2370fe5f43682
bfin_mac: only advertise hardware time stamped when enabled.

The hardware time stamping code is a compile time option for the blackfin.
When it is not enabled, the driver should fall back to the standard
ethtool reply to the get_ts_info query.

Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Tested-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/adi/bfin_mac.c