summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-03-23Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.Paul Irofti
Discussed and okay drahn@. Okay deraadt@.
2011-03-23renegade tabs, no binary changeMarco Peereboom
2011-03-23only read from the UART if there is something to read. fix beagle, otherwiseFederico G. Schwindt
it will crash with 'External Non-Linefetch Abort (S)'. similar diff provided by drahn@. tested by jasper@, deraadt@ ok.
2011-03-23Don't process ICMP6 redirects by default anymore. This is in line withClaudio Jeker
what we do for IPv4. rtsol will turn it back on if -F is used. After discussion with bluhm@, fgsch@, sthen@ and deraadt@ OK sthen@
2011-03-23With pf IPv6 fragment reassembly, a large packet gets refragmentedAlexander Bluhm
by pf in the forward path. To avoid dropping the unfragmented packet in ip6_forward(), move the MTU size check behind pf_test6(). ok claudio@
2011-03-22Extract the new function ip6_fragment() from ip6_output() to makeAlexander Bluhm
it reusable by pf. ok claudio@
2011-03-22Increase number of EBRs we can transit looking for the OpenBSD partitionKenneth R Westerback
to 256 from 8. 256 ought to be enough for anyone.
2011-03-22no need for a xxxpower function; ok drahnTheo de Raadt
2011-03-22silently clear the endpoint when the device has failed; ok jakemsrTheo de Raadt
2011-03-22renegade spaces; no binary changeMarco Peereboom
2011-03-22Support for NetMos Nm9922 dual serial port cardsMike Larkin
ok deraadt@
2011-03-22Support for NetMos Nm9922 dual serial port cardsMike Larkin
ok deraadt@
2011-03-22Support for NetMos Nm9922 dual serial port cardsMike Larkin
ok deraadt@
2011-03-20When reading MXCSR from userland sigcontext or a ptrace request,Philip Guenthe
mask out invalid bits to prevent a protect fault. Original diff by joshe@; further feedback and ok kettenis@
2011-03-20Update URI to data sheet. New location found on www.davicom.com.tw butMichael Knudsen
points to some other domain for some reason. Noticed while looking into a udav(4) issue with Loganaden Velvindron. OK jasper
2011-03-20changes the values of boolean comparisons from 0:1 to 0:-1 (from ACPI Spec) ↵Jordan Hargrave
in order to fix an AML issue on some Asus machines. ok marco@
2011-03-19move to 64-bit daddr_t; ports tree will follow i hopeTheo de Raadt
2011-03-19Make amd64/i386 installboot error out if /boot would cross theKenneth R Westerback
BOOTBIOS_MAXSEC line. ok deraadt@.
2011-03-19Add the ONDA MSA110UP USB modemDavid Coppa
Tested by Sergio Charpinel Jr. OK sthen@, jsg@
2011-03-19syncDavid Coppa
2011-03-19Add the ONDA MSA110UP USB modemDavid Coppa
Tested by Sergio Charpinel Jr. OK sthen@, jsg@
2011-03-19Repair spoofing. We want to start at 'i', not 'j'.Kenneth R Westerback
Spotted by deraadt@.
2011-03-18Fix stdetach() to call vdevgone() with the right device minor numbers.Matthew Dempsky
Some stylistic tweaks after discussions with krw@ and deraadt@. ok krw@; "Lovely" deraadt@
2011-03-18Add some delay between a successful keyboard reset sequence and a keyboardMiod Vallat
layout inquiry, as some PS/2 converters (at least the Starview SV 125) need it to behave correctly. Found the hard way and researched by Mike Malopolski, thanks!
2011-03-18Fix obj directory probing to support cross compiling.Matthew Dempsky
"Go for it" deraadt@
2011-03-18Fix firmware loading at startup (and resume); from Tim van der MolenTheo de Raadt
based on discussion with damien; tested by others on the lists
2011-03-18Old-style MTRRs were never used on amd64, so remove the remaining tracesPhilip Guenthe
of them, as well as some other unused proc md_flags bits: MDP_COMPAT and MDP_SYSCALL. ok mikeb@
2011-03-18Add ukdetach() so that detaching an unknown SCSI device doesn't resultMatthew Dempsky
in a kernel panic. ok krw@
2011-03-17- recognize OMAP3630/DM3730, as found in the beagleboard xMJasper Lievisse Adriaanse
ok drahn@
2011-03-17Uncommitted bits. Spotted by deraadt@, who theorizes I have insuffientKenneth R Westerback
sushi level.
2011-03-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
to be in the right address space. help from matthew and krw
2011-03-17make more dma pools -- all the way up to 64K. at least the scsiTheo de Raadt
SCIOCCOMMAND wants a dma'able object that big. should we handle this another way, by handling that data in a buf? ok krw
2011-03-17Ansify non-ansified function definitions. No functional change.Alexandr Shadchin
ok miod@
2011-03-17Make the various findopenbsd() functions non-recursive, eliminatingKenneth R Westerback
a global, a couple of parameters, and opening up possibility of traversing much longer EBR lists without blowing the stack. Make seach algorithm the same as used in kern/subr_disk.c by checking all primary partitions in the MBR/EBR before moving to next EBR. This makes it more likely that everybody finds the same OpenBSD partition. Largely from a diff posted to tech@ by ucsavl.
2011-03-16revert previous as it breaks nfs client as reported by kili@Jasper Lievisse Adriaanse
req'd by jsg@
2011-03-16Recognize LM6002 as prefix for earlier Fuloong designs, and also recognizeMiod Vallat
prefixless `1.2.*' version information as LM6002, with a warning message as their may be surprises if there are non-Fuloong prototypes in the wild ever with 1.2 PMON code. Per discussion with Roland Kammerer who is the happy owner of an LM6002.
2011-03-16If we get a packet larger than if_hardmtu skip it.Jonathan Gray
Tweaked version of a diff from Loganaden Velvindron who sees a large garbage frame on his device.
2011-03-15unbreak tree for nested endian.h includesTheo de Raadt
2011-03-15Bunch of white space and style adjustments to make amd64 versionKenneth R Westerback
the same as i386 version. No change to .o file except for the one %lld -> %u format fix.
2011-03-15Attach one sensordev per softraid device rather than one sensordev perJoel Sing
discipline. This results in a drive sensor being attached for each volume under the same sensordev, instead of having multiple sensordevs each with a single drive. Fixes PR6576. Tested by Mattieu Baptiste. ok deraadt@
2011-03-14Clamp BIOS io attempts to < 2 ^28 - 1 sectors (a.k.a. 128GB forKenneth R Westerback
512-byte sectors) as some BIOSen get confused when we ask for sectors higher up. Uss u_int throughout the boot code to calculate sector addresses, since 32 bits is enough to do 28 ^ 1 - 1 arithmetic. Add checks for wraparound. I can now install and boot from the 7th extended partition below 128GB. Much feedback & guidance from deraadt@. Also from weingart@ on BIOS io. ok deraadt@ (less a couple of minor tweaks found in testing)
2011-03-14Don't confuse limiting spoofed partitions with limiting how manyKenneth R Westerback
EBRs to follow looking for the OpenBSD partition. Just stop spoofing if necessary.
2011-03-14use DPLL5 as a 120MHz reference clock to be used by the usb subsystem whichJasper Lievisse Adriaanse
previously had no clue and would crash. feedback/ok drahn@
2011-03-14Support pieces for usb (not working just yet).Dale Rahn
2011-03-14- replace a magic number with an address define, as checked againstJasper Lievisse Adriaanse
the omap3530 and dm3730 datasheets. ok drahn@
2011-03-14fixed a use-after-free bug introduced at 1.7 in pipex_mppe_output().YASUOKA Masahiko
ok dlg@ tested by jono
2011-03-14fix typoYASUOKA Masahiko
patch from Gleydson Soares ok dlg@
2011-03-14Accept broadcast frames so MCR0_BROADCAST bit must be zero;Kevin Lo
from Anton Maksimenkov
2011-03-14When a process reads from a spliced socket that already got anAlexander Bluhm
end-of-file but still has data in the receive buffer, soreceive() should block until all data has been moved. To make kqueue work with socket splicing, it has to report spliced sockets as non-readable. ok deraadt@
2011-03-14Fix spelling in commentPhilip Guenthe