aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aq
Commit message (Collapse)AuthorAgeFilesLines
* aq(4): style(9) cleanupEd Maste2026-01-1211-67/+106
|
* aq(4): Style, whitespace and misc cleanupEd Maste2026-01-0518-3335/+3592
| | | | | | | | The compiled objects do not change other than a few diagnostic messages that include __LINE__. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54304
* aq(4): Use standard ETHER_ADDR_LEN definitionEd Maste2025-12-194-5/+4
| | | | No need for a bespoke #define.
* aq(4): Use sys, not userland, headersEd Maste2025-12-116-12/+5
| | | | | | | And remove some unused definitions. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54152
* aq(4): Fix VLAN tag testEd Maste2025-11-301-1/+1
| | | | | | | | | | | | | Previously emitted a compiler warning "warning: bitwise comparison always evaluates to false." Looking at the OpenBSD driver (which is based on this code) it looks like the VLAN flag should be set if either of these bits is. In the OpenBSD driver these are AQ_RXDESC_TYPE_VLAN and AQ_RXDESC_TYPE_VLAN2 rather than a magic number 0x60. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53836
* aq(4): Remove unimplemented functionsEd Maste2025-11-301-4/+0
| | | | | | | aq_if_priv_ioctl and aq_if_debug have prototypes but are not yet implemented. Just remove the commented-out DEVMETHODs and the unused prototypes, to clear a build-time warning; the DEVMETHODs and prototypes can be readded if / when they are implemented.
* aq(4): Remove unused DRIVER_MODULE devclassJohn Baldwin2025-11-301-0/+4
|
* aq(4): Port to IfAPIOlivier Cochard2025-11-303-16/+16
| | | | | | Direct access to struct ifnet members is not possible in FreeBSD 15; accessors must be used. These exist in all supported FreeBSD versions, so we do not need to make this conditional.
* aq(4): Remove #include of user header <unistd.h>Rozhuk Ivan2025-11-301-1/+0
| | | | pause() has 2 different definition in unistd.h and sys/systm.h
* sys: Import snapshot of Aquantia ACQ107 vendor driverEd Maste2025-11-3018-0/+12109
Obtained from https://github.com/Aquantia/aqtion-freebsd commit c61d27b1d94af72c642deefa0595884481ea7377. This is not using a vendor branch. The formerly-upstream repo is abandoned and I do not believe it will receive updates. This initial import serves as a snapshot of the vendor code, but from here we will iterate on it in the tree as our own code. Bug fixes, code cleanup, and build infrastructure will follow. NetBSD and OpenBSD have derivatives of this driver (with additional hardware support). We can look to changes in those drivers, and the Linux driver, to add support here. Reviewed by: adrian Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53813