Justin Hibbits
59dc03deec
Mechanically convert jme(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37839
2023-02-06 12:32:09 -05:00
Justin Hibbits
61c05f13d2
Mechanically convert fwe(4) and fwip(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37850
2023-02-06 12:32:09 -05:00
Justin Hibbits
3fba06ad13
Mechanically convert sbni(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37822
2023-02-06 12:32:09 -05:00
Justin Hibbits
7c509be1c6
Mechanically convert if_et(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37810
2023-02-06 12:32:08 -05:00
Justin Hibbits
3ac0cb328a
Mechanically convert if_vge(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37801
2023-02-06 12:32:08 -05:00
Justin Hibbits
ac8e2243b8
Mechanically convert if_rl(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37803
2023-02-06 12:32:08 -05:00
Justin Hibbits
0d1025348b
Mechanically convert if_vr(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37798
2023-02-06 12:32:07 -05:00
Justin Hibbits
3486b83504
Mechanically convert if_vte(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37796
2023-02-06 12:32:07 -05:00
Justin Hibbits
6712df3ab0
Mechanically convert if_ste(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37794
2023-02-06 12:32:07 -05:00
Justin Hibbits
c0e5e270a5
Mechanically convert if_bfe(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37791
2023-02-06 12:32:06 -05:00
Justin Hibbits
de17d6f9a6
Mechanically convert if_ti(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37806
2023-02-06 12:32:06 -05:00
Justin Hibbits
2568cd2ae9
Mechanically convert if_plip(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37854
2023-02-06 12:32:06 -05:00
Justin Hibbits
76614fdc8c
Mechanically convert iwi(4) and iwn(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37849
2023-02-06 12:32:05 -05:00
Justin Hibbits
3f14814f05
Mechanically convert ae(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37786
2023-02-06 12:32:05 -05:00
Justin Hibbits
47842ecfe0
Mechanically convert if_tsec(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37805
2023-02-06 12:32:05 -05:00
Justin Hibbits
a6c0f09aa3
ath(4) IfAPI fixups
...
Use the if_getcounter() IfAPI instead of accessing the ifnet directly.
Sponsored by: Juniper Networks, Inc.
2023-02-06 12:32:05 -05:00
Doug Ambrisko
9c067b844f
enic: Cisco VIC driver
...
This driver is based of the enic (Cisco VIC) DPDK driver. It provides
basic ethernet functionality. Has been run with various VIC cards to
do UEFI PXE boot with NFS root.
2023-02-06 08:46:02 -08:00
Elliott Mitchell
dcb4b13816
xen/timer: rename "timer.c" to "xen_timer.c"
...
The better to avoid conflicting with other files given how "timer.c"
isn't a very unique name. ARM and RISC-V both have timer.c files.
Reviewed by: royger, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/609
Differential Revision: https://reviews.freebsd.org/D36258
2023-02-05 10:50:50 -07:00
Aymeric Wibo
8d5fef85f0
ietp(4): Load dummy HID report descriptor if mangled
...
Some Elantech trackpads have a mangled HID report descriptor, which
reads as having an incorrect input size (i.e. < IETP_REPORT_LEN_LO).
If the input size is incorrect, load a dummy report descriptor.
Reviewed by: wulf
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D38387
2023-02-05 18:32:08 +03:00
Yuri
e4d3f1e40a
hv_hid: Hyper-V HID driver
...
Hyper-V HID driver using hidbus/hms.
Reviewed by: wulf
MFC after: 1 week
PR: 221074
Differential revision: https://reviews.freebsd.org/D38140
2023-02-05 18:32:08 +03:00
sadaszewski
8362905cb6
coretemp: Only log critical temperature events
...
According to the Intel manual
https://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-vol-3b-part-2-manual.pdf
the Thermal Status (0) and Thermal Status Log (1) bits report only a
high temperature on the CPU, not a critical temperature as suggested in
the coretemp driver. Check the Critical Temperature Log (5) instead.
The critical temperature waives guarantees of correct function,
therefore the CPU could have for example written some wrong values into
memory at that point and the OS should be stopped ASAP as the state is
no longer reliable.
Reviewed by: imp (confirmed descriptions of bits, linux ignores these bits)
Pull Request: https://github.com/freebsd/freebsd-src/pull/562
2023-02-04 22:05:48 -07:00
ev
0cec5b99b3
usb/u3g: Add support for QUECTEL EP06-E 4G modem
...
Add QUECTEL EP06-E modem support via USB for FreeBSD.
Tested and works like a ppp on FreeBSD-13.
Reviewed by: imp
PR: 269326
2023-02-04 20:48:41 -07:00
Michael Paepcke
848ac8451b
usb: Remove obsolete Huawei 3G from usbdevs
...
- remove Huawei 3G E3131 (E3131_INIT):
- frees up 0x1505/0x14fe shared IDs => product is EOL (since...)
- 3G networks are shutdown/scheduled
- E3131 devices will still work the same via scsi_huawei_eject2
- new 4G devices will switch & report correctly now
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/633
2023-02-04 14:27:09 -07:00
Michael Paepcke
e66352013a
usb: add support for Huawei E5573Cs322
...
Switch the now added E5573Cs322_ECM (0x14db) as well per default to NCM.
With this patch we default all devices to simple NCM mode to avoid the
problem and get a consistent reliable behavior. No matter what firmware
version and provider mix are involved.
Rationale:
Even the bigger SOC shows under complex load in ECM (double-nat) mode
the same performance drop from 25Mbit to 2Mbit Line Speed, similar to E3372h.
Reason: Thermal problems (reported via serial debug interface in ACM Mode)
after 2-3 minutes load.
Fix the root cause and bundle a working firmware is out of reach because
Huawei sells the same hardware, different (crippled) firmware versions
at different price points in different markets as strategy.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/633
2023-02-04 14:27:09 -07:00
Michael Paepcke
1997d3a4a9
usb: add new scsi_huawei eject3 & eject4 driver support
...
Add initialization for new Huawei 4G E3372_NCM, E3372v153_NCM,
E5573Cs322_NCM, E5573Cs322_ECM, and E5573Cs322_ACM.
Remove now-obsolete Huawei 3G E3131 init sequence. These devices are
obsolete, share IDs with new devices and the 3G networks are shutdown.
These old devices work correctly via the 4G code while still allowing
the shared IDs to work differently for the new devices.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/633
2023-02-04 14:27:08 -07:00
Michael Paepcke
7d4b2b5834
usb: add new scsi_huawei eject3 & eject4 sequences
...
Add new Huawei eject3 and eject4 command sequences.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/633
2023-02-04 14:27:08 -07:00
Michael Paepcke
64fd867f8c
usb: add new scsi_huawei eject3 & eject4 quirks
...
Add new scsi_huawei eject3 & eject4 mode driver to usb quirks
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/633
2023-02-04 14:27:08 -07:00
Michael Paepcke
2c6b88da71
usb: Add Huawei 4G Modem devices (2022) to usbdevs
...
ADD [sys/dev/usb/usbdevs]
- add new Huawei 4G E3372_NCM 0x1505
- add new Huawei 4G E3372v153_NCM 0x155f
- add new Huawei 4G E5573Cs322_NCM 0x155e
- add new Huawei 4G E5573Cs322_ECM 0x14db
- add new Huawei 4G E5573Cs322_ACM 0x1442
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/633
2023-02-04 14:27:08 -07:00
Elliott Mitchell
da6ae2cf17
rtwm: purge EOL release compatibility
...
Remove FreeBSD 11 support
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:10 -07:00
Elliott Mitchell
5fa1833514
wmt: purge EOL release compatibility
...
Remove FreeBSD 11 support
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:10 -07:00
Elliott Mitchell
263261e519
rtsx: purge EOL release compatibility
...
Remove support for FreeBSD 11 and earlier
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:09 -07:00
Elliott Mitchell
1c5e687117
mlx5: purge EOL release compatibility
...
Remove FreeBSD 10 support code
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:09 -07:00
Elliott Mitchell
026babd427
mlx4: purge EOL release compatibility
...
Remove FreeBSD 10 support code.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:09 -07:00
Elliott Mitchell
b02a397789
hyperv: purge EOL release compatibility
...
Remove FreeBSD 11 and earlier support
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:09 -07:00
Elliott Mitchell
5d1c658b47
hptmv: purge EOL release compatibility
...
Drop support for pre-FreeBSD 11
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:09 -07:00
Elliott Mitchell
33f6a4e90f
acpica: purge EOL release compatibility
...
Remove obsolete check for FreeBSD >= 11
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:09 -07:00
Elliott Mitchell
21e0b50796
qlnxr: cleanup secondary effects from EOL purge
...
DEFINE_ALLOC_MR became unconditionally true, but it isn't used anywhere
now. Several places depended upon DEFINE_IB_FAST_REG, but that is now
always false.
Similarly DEFINE_IB_UMEM_WITH_CHUNK became always false/undefined.
DEFINE_IB_AH_ATTR_WITH_DMAC is now unconditionally true.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:09 -07:00
Elliott Mitchell
bbe35708ad
qlnx: purge EOL release compatibility
...
Drop code that supproted FreeBSD 10 and 11.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:08 -07:00
Elliott Mitchell
097e192a9c
iavf: purge EOL release compatibility
...
Drop code that differentiated between FreeBSD 10 and 11
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:08 -07:00
Elliott Mitchell
407912909a
ixl: purge EOL release compatibility
...
Drop code that differentiated between FreeBSD 10 and 11.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:08 -07:00
Elliott Mitchell
bd78d17c33
qlxgbe: purge EOL release compatibility
...
Drop code that differentiated between FreeBSD 10 and 11.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:08 -07:00
Elliott Mitchell
af0e1ece37
qlxge: purge EOL release compatibility
...
Drop code ensuring FreeBSD 9 or newer
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:08 -07:00
Elliott Mitchell
ecfb9e4e12
qlxgb: purge EOL release compatibility
...
Remove code for FreeBSD 7, 8 & 9 and a warning that older versions
weren't supported.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:13:08 -07:00
Elliott Mitchell
862dd0d214
mmc: purge EOL release compatibility
...
Remove support for FreeBSD 7 needed for a product that's not shipped
FreeBSD 7 in ~15 years....
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:11:13 -07:00
Elliott Mitchell
29a4a60fff
ixgbe: purge EOL release compatibility
...
Remove support for pre FreeBSD 8.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:11:05 -07:00
Elliott Mitchell
757cb555ae
e1000: purge EOL release compatibility
...
Remove support for releases before FreeBSD 8.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:11:03 -07:00
Elliott Mitchell
6147584bc0
mxge: cleanup from purging EOL release compatibility
...
The FreeBSD version was being used to trigger preprocessor conditionals
IFNET_BUF_RING and MXGE_VIRT_JUMBOS. Since those are no longer
conditional, purge their effects.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:11:01 -07:00
Elliott Mitchell
c98b837ad0
mxge: purge EOL release compatibility
...
Remove FreeBSD 7, 8, 9 and 10 compatibility code.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:10:57 -07:00
Elliott Mitchell
721d3e7e9a
mrsas: purge EOL release compatibility
...
Remove FreeBSD 7, 8, 9 and 10 compatibility code.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:10:36 -07:00
Elliott Mitchell
24c0ba96f1
mpt: purge EOL release compatibility
...
Remove FreeBSD 7.x and earlier compatibility.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
2023-02-04 09:10:34 -07:00