On Sat, Oct 31, 2020 at 03:32:15PM +0100, Andrew Lunn wrote: > > Sure, I just wanted to add the comment before others simply copy and > > paste this (pseudo) code. And in patch 9 (aquantia) and 18 (realtek) > > it is used as is. And IIRC at least the Aquantia PHY doesn't mask > > the interrupt status. > > And that is were we are going to have issues with this patch set, and > need review by individual PHY driver maintainers, or a good look at > the datasheet. >
Yep, I already started to comb through all the drivers and their datasheets so that I can only check for the interrupts that the driver enables. Ioana