summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-10-30fix a typo, LIST_FOREACH(bp2, ... and then using bp instead of bp2Henning Brauer
inside that loop doesn't yield the expected results. from freebsd r1.37 Andrew Thompson <thompsa@freebsd.org>
2007-10-30print some word reads as well in the verbose outputTheo de Raadt
2007-10-30avoid intermediate files with same name (ie. a.out) for parallel makeTheo de Raadt
ok miod
2007-10-29remove extra backslash at the end of RB_PROTOTYPE, report fromDamien Miller
Jan.Pechanec AT Sun.COM; ok deraadt@
2007-10-29run depend so that SFILES depend on assym.h, which allows them to buildMarc Espie
with make -j on fast SMP boxes. noticed by robert@, input by miod, kettenis, okay toby@, robert@, and tested to work if people build kernels correctly...
2007-10-29UltraSPARC CPUs (and other SPARC V9 implementations) don't have aMark Kettenis
floating-point deferred-trap queue. Remove redundant code inherited from sparc that deals with this. Also remove the code dealing with saving and restoring the FPU state from unaligned memory; we always allocate properly aligned memory for storing the FPU state.
2007-10-29Make sure the dma_cachectl*() functions actually do their work on allMiod Vallat
affected processors if option MULTIPROCESSOR. It's amazing bsd.mp could boot multiuser without this.
2007-10-29When a secondary cpu gets its interrupt pin stuck, be sure to savectxMiod Vallat
and put the process it was running back on the run queue (unless this was the idle proc).
2007-10-29For fd passing, at externalize time we are dealing with int[] not pointer[],Theo de Raadt
so we need to correct the mbuf length using CMSG_LEN() not CMSG_SPACE() test case was sparc64 sending 2 (or more) descriptors ok millert thib
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
replace an hard coded value with M_WAITOK ok krw@
2007-10-29regenMike Belopuhov
2007-10-29Add missing Marvell 88SE61xx IDs.Mike Belopuhov
ok dlg
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-29unmap on error and correct some output in those cases.Federico G. Schwindt
martin@ deraadt@ ok.
2007-10-29Touch of KNF and style(9), spaces and comments.Thordur I. Bjornsson
make pretty. ok krw@
2007-10-29fix the setup of Tx descriptors. the frame type and "no ack" bits wereReyk Floeter
initialized in ar5k_ar521*_setup_tx_desc() but cleared in ar5k_ar521*_fill_tx_desc() by setting the segment length incorrectly. From ath5k via Nick Kossifidis (mickflemm at gmail dot com)* ---snip--- The missing no_ack in broadcast frames caused them to be retried up to the retry_limit(1+4=5 transmissions by default). ---snap--- * it was explicitly mentioned that it is ISC-licensed now
2007-10-29regenDavid Gwynne
2007-10-29the areca with the 1201 pci id is known as the 1200 everywhere. itDavid Gwynne
does the same things as a real 1200, but its based around a different chip. fix the string in pcidevs to say "ARC-1200 rev B" like the writing on the board does.
2007-10-29regen, finally.David Gwynne
2007-10-293 new areca controllersDavid Gwynne
2007-10-29get rid of the unused cond_predicate_t typedef.David Gwynne
ok miod@ deraadt@ krw@
2007-10-28Enable pcie snoop for SB600 and MCP51. Fixes a variety of noise,Deanna Phillips
looping and distortion problems. This is a temporary solution until we get something like the BUS_DMA_NOCACHE flag to bus_dmamem_map(9), which came with the driver when ported from NetBSD but means nothing here. It's likely that other NVIDIA and ATI chipsets will need this, but I'd rather have some testers before adding them in. From ariff@freebsd, ok dlg.
2007-10-28This is a horrible kluge: invoke sched_init_cpu for seconday processorsMiod Vallat
before they are started (and not skipping gaps for machine setups with holes in cpu slots). Since we start secondary cpus very late in the boot process, and sched_init_cpu() has to be invoked before proc0 execve's init, I don't think there is a better way to do this. This lets MVME188 systems with more than one processor boot multiuser.
2007-10-28Start secondary processors synchronously. This only wins us a nicer dmesgMiod Vallat
output, and nothing else.
2007-10-28Do not flag a processor as ``alive'' until it really is ready to accept IPIs.Miod Vallat
2007-10-28more id tags.Federico G. Schwindt
2007-10-28id tags.Federico G. Schwindt
2007-10-28stop putting xfs (and only xfs) rcsid into the kernel; ok miodTheo de Raadt
2007-10-28fix the panic reported in pr/5602 by correctly unmaping the space on error.Federico G. Schwindt
disestablish the interrupt on error as well. krw@ comments and ok tested by reporter via mikeb@
2007-10-28Remove the "frev" argument from nfs_rephead(); and clean up the "frev"Thordur I. Bjornsson
variables, that are declared all over, since they are passed via macros to nfs_rephead(); which doesn't do anything with it. OK krw@
2007-10-28remove some unused members of struct nfsnode;Thordur I. Bjornsson
some spacing while there. ok krw@
2007-10-28add new envy(4) driver for ICE1712 (aka VIA Envy24) audio devices. TheAlexandre Ratchov
device uses 32bit samples, up to 96kHz sample rate, 12 input channels and 10 output channels. Currently AK4524 codecs are supported, so M-Audio Delta cards should work. Playback and capture work, but the mixer is still incomplete. ok jakemsr@
2007-10-28prepare audio(4) for addition of the envy(4) driver: enable 32bit samplesAlexandre Ratchov
(basically only audio_fill_silence() must be updated) and bump max channel number to 12 ok jakemsr@
2007-10-28the pointer we give to audio_fill_silence() may point in the middle of aAlexandre Ratchov
sample (eg. if write(2) have written an odd number of bytes and 16bit encoding is used), so we'll not properly write silence. To fix this, round start pointer to fill with silence uncomplete samples too. ok jakemsr@
2007-10-28let vic attach to the virtual pcnet hardware in vmware.David Gwynne
tested on real hardware by jsing@ to ensure pcn(4) isnt affected in the real world. ok jsing@
2007-10-28UltraSPARC CPUs don't have a floating-point queue, so cpu_reset_fpustate() isMark Kettenis
redundant since there is no queue to flush.
2007-10-28Match on compatible: 'pcf8584', such that we attach on the V210 again.Mark Kettenis
2007-10-28get rid of btoc/ctob in favor of atop/ptoaMartin Reindl
2007-10-28When handling a userland data fault occuring in kernel mode, take the kernelMiod Vallat
lock with KERNEL_LOCK, not KERNEL_PROC_LOCK. This lets bsd.mp run multiuser on a single-processor board.
2007-10-28Disable interrupts around changing curproc and curpcb so these always match.Miod Vallat
2007-10-27Replace the replay protection counter with a cookie.Marco Pfatschbacher
It is unlikely we will ever get a working replay protection, so better keep it simple and robust. The cookie allows us to detect our own advertisements, thus it is now easy to deal with network loops and non-simplex interfaces. Zero feedback by the people who wanted this fixed. OK henning@, markus@
2007-10-27Make sure the compat errno mapping arrays go up to ELAST, and correctlyMiod Vallat
translate the errnos added over the last few releases.
2007-10-27Grab kernel lock before calling interrupt handlers.Mark Kettenis
ok miod@, deraadt@