summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-06-29this stupid per-arch SIZEOF_BPF_HDR define is really really stupid, butTheo de Raadt
for now add __sparc64__ to the list (ridiculous as it seems, but that is the best we know to do so far) ok miod
2008-06-29Don't fail compilation if APERTURE is not defined.Anders Magnusson
Also, fail probe if APERTURE is not defined. Ok Marc Balmer.
2008-06-29add usb2.0 to usb1.1(ohci/uchi) handover request to usb subsystem.Yojiro Uo
add new quirk entry for uvideo which is required isoc transfer. Some usb2.0 devices use isochronous transfer but current usb subsystem does not support isoc transfer in ehci(usb2.0) bus. This patch introduce new psuedo usb hub request UHF_PORT_DISOWN_TO_1_1 to handover the device to ehci to usb1.1 bus(ohci or uhci). ok mglocker@ deraadt@ fgsch@
2008-06-29Simplify state creation code; merge state import/export code between pfsyncRyan Thomas McBride
and the state-related pf(4) ioctls, and make functions in state creation and destruction paths more robust in error conditions. All values in struct pfsync_state now in network byte order, as with pfsync. testing by david ok henning, systat parts ok canacar
2008-06-29Split k8_powernow_setperf into two functions, the new function calledGordon Willem Klok
k8pnow_transition handles the actual transition, this change is necessitated by some of the ACPI work which can involve dynamic changes in the available states in response to endogenous events such as removing the AC power. This new code is designed to cope with the current operating point not being among the newly available states in which case we recalculate what the current desired performance level coresponds to among the new states. Also fix a screw up with the acpi_states function (fix originally by Markus Hennecke in a diff to tech@ thanks) which resolves PR 5854. Diff tested by numerous people thanks! ok marco@
2008-06-29Revert 1.8, and reenable branch prediction on swift cpus. Ten years of trap.cMiod Vallat
and locore.s changes have fixed the condition incorrectly blamed on branch prediction, and these processors run fine with it enabled.
2008-06-29new belkin rum with california designed plasticTheo de Raadt
2008-06-29syncTheo de Raadt
2008-06-29another new belkin rum. says on it "designed in california, made in china".Theo de Raadt
inside, it has a board designed by ralink in taiwan. i guess that people in california now have sunk so far in their skills they just "design" the plastic shrouds for the devices now.
2008-06-28no EOL between tcpsig and sack headers; ok jsing, frantzenMarkus Friedl
2008-06-27uvm_pglistalloc() works by walking the physical address range it gets invokedMiod Vallat
with, trying to find free pages matching the callers requirement. However, on systems with noncontiguous memory and large gaps between segments, this is a disaster as soon as one of these gaps is hit. Rewrite the logic by iterating on the physsegs, and the on the intersection of the physseg range and the callers range. This also frees us from having to check whether a given page range crosses a physseg.
2008-06-27Do not disallow kernel crash dumps on panic if swap encryption is enabled,Miod Vallat
as dumpsys() will now clear the sensitive information. ok djm@ (and dumpsys changes too)
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27Hook up the blinkenleds.Jonathan Gray
Lets cards like the 1261ML with SGPIO sideband on Mini SAS, control locator LEDs through bioctl. ok dlg@
2008-06-27Access the embedded controller according to the documentation referencedCan Erkin Acar
from the hdaps linux driver, and update model detection. Now works on newer thinkpad models. Suggestions from jsg@, tested by many.
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
OK deraadt@ and millert@
2008-06-27Add uvideo(4).Brad Smith
ok mglocker@
2008-06-27add bio & bioctlTodd T. Fries
ok deraadt@
2008-06-26Label switch statement with /* FALLTHROUGH */; inspired by twoBret Lambert
wasted hours tracking down a phantom mbuf leak. ok thib@
2008-06-26add bio & bioctlTodd T. Fries
ok deraadt@
2008-06-26Make video stream work properly on uhci and ohci by adding an ohciMarcus Glocker
isoc xfer workaround. Improved and OK deraadt@
2008-06-26Kill the silly ``drm_device_t'' and ``drm_file_t'' typedefs. just useOwain Ainsworth
``struct drm_device'' and ``struct drm_file'' respectively. Since i'm changing a lot of prototypes anyway, remove all parameter names from prototypes, in accordance with style(9) (and sanity).
2008-06-26Kill the device_t and vm_offset_t typedefs.Owain Ainsworth
2008-06-26Since we're not ifdefed anymore, changeOwain Ainsworth
drm_{open,close,poll,read,mmap,ioctl} into the form that cdev_decl() likes, and nuke the #defines.
2008-06-26Kill the ifdefs in drmP.h too, it's meant to be os specific.Owain Ainsworth
While i'm here cleanup some duplicated #includes and reorder slightly.
2008-06-26Kill drm_sysctl.c and all references to it.Owain Ainsworth
All the code was ifdefed out anyway and it wasn't really useful.
2008-06-26Kill the rest of the ifdef maze in drm_*.cOwain Ainsworth
I was going to do this per file, but decided all it would achieve was artificially increasing my commit count. >Kill the ifdef maze. I've been considering doing this for months, it >doesn't make getting changes to and from upstream much easier, and just >makes the code hard to read.
2008-06-26add bio & bioctl to a couple cd based ramdisksTodd T. Fries
ok deraadt@
2008-06-26Kill the ifdef maze. I've been considering doing this for months, itOwain Ainsworth
doesn't make getting changes to and from upstream much easier, and just makes the code hard to read.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-26Fix sticky-address on rdr; With the current nat code, we always use the sameRyan Thomas McBride
address in the NATed state key for translation regardless of direction. Report and testing by david@
2008-06-26Typo, CMD -> AMDBrad Smith
2008-06-25Move .rodata 512KB further, since kernels will soon reach the address .rodataMiod Vallat
is currently linked at. This should eventually be replaced with a proper alignment construct in the ld script, but it's too hot and too late to do this correctly and I need a kernel that links (containing stuff to reach a cvs tree near you reasonably soon).
2008-06-25Support the Intel G35 which apparently works similarly to the 965.Owain Ainsworth
Initial information, half the diff, and testing from Andrew Lutomirski, thanks!
2008-06-25do not print scsi id, since scsibus does that now; ok krwTheo de Raadt
2008-06-25use pools for the uio and iovec allocations in sr_crypto_getcryptop()Thordur I. Bjornsson
instead of malloc; OK hshoexer@ and macro@
2008-06-25this diff changes the bootloader to skip the CHS sanity check if LBAReyk Floeter
(EDD) is found and OK. it will also fix chainloading into OpenBSD from grub in a few scenarios where grub doesn't report the CHS correctly but the LBA. and we don't need CHS if there is LBA. this has been in the snapshots for a while. with input from weingart@ ok deraadt@
2008-06-25auglx(4) is an audio(4) driver for the AC'97 audio codec found onMarc Balmer
some AMD Geode LX systems with CS5536 companion chip. It works similar to auich(4) and auixp(4), but the hardware dependent parts are quite different. Tested with various PC-Engines ALIX boards (1B, 3C3) and a WebDT 186 board. feedback many, ok deraadt & jmc (documentation)
2008-06-25allow to install and boot the OpenBSD A6 partition and disklabel in anReyk Floeter
extended DOS partition. the concept of extended partitions is very simple, it is just another mbr at the partition offset (well, the standard "EBR" is a linked list with a few limitations, but this diff works with both variants). this diff has been in the snapshots for a while. with input from weingart@ and krw@ ok deraadt@
2008-06-25Implement _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX,Todd C. Miller
and _SC_THREAD_SAFE_FUNCTIONS for sysconf(3). OK deraadt@
2008-06-25implement automatic time-based rekeying (every 10 minutes); ok deraadt@Damien Miller
2008-06-24Fixed a problem that would cause errors (especially when in low memoryBrad Smith
systems) because the RX chain was corrupted when an mbuf was mapped to an unexpected number of buffers. From davidch@FreeBSD
2008-06-24On user/kernel shared page table machines, do not let processes map theirTheo de Raadt
own page 0, as discussed with miod (and many others previously, including art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant ok miod tedu
2008-06-24Thinkpad -> ThinkPadIgor Sobrado
2008-06-24regenBrad Smith
2008-06-24- Rename the QuickCam Sphere AF to Orbit since the other Orbit MPBrad Smith
entries also share the same id between Orbit MP and Sphere MP models. - Fix the naming of the second QuickCam Orbit MP entry.
2008-06-23Don't bzero() the USB buffer before every xfer. This was just for debugMarcus Glocker
purposes.
2008-06-23amd64s bus_dma internals use a pointer to a lastaddr variable to keepDavid Gwynne
track of where it was up to when building dmamaps. that lastaddr variable is not initialised every time you start to load a dmamap, so it was using random stack garbage as state when first writing the sg list. fortunately the way it was used meant it was extremely unlikely to cause a problem, but why allow even that possibility? this inits lastaddr to 0 in all the callers of load_buffer. ok miod@
2008-06-22Remove the QuickCam Pro 5000 from the quirks list now that thereBrad Smith
is a UVC driver. ok robert@
2008-06-22regenBrad Smith