SAMA5 Ethernet: Add support for PHY interrupts

This commit is contained in:
Gregory Nutt
2013-09-15 12:24:42 -06:00
parent bb73395c1d
commit 6a01d80bb2
5 changed files with 270 additions and 1 deletions
+13
View File
@@ -182,6 +182,19 @@ extern "C" {
void sam_boardinitialize(void);
/************************************************************************************
* Name: sam_phyirq
*
* Description:
* This function may be called to register an interrupt handler that will be
* called when an interrupt is received from a PHY.
*
************************************************************************************/
#if defined(CONFIG_NET) && (defined(CONFIG_SAMA5_EMAC) || defined(CONFIG_SAMA5_GMAC))
xcpt_t sam_phyirq(int intf, xcpt_t irqhandler);
#endif
/************************************************************************************
* Name: sam_ledinit, sam_setled, and sam_setleds
*