aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ptp
diff options
context:
space:
mode:
authorTakahiro Shimizu <tshimizu818@gmail.com>2012-04-20 14:50:31 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-21 15:27:45 -0400
commit17cdedf3b3649a7d07acaa89be044becaab9f1ab (patch)
tree69b8d73f33be9fef9b3defa3f7167a1e5ad10d16 /drivers/ptp
parenteefc48b078e1c74c701e8b44a56717418e9cd2bb (diff)
pch_gbe: export a method to set the receive match address
The code in phc_gbe_main will need to call this method in order to set the station address register according to the receive time stamping filter. [ RC - Rebased Takahiro's changes and wrote a commit message explaining the changes. ] Signed-off-by: Takahiro Shimizu <tshimizu818@gmail.com> Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
-rw-r--r--drivers/ptp/ptp_pch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c
index 847a3c3e31e4..9e397fe5ed12 100644
--- a/drivers/ptp/ptp_pch.c
+++ b/drivers/ptp/ptp_pch.c
@@ -308,7 +308,7 @@ static void pch_reset(struct pch_dev *chip)
308 * traffic on the ethernet interface 308 * traffic on the ethernet interface
309 * @addr: dress which contain the column separated address to be used. 309 * @addr: dress which contain the column separated address to be used.
310 */ 310 */
311static int pch_set_station_address(u8 *addr, struct pci_dev *pdev) 311int pch_set_station_address(u8 *addr, struct pci_dev *pdev)
312{ 312{
313 s32 i; 313 s32 i;
314 struct pch_dev *chip = pci_get_drvdata(pdev); 314 struct pch_dev *chip = pci_get_drvdata(pdev);
@@ -352,6 +352,7 @@ static int pch_set_station_address(u8 *addr, struct pci_dev *pdev)
352 } 352 }
353 return 0; 353 return 0;
354} 354}
355EXPORT_SYMBOL(pch_set_station_address);
355 356
356/* 357/*
357 * Interrupt service routine 358 * Interrupt service routine