Can't assign NIC [Aquantia Corp. AQC107]
-
Indeed, so I try but it doesn't work
I build a freebsd VM and install the appropriate package to be able to compile...
I get the source https://github.com/Aquantia/aqtion-freebsd
But I get error:
usr/src/aqtion-freebsd-0.0.5/aq_main.c:197:57: error: too many arguments provided to function-like macro invocation
197 | DRIVER_MODULE(atlantic, pci, aq_driver, aq_devclass, 0, 0);
| ^
/usr/include/sys/bus.h:854:9: note: macro 'DRIVER_MODULE' defined here
854 | #define DRIVER_MODULE(name, busname, driver, evh, arg)
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]In the main the function put 5 arguments in the bus.h that function is only expecting 5 arguments.. mismatch
the code is not working properly
I study the C a long time ago (I'm old :-) ) and I never used after.