summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-06-07update url in comment; Nikolai FetissovStuart Henderson
2010-06-07space nit and use nitems().Thordur I. Bjornsson
ok kettenis@
2010-06-06- add more comments to sh3_vector_tlbmiss (no binary change).Jasper Lievisse Adriaanse
- arrange for data blocks to start on 32B cache line boundary. from uwe@netbsd ok miod@ (with an indentation suggestion)
2010-06-06Use usb_lookup() instead of rolling our own. ok armani@ fabien@Miod Vallat
2010-06-06use .L* for local labels and other small cosmeticsJasper Lievisse Adriaanse
from uwe@netbsd ok miod@
2010-06-06simething -> somethingMiod Vallat
2010-06-06Nuke common.Miod Vallat
2010-06-06Kill unused sio_intr_count.Miod Vallat
2010-06-06Avoid computing a symbol with arithmetic involving a common, modern binutilsMiod Vallat
complain about this. From NetBSD
2010-06-06typo in commentMiod Vallat
2010-06-05change sign extension such that we do not rely on >> being anDamien Bergamini
arithmetic shift on signed integers.
2010-06-05- fix athn_set_key() on big-endian machines (function is not used yet)Damien Bergamini
- change sign extension such that we do not rely on >> being an arithmetic shift on signed integers - various changes to AR9003 code, fix Tx path, enable Tx IQ calibration
2010-06-05when rekeying the GTK/IGTK, send the new key to clients, not theDamien Bergamini
old one. found after reading a post by Nathanael Rensen to tech@
2010-06-05there is no need to copy the full 802.11 header in ieee80211_decap()Damien Bergamini
as we do not use any field after i_addr4. slightly modified version of a diff from Matthew Dempsky (matthew at dempsky dot org), used MIN instead of min.
2010-06-05'operational' takes a single 'n'Damien Bergamini
2010-06-05Pass signal handlers a more clean FPU state (ie. the right modes) andTheo de Raadt
properly restore it in sigreturn. Lots of deep digging by matthieu, otto, guenther, kettenis and I.. and I am certain I forgot some other people. ok kettenis otto matthieu
2010-06-04Don't warn about not knowing what the bus clock is on core i7/i5/i3Jonathan Gray
as the high/low guessing won't be done on these processors due to MSR differences.
2010-06-04Missed this file in previous commit; previous commit message was:Bret Lambert
rt_timer_queue_destroy() did not actually destroy, leading to a potential memory leak due to misleading nomenclature. Change it to actually destroy, not just clean, the the rt_timer_queue passed to it and adjust the correct caller accordingly (i.e., no need to free the mem on our own now). As a bonus, this gets rid of one of the ridiculous R_Malloc/Bzero/Free cycles, and lets us sneak another bzero -> M_ZERO conversion in. ok claudio@
2010-06-04rt_timer_queue_destroy() did not actually destroy, leading to a potentialBret Lambert
memory leak due to misleading nomenclature. Change it to actually destroy, not just clean, the the rt_timer_queue passed to it and adjust the correct caller accordingly (i.e., no need to free the mem on our own now). As a bonus, this gets rid of one of the ridiculous R_Malloc/Bzero/Free cycles, and lets us sneak another bzero -> M_ZERO conversion in. ok claudio@
2010-06-04gc unused variableDavid Gwynne
2010-06-03enable async fifo for >=AR9287 1.3 only.Damien Bergamini
from ath9k.
2010-06-03take care of some half-baked CPU temperature readings seen in wildTheo de Raadt
from Mikko Tolmunen
2010-06-03Add support for 802.1ad-style QinQ nested VLANs.Christian Weisgerber
QinQ-compliant svlan (service VLAN) interfaces are implemented as a new cloner type, use Ethernet type 0x88a8, and have a dedicated VLAN tag hash to avoid ID conflicts. vlan(4) interfaces can be stacked on top of svlan(4). Originally from reyk@, input from claudio@ and deraadt@ ok claudio@
2010-06-03Rename ci_spinup_stack to ci_stack and use it as the stack for both CPUJoel Sing
spin up and FPU emulation. Since all CPUs need a stack for FPU emulation, move the allocation code to cpuattach(). ok kettenis@
2010-06-03Add missing function prototypes for MP kernels.Joel Sing
2010-06-03massage the code to avoid races in ami_mgmt.David Gwynne
2010-06-03cut cd(4) over to use xshandlers. based on the sd(4) diff and includes theDavid Gwynne
WAITING fix. tested by sthen@ thib@ sobrado@ krw@ on atapiscsi, atascsi, and real scsi ok krw@ thib@
2010-06-03Always initialize the ccb provided by the scsi layer into the properKenneth R Westerback
state when starting an i/o. Necessary as the scsi layer may now re-submit a completed xs/ccb to the adapter in some error situations. Fixes panics seen by various people, reproduced and fix tested by sobrado@. ok dlg@
2010-06-03get rid of the kthread. it is unused and just bloats the kernel.David Gwynne
pointed out by brad.
2010-06-03replace TAILQs with SLISTs for managing the ccb free list. theyre smaller.David Gwynne
2010-06-03useless abstraction is, by definition, useless.David Gwynne
dont typedef the tailq head struct.
2010-06-02Kill the mpls enable sysctl knob. Since MPLS needs to be enabled explicitlyClaudio Jeker
on each interface there is no need for yet another knob. OK michele@
2010-06-02has GENERIC.MPTheo de Raadt
2010-06-02Add back -fno-omit-frame-pointer, which was accidentally deleted byMark Kettenis
deraadt@ in one of the big restructuring diffs. ok marco@, millert@, marco@
2010-06-02ss has no value, its readme has even less value. it discusses developmentDavid Gwynne
which hasnt and wont happen, so stop perpetuating the lies by keeping it around any longer. ok deraadt@
2010-06-02convert ciss(4) over to using iopools. this is fairly easy after the recentDavid Gwynne
tweaks ive made. this provides better concurrent access to multiple volumes on the same hba, while improving the reliability of the ioctl and sensor codepaths. tested by okan@ halex@ ok krw@ okan@ halex@
2010-06-02bring back the SDF_WAITING waiting flag while adapters still implementDavid Gwynne
NO_CCB. if sd_buf_done is told that the adapter has no more ccbs via NO_CCB, this sets a flag so sdstart doesnt try and queue more io straight away. this fixes the lockups on ciss that halex and okan were experiencing after the iopools code went in. it will fix any other hba that returns NO_CCB too. tested by me@, okan@, and halex@ ok krw@ okan@ halex@
2010-06-02dont drop out of handling a command if ITSDONE is set. return a betterDavid Gwynne
error to the midlayer if something screws up. scrub the code slightly while here. this plus src/sys/scsi/scsi_base.c r1.174 seems to fix problems henning has had with tape drives plugged into ahc. tested by and ok henning@
2010-06-02its pretty obvious that ciss_cmd should be called with splbio being held,David Gwynne
especially if you're passing it SCSI_POLL too.
2010-06-02- correctly report the number of wired tlb entriesJasper Lievisse Adriaanse
from uwe@netbsd ok miod@
2010-06-02call scsi_done before put_ccb, rather than have put_ccb call scsi_doneDavid Gwynne
for us.
2010-06-02arch/beagle is safe to enter nowTheo de Raadt
2010-06-02beagle has no stand/ yetTheo de Raadt
2010-06-02push the "locking" in ciss_scsi_cmd down. we dont need splbio to callDavid Gwynne
scsi_done or to get or put ccbs anymore.
2010-06-02protect the ccb free queue with its own mutexDavid Gwynne
2010-06-02get rid of useless ccb queues. when the ccb is on the chip, we mark itsDavid Gwynne
state as such, putting it on a queue is silly. one of the queues was initted by never used.
2010-06-02get rid of the code for the passthru bus support. it was never enabled andDavid Gwynne
confuses the code and bloats the kernel.
2010-06-02interrupt handlers are run at their IPL, so there's no need to go splbioDavid Gwynne
in a disk controllers handler, even if it has a useless bunch of macros around it.
2010-06-01use --warn-common for linking (some arch's will show new warnings), andTheo de Raadt
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils strip(1) can handle them too) ok drahn; miod kettenis (for parts)
2010-06-01add beagle, mentioned by drahnTheo de Raadt