net: macb: Add separate definition for PPM fraction
authorHarini Katakam <harini.katakam@xilinx.com>
Thu, 27 Jun 2019 06:20:59 +0000 (11:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jun 2019 18:09:18 +0000 (11:09 -0700)
commita8ee4dc1b5937ef60e04e11c6dd6039099d1069d
tree92b15d5d3bdd00ea9586cd388b8349d688ffa054
parent79293f49677e2e703ef0d0efc9919319adacb3fb
net: macb: Add separate definition for PPM fraction

The scaled ppm parameter passed to _adjfine() contains a 16 bit
fraction. This just happens to be the same as SUBNSINCR_SIZE now.
Hence define this separately.

Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_ptp.c