aq(4) driver for Aquantia 1/2.5/5/10Gb/s PCIe ethernet adapters
authormlarkin <mlarkin@openbsd.org>
Thu, 2 Sep 2021 10:11:21 +0000 (10:11 +0000)
committermlarkin <mlarkin@openbsd.org>
Thu, 2 Sep 2021 10:11:21 +0000 (10:11 +0000)
commitbccaee56242fd06896c68e2c7f8e8d820f681c07
treec7629dfc99b125d76d153a34a13baf87917c387d
parent69428be4c4214dca85d5abfd8beb82d7ed7cc451
aq(4) driver for Aquantia 1/2.5/5/10Gb/s PCIe ethernet adapters

Adds support for Aquantia AQC1xx family of PCIe ethernet adapters. This
driver supports 1Gbps through 10Gbps modes of operation based on the
hardware and media/switch capabilities.

The initial code was ported from NetBSD, with jmatthew@ finishing up
the Tx/Rx ring support and interrupt handler routine.

The driver only supports devices using firmware V2.

This diff enables aq(4) on riscv64 and amd64, the only platforms where
I have tested the driver, but it likely works on other architectures
as well.
share/man/man4/aq.4 [new file with mode: 0644]
sys/arch/amd64/conf/GENERIC
sys/arch/riscv64/conf/GENERIC
sys/dev/pci/files.pci
sys/dev/pci/if_aq_pci.c [new file with mode: 0644]