summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-07-18Give each device on the bus full openings.Michael Knudsen
Tested by me on an ARC-1210 on both single and multi volume configurations. ok dlg
2010-07-18Add support for Winbond/Nuvoton W83627DHG-P.Mark Kettenis
From Mitja Muzenic.
2010-07-17Move some macros in <msdosfs/denode.h> to outside the #ifdef _KERNELPhilip Guenthe
so that libkvm doesn't need to define that, thereby avoiding some warnings. ok miod@
2010-07-17Wrap kernel function declarations in #ifdef _KERNEL to eliminate warningsPhilip Guenthe
when the header is used by userspace. ok miod@
2010-07-17Correct value of DBL_MIN and DBL_MAX to match <sys/limits.h>Miod Vallat
2010-07-17use the correct block ack structure when building an ADDBA response.Damien Bergamini
2010-07-17Drop 3rd and 4th clauses from David Young's license.Damien Bergamini
from NetBSD
2010-07-16We never create or destroy pmaps from interrupt context, so wrapping theMark Kettenis
associated pool calls in splvm()/splx() is unnecessary and confusing. ok deraadt@, drahn@
2010-07-16gc sc_lock. it is unused. ioctl commands can run concurrently now thatDavid Gwynne
iopools handle sleeping for ccbs.
2010-07-15when mpii(4) gets an async event (ie, sas topology change orDavid Gwynne
integrated raid has changed state) that needs an acknowledgement, it currently goes scsi_io_get. because events are handled at interrupt time it cannot wait for ccbs, so if the ccb pool is empty, it wont get a ccb to ack the event with. this cuts the code over to using iohandlers to ack these events. when an ack is required, it shoves the rcb onto a queue and schedules an iohandler to be run whenever a ccb becomes available. the majority of the time the ccb will be there and the reply will happen immediately. however, if the hba is busy we might be deferred until some other command completes and gives its ccb back to the pool. because it looks like we can now receive many events at a time (rather than just one at a time like in mpi), im using a queue to store the events in. the alternative was an iohandler per rcb, but that struck me as a bit too heavy. mikeb is really impressed no objection from krw@
2010-07-15According to Linux ath9k, the AR9280 1.0 was never sold.Damien Bergamini
Since this is the only chip revision that requires split TKIP MIC keys, remove code that deal with that.
2010-07-15remove dead code (AR9286 1.1 does not really exist.)Damien Bergamini
2010-07-15sync ar5008_bb_load_noisefloor() with ar9003_bb_load_noisefloor().Damien Bergamini
we must not restore the noisefloor values if load failed on AR5008 family too.
2010-07-15fix PDADC value for target index (AR5008 family only.)Damien Bergamini
2010-07-15On AR9285, the antCtrlCommon ROM field may have the upper 16 bits set.Damien Bergamini
Remove an incorrect mask to fix antenna diversity on some chips.
2010-07-15sync initialization values for AR9160 and AR9280 with ath9k.Damien Bergamini
see http://marc.info/?l=linux-wireless&m=127802223525594&w=2 for the list of changes/fixes.
2010-07-15Remove initialization values for chips that never made it into production:Damien Bergamini
- AR9280 1.0 - AR9285 1.0 and 1.1 - AR9287 1.0 Remove checks that are now useless since we know we will never see those chips, and rename some functions.
2010-07-15knock out MetaGeek Wi-Spy 2.4i from attaching to uhid.Stuart Henderson
2010-07-15syncStuart Henderson
2010-07-15add MetaGeek Wi-Spy 2.4iStuart Henderson
2010-07-15Correct function in panic string. From Christophe FillotClaudio Jeker
2010-07-15m_getptr(m, 0, ...) may return an mbuf different from m -- if m has noClaudio Jeker
data in it. m_getptr() hops over empty buffers and points to the first allocated data byte. Because of this the m_dup_pkthdr() call done by m_copym0() can panic because not the first mbuf is passed. Found the hard way by myself, diff by blambert@ commiitting for him since he is not around. Tested and OK myself
2010-07-15* Comment poll support in conf.hMarcus Glocker
* Comment why we call the video interrupt in the mmap interface now in uvideo.c
2010-07-15add two new members to structs audio_encoding and audio_prinfo.Jacob Meuser
for both structs, the new members are 'bps' and 'msb', which describe the number of bytes per sample and data alignment in the sample, respectively. drivers must properly set these fields in the 'query_encoding', 'set_parameters' and 'get_default_params' hardware interface methods. discussed with ratchov, deraadt
2010-07-15limit the pools from 14 bits down. We cannot use PAGE_SIZE because itTheo de Raadt
is a variable on sparc. This should be revisited... after the arguments for pagesize vs 4K complete :)
2010-07-15the uvm_km_putpage is calling into tangly uvm guts again on not pmap direct.Ted Unangst
go back to something more like the previous design, and have the thread do the heavy lifting. solves vmmaplk panics. ok deraadt oga thib [and even simple diffs are hard to get perfect. help from mdempsky and deraadt]
2010-07-14implement poll() for video(4)Jacob Meuser
ok mglocker
2010-07-14The append side of a socketbuffer is not allowed to call sbflush().Claudio Jeker
Learned the hard way. dlg@ confirmed that it is save to just remove them, the desync will still work but the reader needs to dequeue all packets first.
2010-07-14In urndis_decap(), delay the memcpy() for as long as possible. There isMichael Knudsen
no point in copying before having done the final sanity check (we copied before the last one). ok armani
2010-07-14urndis_newbuf() is only called with NULL as it's third argument so justMichael Knudsen
get rid of it. ok armani
2010-07-14Newer 8168x and 810x chipsets have a different way of stopping the chipset.Christian Weisgerber
From FreeBSD via Brad.
2010-07-14Let vga_pci.c build in kernel configs without acpi. ok kettenis@Matthieu Herrb
2010-07-14Eliminate some unused malloc(9) type defines. Also get rid of theMatthew Dempsky
mysterious and unused mbtypes[] array in mbuf.h. ok tedu@, deraadt@
2010-07-14SCSI HBA drivers need to report success/error through xs, not xs->bp.Matthew Dempsky
By trying to do the latter, ioprbs(4) was inadvertently always signalling to the SCSI mid and upper layers that read/write requests succeeded, even if they failed or only partially completed. Light testing by claudio@, which is still way more effort than this driver deserved.
2010-07-14if we produce a lot of rtsock messages it is possible we will hit aDavid Gwynne
condition that prevents us from queuing it, which in turn means that processes listening on the routing socket for changes to the kernel state will get out of sync. currently this is handled by the following comment: /* should notify about lost packet */ this change introduces a new rtsock message called RTM_DESYNC that notifies about lost packets and uses it instead of this comment. when we detect loss we flush all the message in the routing socket and attempt to queue an RTM_DESYNC message instead. to guarantee that we will enqueue DESYNC we keep trying it when an attempt to enqueue or dequeue any messages is made, and in the worst case a timeout tries to guarantee that desync is added to the socket. ive been running this in production for 2 or 3 weeks. tested by sthen@ ok sthen@ claudio@ deraadt@ code written by andrew sallaway at the univeristy of queensland.
2010-07-14oops; Fred CrowsonTheo de Raadt
2010-07-13use PHY semaphore on 8275/82576 adapters in addition to 80003es2lan.Jonathan Gray
From SAITOH Masanobu. Confirmed to fix pr 6427, and should fix 6301 as well. Tested by a bunch of people, and discussed with claudio during c2k10.
2010-07-13delete unnccessary includeTheo de Raadt
2010-07-13rename some thread related interfaces so they are logicalTheo de Raadt
2010-07-13fix overflow of dirsize; from FreeBSD; PR 6426; ok beck@ millert@Otto Moerbeek
2010-07-13Do not put a data buffer on the stack; malloc it (we will use dma_allocTheo de Raadt
later, when we trust it) ok matthew
2010-07-13need pool.h to initialize the dma allocatorTheo de Raadt
2010-07-13dma_alloc() and dma_free(). This is a thin shim on top of a bag ofTheo de Raadt
pools, sized by powers of 2, which are constrained to dma memory. ok matthew tedu thib
2010-07-13Fix dmesg printing.Mark Kettenis
ok krw@, claudio@
2010-07-13- find.fp_wsize *= find.fp_mss, 1;Henning Brauer
+ find.fp_wsize *= find.fp_mss; From: Ed Schouten <ed at FreeBSD.org>
2010-07-13Fix a broken mask for core temperature 1 and 2, and bias properly for degC.Mike Larkin
Tested on Thinkpad T510.
2010-07-13Correct comment. scsi_sense_data is now 18 bytes, not 32.Kenneth R Westerback
2010-07-11typoMiod Vallat
2010-07-10Fixup structures to be correct sizeJordan Hargrave
ok claudio@
2010-07-10A process on the zombie list can have a NULL p_pgrp if it sleeps whenPhilip Guenthe
grabbing allproclk in proc_zap(); skip such processes in sysctl(KERN_PROC*) and handle the NULL pointer in ddb's ps. ok tedu@