summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2021-09-02 10:11:22 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2021-09-02 10:11:22 +0000
commit46d0ee32ec742b686559f80c1d72fb49685d6a4a (patch)
tree1182de4ecbe9810d6609d1f4c8c55035faec30eb /sys/dev/pci/files.pci
parent5117d1a54dd23a9d5c03888dc09b213ffd0f09e5 (diff)
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.
Diffstat (limited to 'sys/dev/pci/files.pci')
-rw-r--r--sys/dev/pci/files.pci7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/files.pci b/sys/dev/pci/files.pci
index a8c82651d3d..0bde7450cc8 100644
--- a/sys/dev/pci/files.pci
+++ b/sys/dev/pci/files.pci
@@ -1,4 +1,4 @@
-# $OpenBSD: files.pci,v 1.354 2021/04/24 09:37:46 jmatthew Exp $
+# $OpenBSD: files.pci,v 1.355 2021/09/02 10:11:21 mlarkin Exp $
# $NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $
#
# Config file and device description for machine-independent PCI code.
@@ -230,6 +230,11 @@ file dev/pci/mpii.c mpii
attach sili at pci with sili_pci
file dev/pci/sili_pci.c sili_pci
+# Aquantia/Atlantic 10-Gigabit Ethernet
+device aq: ether, ifnet, ifmedia, mii
+attach aq at pci
+file dev/pci/if_aq_pci.c aq
+
# Ethernet driver for DC21040-based boards
device de: ether, ifnet, ifmedia
attach de at pci