> If you just schedule a task from the hard irq handler, why not using > a threaded interrupt?
Yes, i was just about to say that. > And a further question because I worked on the Aquantia PHY driver: > I assume the integrated PHY's are identical or at least very similar > to the external ones like AQR107. Did you ever consider to switch > the PHY handling part of this driver to phylib? This may help to > reduce complexity and code size of the driver. Hi Heiner I think this was discussed at the time the driver was first submitted. Or it could of been the USB version. The first version did actually allow access to PHY registers, and the MAC driver did poke some of the registers. My guess is, other operating systems don't have a suitable PHY driver. So they pushed it all into firmware. As a result, they now possibly have an inferior experience on Linux than if they used the new PHY driver. Andrew