summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf/GENERIC
AgeCommit message (Collapse)Author
2024-11-26enable ice(4) in GENERIC and RAMDISK_CD kernels on amd64Stefan Sperling
ok deraadt
2024-11-08Add a work-in-progress version of ice(4), a driver for Intel E810 devices.Stefan Sperling
Ported from FreeBSD. This driver does not pass packets yet, lots of code is still missing. The driver will remain disabled in kernel configs until it is ready. At this stage, code for device initialization should be fairly complete. Some hardware features will require additional firmware packages to be loaded. My plan is to get things working in the basic "safe mode" first, which does not require external firmware. I will continue working on this driver in-tree, with funding from genua. Help is welcome. ok dlg@
2024-11-05Enable ixv(4)YASUOKA Masahiko
ok jan
2024-11-02Add ixv(4), a driver for virtual functions of Intel 82598EB, 82559,YASUOKA Masahiko
and X540. The driver was originally written by Intel and released as ixv driver version 1.5.32 and ported to OpenBSD by Yuichiro NAITO, naito.yuichiro at gmail.com. tested by henson at acm.org and many others. ok jmatthew
2024-09-04make psp attach to ccp as a different driverJonathan Gray
'fine with me' hshoexer, ok bluhm@
2024-08-14Introduce qwz(4), a work-in-progress port of the Linux ath12k driver.Patrick Wildt
This driver is not working yet, it's a copy of qwx(4) which bit-by-bit will be adjusted to work on the newer generation of chips. Even though this is only a minor bump over the previous generation, the changes are large enough that bringup, debugging and long-term maintenance would suffer trying to squash them into a single driver. This can be reconsidered once we have reached a stable state.
2024-08-04Add intelpmc(4), a driver for the power management controller found onMark Kettenis
various Intel SoCs. The driver takes care of calling the AML methods needed to enter low power idle states during suspend-to-idle (S0i). The driver also implements some debug code that prints the residency of various power states in dmesg. Based on some earlier code by jcs@ ok jcs@
2024-05-09Enable ufshci(4) on amd64.Marcus Glocker
ok kettenis@ deraadt@
2024-02-15qwx(4) works well enough to enableTheo de Raadt
ok stsp
2023-12-28Introduce qwx(4), a work-in-progress port of the Linux ath11k driver.Stefan Sperling
This driver is not working yet. Scanning almost works but a lot more work remains to be done. So far most of the porting work was done by myself, with some help from mpi, patrick, and kettenis. Obviously this driver remains disabled for now. Enable relevant lines in the kernel config if you want to help out with development. At present firmware files must be obtained manually and placed in the directory /etc/firmware/qwx/WCN6855/hw2.1/ This will be improved later. Thanks to the OpenBSD Foundation for supporting this effort.
2023-10-11Add initial support for Elkhart Lake ethernet to dwqe(4).Stefan Sperling
For now, only attach to PSE0/RGMII (device ID 0x4ba0) which is the only device I have access to for testing. There is a known problem where Tx throughput is lower than expected. This is being looked into. ok kettenis@
2023-09-25enable mbg(4) at pci on amd64, from Maurice JanssenTheo de Raadt
2023-07-08Add ietp driver for Elantech I2C touchpadsJoshua Stein
From Vladimir Serbinenko
2023-04-23enable iosf(4)David Gwynne
this should help some braswell and bay trail machines. it definitely helps my dell wyse 3040 avoid locking up. ok kettenis@ patrick@
2023-04-20add viogpu, a VirtIO GPU driverJoshua Stein
works enough to get a console on qemu with more work to come from others feedback from miod ok patrick
2023-03-31Enable ngbe(4).Kevin Lo
ok miod@
2022-11-11Enable icc(4). ok anton@ patrick@Matthieu Herrb
2022-10-16Add the guts for EFI runtime services support on amd64. This will be usedMark Kettenis
in the future to implement support for things like EFI variables. ok krw@ (a few others ok'ed earlier incarnations of this diff)
2022-03-08Enable mtw(4) in the build for amd64.hastings
Firmware is available via fw_update(8). ok stsp@
2022-02-08The suspend/resume code is a sticky mess of MI, MD, and ACPI sequencing.Theo de Raadt
This splits out the MI sequencing, backing it with per-architecture helper functions. Further steps will be neccesary because ACPI and MD are too tightly coupled, but soon we'll be able to use this code for more architectures (which depends on figuring out the lowest-level cpu sleeping method) ok kettenis
2022-01-04Remove commented out gtp from amd64 GENERICGreg Steuck
It has long been irrelevant as pointed out by Crystal Kolipe kolipe.c AT exoticsilicon.com ok mlarkin
2022-01-02Prism54 (only full-mac varients) -> Prism54 Full-MACJonathan Gray
2021-12-26Add address locators for the ACPI "bus" and use these to fix the order ofMark Kettenis
the com(4) devices to match the traditional order one the ISA bus. ok patrick@, anton@
2021-12-20Make mtw(4) known to the config(8) framework.hastings
Not enabled yet. Pending firmware availability. ok stsp@ jmatthew@
2021-12-16Attach com over acpi on amd64. Some hardware uses a different interruptAnton Lindqvist
assignment compared to the the legacy one supported by com over isa. This causes the console to halt once userland takes over as no interrupts are received. The actual address and irq can be read from ACPI, kettenis@ already added support for arm64 which paved the way for amd64. Some consoles that previously attached over isa are now expected to attach over acpi. Thanks to patrick@ for testing on arm64. ok kettenis@
2021-11-02Enable igc(4).Patrick Wildt
Tested by kevlo@
2021-10-25typos in comments, from jj, reported by Elyes Haouas on ircStuart Henderson
2021-10-21Remove hifn(4), safe(4), and ubsec(4) crypto drivers. They requireAlexander Bluhm
the asynchronous crypto API which makes progress in MP difficult. The hardware is rarely available. They support only obsolete crypto algorithms. Scheduling crypto tasks via PCI is probably slower than the CPU, especailly as modern CPUs have their own accelerators.
2021-09-14Enable cy(4) on amd64.Jan Klemkow
ok deraadt
2021-09-13Enable uaq(4) on amd64. Investigations into problems on other platformsJonathan Matthew
are ongoing.
2021-09-02aq(4) driver for Aquantia 1/2.5/5/10Gb/s PCIe ethernet adaptersMike Larkin
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.
2021-08-20Add ucc(4), a driver for USB HID Consumer Control keyboards. Suchanton
keyboard is a pseudo device which is used to expose audio and application launch keys. My prime motivation is to get the volume mute, increment and decrement keys to just work on my keyboard without the need to use usbhidaction(1). Looks reasonable to kettenis@ mpi@ and ok jcs@
2021-04-28Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.Alexander Bluhm
Support to skip frames is missing on arm64 and i386, but the stack traces are useful anyway. sparc64 should work, but I could not test it. Other architectures do not have stacktrace_save_at() and dynamic tracer does not link. from patrick@; OK semarie@
2021-02-04Add uhidpp(4), a driver for Logitech HID++ devices. Currently limited toanton
exposing battery sensors for HID++ 2.0 devices. Most of the code is derived from the hid-logitech-hidpp Linux driver. Thanks to Ville Valkonen <weezeldinga at gmail dot com> for testing. ok mglocker@
2021-01-23introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers.thfr
This includes ujoy_hid_is_collection() to work around limitations of hid_is_collection() until this can be combined without fallout. input, testing with 8bitdo controller, and ok brynet@ PS4 controller testing, fix for hid_is_collection, and ok mglocker@
2020-11-15Add pchgpio(4), a driver for the GPIO controllers found on modern IntelMark Kettenis
PCHs. With help from James Hastings. ok deraadt@
2020-10-27Adding IOMMU support for AMD Vi and Intel VTD (disabled)Jordan Hargrave
This creates separate domains for each PCI device and can provide protection against invalid memory access. Needed for Passthrough PCI from vmd. ok deraadt@, kettenis@ : ----------------------------------------------------------------------
2020-09-15abl(4) is a new driver to control the backlight brightness on Intel basedMarcus Glocker
Apple machines. The driver attaches through acpi(4) when the HID 'APP0002' is found. Thanks to kettenis@ for helping me sorting out the PCI bits. ok kettenis@
2020-09-12asmc0 -> asmc*Marcus Glocker
Now that asmc(4) attaches through acpi(4), other than with isa(4), acpi(4) could attach multiple SMC chips in theory, even though in practice there will be only one SMC chip per machine. Suggested and ok kettenis@
2020-09-12Make asmc(4) attach through acpi(4) instead of isa(4).Marcus Glocker
This e.g. makes the driver also work on iMac11,2. ok kettenis@, jung@
2020-06-02add acpihid(4) for ACPI HID event and 5-button array devicesJoshua Stein
ok kettenis
2020-05-31add umstc(4) for Microsoft Surface Type Cover keyboardsJoshua Stein
2020-03-06Add a PCI attachment driver for com(4). Intel has been removing legacyPatrick Wildt
I/O-Ports on recent machines. Instead the UARTs are memory mapped PCI- devices, as part of a so-called Low Power Subsystem (LPSS). Such an LPSS is also used for I2C and SPI, though they use different PCI device ids. Each LPSS contains the actual device, and some registers to control clocks, resets, etc. These private registers need to be saved and restored upon suspend/resume. Also we should read the current clock settings to calculate the frequency supplied to the device. The UART controller itself is based on Synopsys DesignWare IP, like we're used to from various ARM-based machines ok kettenis@
2020-02-15Enable iwx(4) on amd64.Stefan Sperling
2020-01-21remove a few disabled drivers that don't compile and seem unlikely toTed Unangst
become interesting in the future. ok deraadt krw
2020-01-20remove esp at pcmcia attachment. it doesn't even compile.Ted Unangst
ok deraadt krw
2019-12-23Add amdgpio(4), a driver for the GPIO controller found on newer AMDMark Kettenis
AMD SoCs/chipsets. From James Hastings
2019-12-17Add fido(4), a HID driver for FIDO/U2F security keysReyk Floeter
While FIDO/U2F keys were already supported by the generic uhid(4) driver, this driver adds the first step to tighten the security of FIDO/U2F access. Specifically, users don't need read/write access to all USB/HID devices anymore and the driver also improves integration with pledge(2) and unveil(2): It is pledge-friendly because it doesn't require any ioctls to discover the device and unveil-friendly because it uses a single /dev/fido/* directory for its device nodes. It also allows to support FIDO/U2F in firefox without further weakening the "sandbox" of the browser. Firefox does not have a proper privsep design and many operations, such as U2F access, are handled directly by the main process. This means that the browser's "fat" main process needs direct read/write access to all USB HID devices, at least on other operating systems. With fido(4) we can support security keys in Firefox under OpenBSD without such a compromise. With this change, libfido2 stops using the ioctl to query the device vendor/product and just assumes "OpenBSD" "fido(4)" instead. The ioctl is still supported but there was no benefit in obtaining the vendor product or name; it also allows to use libfido2 under pledge. With feedback from deraadt@ and many others OK kettenis@ djm@ and jmc@ for the manpage bits
2019-12-08Bye bye options KVM86 and VM86Martin Pieuchot
2019-11-18Introduce rge(4), a new driver for Realtek 8125 PCI Express 2.5Gb EthernetKevin Lo
device. "just commit!" deraadt@ "looks good to me" jmatthew@