opnsense-src/sys/dev/igc
Eric Joyner 6f33f12a25 igc(4): Fix attach for I226-K and LMVP devices
Summary:
The device IDs for these were in the driver's list of PCI ids to attach
to, but igc_set_mac_type() had never been setup to set the correct mac
type for these devices. Fix this by adding these IDs to the switch block
in order for them to be recognized by the driver instead of returning an
error.

This fixes the igc(4) attach for the I226-K LOM on the ASRock Z790
PG-ITX/TB4 motherboard, allowing it to be recognized and used.

Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Reviewed by:	kbowling@
Relnotes:	yes
Differential Revision: https://reviews.freebsd.org/D49147

(cherry picked from commit 7ee310c80ea7b336972f53cc48b8c3d03029941e)
2025-04-07 17:46:05 +02:00
..
if_igc.c igc.4: Add I226 and other additions to supported list 2025-01-08 08:43:35 +01:00
if_igc.h igc: Rename 'struct adapter' to 'struct igc_softc' 2024-10-21 08:10:09 -07:00
igc_api.c igc(4): Fix attach for I226-K and LMVP devices 2025-04-07 17:46:05 +02:00
igc_api.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
igc_base.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
igc_base.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
igc_defines.h igc: Remove unused register IGC_RXD_SPC_VLAN_MASK 2025-02-18 10:04:20 +01:00
igc_hw.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
igc_i225.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
igc_i225.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
igc_mac.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
igc_mac.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
igc_nvm.c igc: Add NVM/firmware prints and sysctl 2024-10-05 20:49:08 -07:00
igc_nvm.h igc: Add NVM/firmware prints and sysctl 2024-10-05 20:49:08 -07:00
igc_osdep.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
igc_phy.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
igc_phy.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
igc_regs.h igc: sysctl for TCP flag handling during TSO 2024-12-16 16:15:43 +01:00
igc_txrx.c igc: Style pass igc_txrx 2024-12-16 16:15:43 +01:00