tg3: PTP - Add header definitions, initialization and hw access functions.
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 3 Dec 2012 19:36:57 +0000 (19:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2012 17:58:49 +0000 (12:58 -0500)
commitbe947307b5b61fabbd76194d02617f9d2653176d
tree63f6548d072b3ffd603ce3d7870bf3442ed9572e
parent357630668a638418d542d0e331c90c01a091a3f1
tg3: PTP - Add header definitions, initialization and hw access functions.

This patch adds code to write the reference clock. If a chip reset is
performed, the hwclock is reinitialized with the adjusted kernel time

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/Kconfig
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h