re-orgnize code, Multi-TX feature added. 1. code are re-orgnized, abstract layer is removed. struct alx_hw is removed. 2. Multi-TX feature is added since the HW have 4 tx-Qs. 3. Interrupt usage for MSIX for RSS/Multi-TX is revised to share vector to save system resources. Interrupt allocation is moved to .probe routine. 4. Extension PHY resgister access is added as well. please NOTE, this version of code just pass compiler (under net-next.git env), only load/unload test is done. any other network related functions are not tested yet. BTW, when I run checkpatch on this code, there are many warnings about: WARNING: networking block comments put the trailing */ on a separate line there are also many many same warnings when I run it on other drivers in the kernel such as broadcom/tg3, intel/igbe Signed-off-by: xiong <xiong@qca.qualcomm.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
The puropose of this development tree is to enable us to do development on alx for both BSD and Linux with a single unified repository. This enables us to synchronize fixes for both BSD and Linux. The idea is to help end typical proprietary driver development for good:
http://www.youtube.com/watch?v=9P-r3H0bY8c
Linux support targets the alx driver to be built in synch with linux-next.git as the base development tree. Backport kernel support is provided by utilizing the compat-drivers framework.
To synch to the latest compat-drivers clone compat-drivers and run:
./refresh-compat
This will copy over all code needed to build the driver for Linux.
TBD