opnsense-src/sys/dev/igc
Kornel Dulęba 3b8d04f845 igc: Change default duplex setting
During media selection through ifconfig one might not specify
the duplex setting through the mediaopt flag.
In that case the igc driver would default to full-duplex.
The problem with this approach is that e1000(em/igb) driver
defaults to half-duplex.
Because of that if one connects both NICs and sets media to
e.g. 100baseTX on both of them no link will be found.
Fix that by matching igc behaviour with what e1000 does.

Reviewed by: grehan
Approved by: mw(mentor)
Obtained from: Semihalf
Sponsored by: Stormshield
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35673
2022-07-01 08:12:08 +02:00
..
if_igc.c igc: Change default duplex setting 2022-07-01 08:12:08 +02:00
if_igc.h
igc_api.c igc: Use hardware routine for PHY reset 2021-11-08 23:33:10 +10:00
igc_api.h igc: Use hardware routine for PHY reset 2021-11-08 23:33:10 +10:00
igc_base.c
igc_base.h
igc_defines.h
igc_hw.h igc: Update PCI IDs 2022-05-15 15:09:58 -07:00
igc_i225.c Default to always accepting the PHY that's present. Linux did 2022-02-26 18:29:08 -07:00
igc_i225.h
igc_mac.c
igc_mac.h
igc_nvm.c
igc_nvm.h
igc_osdep.h
igc_phy.c Fix 'take effect' spelling in menus and comments. 2021-11-18 23:22:12 -07:00
igc_phy.h igc: Use hardware routine for PHY reset 2021-11-08 23:33:10 +10:00
igc_regs.h
igc_txrx.c igc: Remove redundant IFCAP_VLAN_HWTAGGING check 2021-12-29 09:37:34 -07:00