lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 2 Apr 2012 16:16:12 +0800
From:	lin jason <kernel.jason@...il.com>
To:	netdev@...r.kernel.org
Subject: How to enable phy's interrupt correctly using phylib?

Dear:
The design is a MAC connected to a Marvell phy.
Phy's interrupt will be triggered for some conditions, like link status changed,
and then it will trigger MAC's interrupt.
But phy itself has no direct interrupt connected to CPU.
I used phylib to implement the network driver (MAC driver).
When link status changed, I need to do something in MAC's irq.
In linux 2.6.36, I used phy_enable_interrupts() in MAC driver.
But after linux 2.6.37, this function is not used directly by any drivers.

Interrupt connection:
PHY ------> MAC ------> CPU

How to enable phy's interrupt correctly using phylib?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ