summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-03-25regenYojiro Uo
2009-03-25add new umsm(4) device (Emobile D21LC, longcheer's OEM product)Yojiro Uo
2009-03-25add support for AES-CBC with the BCM5823 (or newer, but we don't support newerReyk Floeter
variants yet). ok deraadt@ dlg@
2009-03-25syncReyk Floeter
2009-03-25add the BCM5862 (an unsupported ubsec(4) device)Reyk Floeter
2009-03-25Revert 1.119 bulk crash workaround, because it breaks Logitech QuickCamMarcus Glocker
9000 devices. Add a XXX comment that we need to fix the bulk issue properly instead.
2009-03-24report Michael MIC failures to net80211 (can't happen yet since we doDamien Bergamini
crypto in software.) increment if_ierrors in Rx error paths.
2009-03-24fix Rx rate in radiotap.Damien Bergamini
implement SIOCS80211CHANNEL ioctl.
2009-03-24link otus(4) to the build on i386 and amd64.Damien Bergamini
2009-03-24syncTheo de Raadt
2009-03-24another ricoh uvc, this one not needing a firmware for onceTheo de Raadt
2009-03-24give up on pcn to make it all fit; ok miodTheo de Raadt
2009-03-24regenStuart Henderson
2009-03-24Add Sony 1seg tv tuner, found in some Vaio machines. Req by deraadt.Stuart Henderson
2009-03-24vm_physseg_find and VM_PAGE_TO_PHYS are both called many times in yourOwain Ainsworth
average arch port. They are also inline. This does not help, de-inline them. shaves about 1k on i386 and amd64 bsd.mp. Probably similar amounts of most architectures. "no issue" beck@ "Nuke nuke nuke... make them functions" weingart@ "this is good" art@
2009-03-24Only copy out the revents field, not the whole pollfd structure. ThisKurt Miller
allows threaded programs to concurrently update the events field while a thread is blocked in poll(2). okay deraadt@ millert@
2009-03-24Remove redundant casts.Mark Kettenis
2009-03-24Upgrade to newer firmware needed by some txp(4) variants. Fixes PR 6085.Mark Kettenis
From FreeBSD. ok deraadt@
2009-03-24only apply the strict limit on F_SETLK; ok deraadt@ fgsch@Otto Moerbeek
2009-03-23Whitespace nit in previous.Owain Ainsworth
2009-03-23turn a for (i = 0; i < size; i++) arc4random(); loop into arc4random_buf().Owain Ainsworth
Since that function is now so small (2 lines), inline it into it's only user. Shaves some bytes (104 on amd64). ok deraadt@, blambert@. djm@ liked an earlier diff.
2009-03-23Switch msk(4) over to using MCLGETI when allocating mbufs for the RX ring.Mark Kettenis
This gets rid of one of the evil jumbo allocators!
2009-03-23otus(4), a driver for Atheros AR9001U USB IEEE 802.11 devices.Damien Bergamini
more work is required but basic operations work. requires a non-free firmware to operate. partly based on source code released under the ISC by Atheros Communications for Linux, although I had to rewrite almost everything (actually I only used some .h files from the Atheros driver.) there also exists a rewrite of the Atheros driver for Linux (ar9170) but the guy decided to make the code less free by wrapping the GPL around the ISC. committed over a NETGEAR WNDA3100. ok deraadt@
2009-03-23Prevent null pointer dereference that could happen when we process an RXMark Kettenis
interrupt that was queued while stopping the interface.
2009-03-23Remove space added in last commit. Pointed out by miod@.Owain Ainsworth
2009-03-23Add missing dependency generation for assym.h (...the lack of whichPhilip Guenthe
made testers of art's affinity diff go insane) ok krw@ miod@
2009-03-23Reorganize NBIO and SMALL_KERNEL handling again but this time withoutAlexander Yurchenko
ramdisk breakage.
2009-03-23sys/types.h before other thingsTheo de Raadt
2009-03-23fix buffer cache pending writs statistic so it does not go negative.Bob Beck
this ensures we ignore counting any buffers returning through biodone() for which B_PHYS has been set - which should be set on all transfers that manually do raw io bypassing the buffer cache by setting up their own buffer and calling strategy.. ok thib@, todd@, and now that he is a buffer cache and nfs hacker oga@
2009-03-23Processor affinity for processes.Artur Grabowski
- Split up run queues so that every cpu has one. - Make setrunqueue choose the cpu where we want to make this process runnable (this should be refined and less brutal in the future). - When choosing the cpu where we want to run, make some kind of educated guess where it will be best to run (very naive right now). Other: - Set operations for sets of cpus. - load average calculations per cpu. - sched_is_idle() -> curcpu_is_idle() tested, debugged and prodded by many@
2009-03-23advisory locks should return ENOLCK if we're out of locks.Otto Moerbeek
ok deraadt@ fgs@
2009-03-23wait an appropriate amount of time before giving up on a bulk update,David Gwynne
rather than giving up after a hardcoded 5 seconds (which is generally much too short an interval for a bulk update). pointed out by david@, eyeballed by mcbride@
2009-03-23use auto-negotiation for manual media type selection. This fixesKevin Lo
establishment of 10/100Mbps link on ale(4). From FreeBSD
2009-03-23actually follow rfc 3720, from Remco.David Gwynne
2009-03-22Add workaround for RX MAC/FIFO hangs on ERI. Tested by matthieu@ and naddy@.Mark Kettenis
ok dlg@
2009-03-22unbreak ramdisk builds in a way i guess might workTheo de Raadt
2009-03-22Update volume info on every bio call instead of waiting for theAlexander Yurchenko
sensors task to do it.
2009-03-22Don't show rebuild status for offline volumes.Alexander Yurchenko
2009-03-22Put recently added bio and sensors stuff under #if NBIO > 0 andAlexander Yurchenko
#ifndef SMALL_KERNEL respectively.
2009-03-21If rebuild is active set volume state to ``rebuild''.Alexander Yurchenko
2009-03-21Report rebuild progress only if rebuild is active.Alexander Yurchenko
2009-03-21Always re-route interrupts, even when doing so appears to be a no-op. SomeMark Kettenis
BIOSen flat out lie to us when we ask for the current routing. ok marco@
2009-03-21don't call uiomove(9) at IPL_AUDIO, slightly simplify the codeAlexandre Ratchov
help from and ok jakemsr
2009-03-21IPS_MAXTARGETS should be 16, not 15.Alexander Yurchenko
2009-03-21Be smart when attaching pass-through scsibuses. Use configurationAlexander Yurchenko
data to check if channel has any devices besides disks and set the actual bus width. This will speedup booting. Also remember enclosure address here instead of messing with inquiry data.
2009-03-21Make nvram writable (if necessary) before calling OF_setprop(). PreventsMark Kettenis
faults on machines where we map nvram write-only (through the clock chip).
2009-03-21Looks like the ``params'' field in the physical device descriptionAlexander Yurchenko
contains SID_TYPE. Use to to filter out non disks from the bioctl output.
2009-03-20Unconditionally drain the RX ring when stpping the chip.Mark Kettenis
ok dlg@, jsg@
2009-03-20When calculating physical disk size use its number of sectorsAlexander Yurchenko
rather than chunk's.
2009-03-20Detect unused and hot-spare drives.Alexander Yurchenko