Howdy,
Having issue(s) building the module, that's got me miffed.
I am experiencing the exact same issue whether on, and using src from, 12- / 13-STABLE & CURRENT.
Using branch: NEW_ATHP_ARVIF_LOCK
Snafu:
/usr/home/my-spiffy-username/Downloads/ath/athp/otus/freebsd/src/sys/modules/athp/../../dev/athp/athp_idr.c:521:34:
error: result of '2^30' is 28; did you mean '1 << 30' (1073741824)? [-Werror,-Wxor-used-as-pow]
int max = end > 0 ? end - 1 : (2^30); /* XXX */
~^~~
1 << 30
/usr/home/my-spiffy-username/Downloads/ath/athp/otus/freebsd/src/sys/modules/athp/../../dev/athp/athp_idr.c:521:34: note: replace expression with '0x2 ^ 30' to silence this warning
1 error generated.
*** Error code 1
Stop.
make: stopped in /usr/home/my-spiffy-username/Downloads/ath/athp/otus/freebsd/src/sys/modules/athp
Doing as suggested, modifying the code with 0x2 ^ 30
does suppress that initial error & compilation carries on a bit, but breaks again with the following output:
/usr/home/my-spiffy-username/Downloads/ath/athp/otus/freebsd/src/sys/modules/athp/../../dev/athp/if_athp_debug_stats.c:560:17:
error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
printf("%s\n", buf);
~~ ^~~
1 error generated.
*** Error code 1
Stop.
make: stopped in /usr/home/my-spiffy-username/Downloads/ath/athp/otus/freebsd/src/sys/modules/athp
Have you any pointers as to what I should try next?
I didn't want to mess with the source too much, before asking you for advice.
I'd really like to get this driver to some basic functionality, so I can do some work on debugging the Qualcomm Atheros QCA6174 onboard chip in my laptop.
I'm toying with the idea of making a significant push in the form of funding, to get FreeBSD up to speed with the 802.11ac standards & in the meantime help wherever I can.
Thanks!