ptp_pch.c (5c0a42566c153349521ac5ff68561c29d2d261bf) | ptp_pch.c (b1f7c8cc1b4619f3dfd9f36bcfd35a0f4ce0cd13) |
---|---|
1/* 2 * PTP 1588 clock using the EG20T PCH 3 * 4 * Copyright (C) 2010 OMICRON electronics GmbH 5 * Copyright (C) 2011-2012 LAPIS SEMICONDUCTOR Co., LTD. 6 * 7 * This code was derived from the IXP46X driver. 8 * --- 543 unchanged lines hidden (view full) --- 552 pci_enable_wake(pdev, PCI_D3hot, 0); 553 return 0; 554} 555#else 556#define pch_suspend NULL 557#define pch_resume NULL 558#endif 559 | 1/* 2 * PTP 1588 clock using the EG20T PCH 3 * 4 * Copyright (C) 2010 OMICRON electronics GmbH 5 * Copyright (C) 2011-2012 LAPIS SEMICONDUCTOR Co., LTD. 6 * 7 * This code was derived from the IXP46X driver. 8 * --- 543 unchanged lines hidden (view full) --- 552 pci_enable_wake(pdev, PCI_D3hot, 0); 553 return 0; 554} 555#else 556#define pch_suspend NULL 557#define pch_resume NULL 558#endif 559 |
560static void __devexit pch_remove(struct pci_dev *pdev) | 560static void pch_remove(struct pci_dev *pdev) |
561{ 562 struct pch_dev *chip = pci_get_drvdata(pdev); 563 564 ptp_clock_unregister(chip->ptp_clock); 565 /* free the interrupt */ 566 if (pdev->irq != 0) 567 free_irq(pdev->irq, chip); 568 --- 164 unchanged lines hidden --- | 561{ 562 struct pch_dev *chip = pci_get_drvdata(pdev); 563 564 ptp_clock_unregister(chip->ptp_clock); 565 /* free the interrupt */ 566 if (pdev->irq != 0) 567 free_irq(pdev->irq, chip); 568 --- 164 unchanged lines hidden --- |