]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit85c153d2c7e51efcf0f715118c3c30b62c5fce68
treee425b231a4a694737d6d31fddbaf726626daa058
parent215b13dd288c2e1e4461c1530a801f5f83e8cd90
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