]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: only warn once of PTP nonsupport in 100Mbit speed
authorShannon Nelson <shannon.nelson@intel.com>
Tue, 11 Nov 2014 03:15:03 +0000 (03:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Nov 2014 09:08:23 +0000 (01:08 -0800)
commitc6da544d57f0e2759e3042a2d249556f6c1bf8f5
treeb012219dbcda6dfd25a118243388392fd4b74faf
parent1033ad2fc3c3a8afc81baf34664b589d175fccbf
i40e: only warn once of PTP nonsupport in 100Mbit speed

Only warn once that PTP is not supported when linked at 100Mbit.

Yes, using a static this way means that this once-only message is not
port specific, but once only for the life of the driver, regardless of
the number of ports.  That should be plenty.

Change-ID: Ie6476530056df408452e195ef06afd4f57caa4b2
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ptp.c