summaryrefslogtreecommitdiff
path: root/sys/conf
AgeCommit message (Collapse)Author
2021-01-13kernel, sysctl(8): remove dead variable: tickadjcheloha
The global "tickadj" variable is a remnant of the old NTP adjustment code we used in the kernel before the current timecounter subsystem was imported from FreeBSD circa 2004 or 2005. Fifteen years hence it is completely vestigial and we can remove it. We probably should have removed it long ago but I guess it slipped through the cracks. FreeBSD removed it in 2002: https://cgit.freebsd.org/src/commit/?id=e1d970f1811e5e1e9c912c032acdcec6521b2a6d NetBSD and DragonflyBSD can probably remove it, too. We export tickadj via the kern.clockrate sysctl(2), so update sysctl.2 and sysctl(8) accordingly. Hypothetically this change could break someone's sysctl(8) parsing script. I don't think that's very likely. ok mvs@
2020-11-17Split imxiic(4) into the FDT-attachment code and the i.MX I2C codePatrick Wildt
in preparation for upcoming ACPI-attachment. ok kettenis@
2020-09-30renable POOL_DEBUGJonathan Gray
ok deraadt@
2020-09-306.8-currentJonathan Gray
ok deraadt@
2020-09-25take us out of -betaTheo de Raadt
2020-09-22disable POOL_DEBUG in preparation for releaseSebastian Benoit
ok deraadt@
2020-08-31crank to 6.8-betaTheo de Raadt
2020-07-20__main() is no longer used by any of our toolchainsTheo de Raadt
this fell out of a discussion with mortimer ok kettenis
2020-07-06tell the kernel how to build kstatDavid Gwynne
it's like ksyms, but different
2020-06-23enable wg(4).David Gwynne
this will make testing easier for everyone. from Jason A. Donenfeld and Matt Dunwoodie ok deraadt@ tobhe@
2020-06-21add a commented out entry for wg(4).David Gwynne
i think ive tempted fate enough for one day.
2020-06-21tell config how to build wg(4)David Gwynne
2020-06-17wire intrmap into the buildDavid Gwynne
2020-06-16wire stoeplitz code into the tree.David Gwynne
2020-05-09reenable POOL_DEBUGChristian Weisgerber
2020-05-07post-6.7 development continuesTheo de Raadt
2020-05-04leave -beta.Theo de Raadt
2020-04-26disable POOL_DEBUG in preparation for releaseSebastian Benoit
ok deraadt@
2020-04-15Add bse(4) device to unbreak build.Patrick Wildt
noticed by tobhe@ diff from kettenis@ (who forgot to commit this bit)
2020-04-05crank to 6.7-betaTheo de Raadt
2020-03-02Add rkdwhdmi(4), a driver for the HDMI transmitter found on the RockchipMark Kettenis
RK3399 SoC. ok patrick@
2020-01-24cleanup unused headers generated by configJonathan Gray
ok tedu@ krw@ deraadt@
2020-01-24remove unreferenced ncr5380 driver filesTed Unangst
ok jsg
2020-01-24Nuke references to zaurus zombies.Kenneth R Westerback
ok tedu@ jsg@
2020-01-21Import dt(4) a driver and framework for Dynamic Profiling.Martin Pieuchot
The design is fairly simple: events, in the form of descriptors on a ring, are being produced in any kernel context and being consumed by a userland process reading /dev/dt. Code and hooks are all guarded under '#if NDT > 0' so this commit shouldn't introduce any change as long as dt(4) is disable in GENERIC. ok kettenis@, visa@, jasper@, deraadt@
2020-01-11remove sli(4)Jonathan Gray
This driver was never completed. It only mapped memory and established an interrupt. ok krw@ mlarkin@ dlg@
2020-01-10remove dpt(4) driver for DPT EATA SCSI RAIDJonathan Gray
Not built since 2006, and a mail from 2004 mentions no one having hardware. Unsurprisingly it does not build with clang. ok mlarkin@ krw@ deraadt@
2019-12-05Move uvmexp_print() to a better place.Martin Pieuchot
ok mlarkin@
2019-11-05Kill uvm_deallocate(9) and use uvm_unmap() directly.Martin Pieuchot
ok kettenis@, semarie@, deraadt@
2019-11-04remove mobileip(4)David Gwynne
noone seems to use it, and we should not encourage people to use it by having it available. it's been disabled for most of the last release and noones asked for it in 6.6, so i'm taking that as an ok for this removal.
2019-10-12renable POOL_DEBUGChristian Weisgerber
2019-10-12we are now hacking on 6.6-currentTheo de Raadt
2019-10-05src/sys/netinet/ip_ether.c is empty, and gif doesn't need it.David Gwynne
gif may have needed it when you could switch modes with gif, but now that's handled by if_etherip.c. ip_ether.c is empty, so we can plan to remove it. ok visa@ jca@ deraadt@
2019-10-04disable POOL_DEBUG for releaseJonathan Gray
ok deraadt@
2019-10-01stop this -current stuffTheo de Raadt
2019-09-29Replace dwge(4) with a new driver based on dwxe(4). There are manyMark Kettenis
similarities between the two and using a common approach helps fixing bugs. The new driver is better integrated with the device tree framework and is faster (mainly because the DMA engine is configured properly now). Tested on all currently supported variants of the hardware. ok jsg@, jmatthew@
2019-09-07Remove tz, the kernel timezone.cheloha
After removing timezone support from date(1), msdosfs, gettimeofday(2), settimeofday(2), boot_config(8), config(8), and introducing kern.utc_offset sysctl(2) to replace the DST/TIMEZONE options(4) to support running the RTC at an offset from UTC, the kernel timezone is unused and we can delete it. With this commit the kernel timezone now appears to be extinct in upstream BSD, though it does survive in XNU: https://github.com/opensource-apple/xnu/blob/0a798f6738bc1db01281fc08ae024145e84df927/bsd/conf/param.c#L83 Prompted by tedu@ some time back, and inspired by NetBSD and FreeBSD's work in this area. ok deraadt@
2019-08-21sysctl(2): add kern.utc_offset: successor to the DST/TIMEZONE options(4)cheloha
The DST and TIMEZONE options(4) are incompatible with KARL, so we need some other way to compensate for an RTC running with a known offset. Enter kern.utc_offset, an offset in minutes East of UTC. TIMEZONE has always been minutes West, but this is inconsistent with how everyone else talks about timezones, hence the flip. TIMEZONE has the advantage of being compiled into the binary. Our new sysctl(2) has no such luck, so it needs to be set as early as possible in boot, from sysctl.conf(5), so we can correct the kernel clock from the RTC's local time to UTC before daemons like ntpd(8) and cron(8) start. To encourage this, kern.utc_offset is made immutable after the securelevel(7) is raised to 1. Prompted by yasuoka@. Discussed with deraadt@, kettenis@, yasuoka@. Additional testing by yasuoka@. ok deraadt@, yasuoka@
2019-08-10really crank to 6.6-betaChristian Weisgerber
2019-08-10move to 6.6-betaTheo de Raadt
2019-08-02per-process itimers: itimerval -> itimerspeccheloha
Loongson runs at 128hz. 128 doesn't divide evenly into a million, but it does divide evenly into a billion. So if we do the per-process itimer bookkeeping with itimerspec structs we can have error-free virtual itimers on loongson just as we do on most other platforms. This change doesn't fix the virtual itimer error alpha, as 1024 does not divide evenly into a billion. But this doesn't make the situation any worse, either. ok deraadt@
2019-08-01enable tpmr(4) so people can try it.David Gwynne
2019-08-01wire up tpmr(4), an 802.1Q Two-Port MAC Relay implementationDavid Gwynne
2019-07-16Prevent integer overflow in kernel and userland when checking mbufAlexander Bluhm
limits. Convert kernel variables and calculations for mbuf memory into long to allow larger values on 64 bit machines. Put a range check into the kernel sysctl. For the interface itself int is still sufficient. In netstat -m cast all multiplications to unsigned long to hold the product of two unsigned int. input and OK visa@
2019-07-08Remove trailing whitespace from a macroMike Larkin
ok deraadt
2019-07-08uncomment aggr(4) to make it easier for people to tryDavid Gwynne
2019-07-05add aggr, but leave it commented out for now.David Gwynne
it needs to be a bit more robust before making it more available to try.
2019-07-05wire up aggrDavid Gwynne
2019-05-04Improve the interaction between efifb(4), inteldrm(4) and radeondrm(4)Mark Kettenis
when we have a serial console by introducing the notion of a "primary" graphics device. The primary graphics device is the one set up and used by firmware (BIOS, UEFI). The goal is to make sure that wsdisplay0 and drm0 reliably attach to the primary graphics device such that X works out of the box even if you have multiple cards or if you are using a serial console. This also fixes the situation where inteldrm(4) or radeondrm(4) would take over the console on UEFI systems even if the kernel was booted with a serial console. ok jsg@
2019-04-28the bufcachepercent=80 experiment has exposed a few problems...Theo de Raadt