summaryrefslogtreecommitdiff
path: root/sys/arch/i386/conf
AgeCommit message (Collapse)Author
2024-11-04remove ability to specify root/dump/swap on st(4)Jonathan Gray
support for tape block devices was removed in 2016 ok miod@
2024-01-28set -fno-stack-protector in NORMAL_C_NOP, which is used to compileTheo de Raadt
mcount.c, in the same way that -fno-ret-protector is set (because the default ret-protector is an "always" generator). This change ensures there is never a stack protector prologue/epilogue in the functions in that file, no matter what stack protector selection algorithm is in play. ok kettenis guenther
2023-09-06revert disabling warnings for zlib on clang >= 15Jonathan Gray
no longer needed with zlib 1.3 ok tb@
2023-08-15drop MSDOSFS from i386 floppyJonathan Gray
sthen mentioned it is out of space. ok deraadt@
2023-07-20Assign wsdisplay0 to the glass console always. The same change isYASUOKA Masahiko
done for GENERIC already. ok kettenis kn
2023-07-08Move /dev/apm related acpi code to acpi_apm.c which is only built onTobias Heider
amd64 and i386. This is the first step towards a machine independent safe sleep API. tested by yasuoka@ bluhm@ ok deraadt@ kettenis@
2023-01-17remove elansc(4) driver for AMD Elan SC520 System ControllerJonathan Gray
AMD Elan SC520 has a Am5x86, 486-class processor. We require a 586-class processor. feedback from jmc@ ok miod@
2022-12-30Neuter zlib fatal warnings when building kernels and bootloaders with clang 15Jeremie Courreges-Anglas
Disable -Wdeprecated-non-prototype instead of patching zlib. Upstream plans to drop the pre-ANSI syntax soon. ok tb@ millert@
2022-06-26add a few missing drivers for recent nics, input from jmatthew kettenis ↵Stuart Henderson
mbuhl deraadt
2022-03-26grow i386 mediaTheo de Raadt
2022-03-26Enable mtw(4) on i386, macppc, and arm64.Stefan Sperling
Testing by hastings@ and myself. i386 has a media size issue, deraadt@ will sort it out.
2022-02-09Move x86-only stubs used by kern/subr_suspend.c into dev/acpi/acpi_x86.cTheo de Raadt
for sharing between i386 and amd64. ok mlarkin kettenis
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-03reuse gcu(4) comment from GENERIC fixing spellingJonathan Gray
2022-01-02Prism54 (only full-mac varients) -> Prism54 Full-MACJonathan Gray
2022-01-02contoller -> controllerJonathan Gray
2021-12-17Disable a few warning flags that were introduced and enabled by defaultPatrick Wildt
with LLVM 13.
2021-11-27stop building kernels with -Wno-uninitialized on clang archsJonathan Gray
this hides real problems that could be found at build time ok kettenis@ visa@, ok sashan@ on amd64/i386
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-10-04grow i386 media for new realtek firmwaresTheo de Raadt
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-03-07Explicitly align kernel text.mortimer
lld11 no longer quietly aligns this when given an address, so we do the alignment explicitly. ok kettenis@
2021-02-16some phy are not needed anymore since the ethernet drivers went awayTheo de Raadt
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-28Again allow COPTS= to come from the environment again, and don't lose theTheo de Raadt
SMALL_KERNEL specific variations. ok espie jsg
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-12-27Enable acpihpet on install media, because otherwise clock initializationTheo de Raadt
is just too different from GENERIC or GENERIC.MP pointed out by jsg
2020-12-09fxp does not currently fitTheo de Raadt
2020-10-16xe(4) and mtd(4) are from a long gone eraTheo de Raadt
2020-10-16ef(4), give me a breakTheo de Raadt
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-08-17base clang is now i586. SMALL_KERNEL images have historically forcedTheo de Raadt
i486 (for space-saving reasons), but we don't currently need this in bsd.rd so let's try without to see if it improves things in any way (at least until the next have a space-saving crisis)
2020-07-31like amd64:Theo de Raadt
atapiscsi is not needed here. (well maybe it changes the behaviour of the pciide subsystem a tiny bit at attach-time, but we don't have the downstream cd(4) device to attach, so let's try without)
2020-06-22enable nvme on i386.David Gwynne
ok deraadt@
2020-06-08update drm to linux 5.7Jonathan Gray
adds kernel support for amdgpu: vega20, raven2, renoir, navi10, navi14 inteldrm: icelake, tigerlake Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for helping, patrick@ for helping adapt rockchip drm and many developers for testing.
2020-03-24cope with growth, sighTheo de Raadt
2020-03-20Disable apm(4) on the floppy ramdisk and keep the cd one in sync.Otto Moerbeek
This allows FFS2 to be enabled. Has been in snaps for quite some days. With and ok deraadt@
2020-01-22rm rtfps driver. disabled and man page doesn't inspire much confidence.Ted Unangst
ok deraadt
2020-01-20remove esp at pcmcia attachment. it doesn't even compile.Ted Unangst
ok deraadt krw
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-12-08Remove kernel VM86 support.Martin Pieuchot
Its last consumer is now gone and it has certainly not been used since the introduction of PAE back in 2015. ok kettenis@, jsg@
2019-12-06Retire piixpcib(4).Martin Pieuchot
When PAE came back in 2015 the use of kvm86, required for SpeedStep on such machine, got disabled. So there's no loss of functionality. ok stsp@
2019-11-19Enable rge(4).Kevin Lo
ok deraadt@
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@
2019-11-09Retguard will start using sections named ".openbsd.randomdata.retguard.*"Philip Guenther
and not just ".openbsd.randomdata.retguard". Accept both in the kernel ldscripts so that they're placed together between the __retguard_{start,end} symbols. Similarly, match not just ".openbsd.randomdata" but also ".openbsd.randomdata.*" to pick up other random (pun intended) items. While here, stub in those retguard bits into all the ldscripts. ok deraadt@
2019-11-07The compiler -pg option implies -fno-ret-protector, as we want to disablePhilip Guenther
retguard and similar when profiling. However, that missed all the .S files, as ${PROF} wasn't added when ${NORMAL_S} was converted from direct invocation of ${AS} to instead use ${CC}. Similarly, mcount.o still had retguards as it cannot be built with -pg. So: pass ${PROF} when compiling .S files, and compile "no profiling" files with -fno-ret-protector on archs with retguard. feedback and ok mpi@ mortimer@