summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-05-04Skip the kernel pmap when accounting for executability range changes.Artur Grabowski
This could lead to some heavy problems if called from kernel threads (which is the only way to get past the next test with the kernel pmap). From mickey. art@ toby@ ok.
2007-05-04when it does not compile we KNOW it was not tested. come onTheo de Raadt
2007-05-04swap the port register table arrays to make it better readble and fix someReyk Floeter
register typos... on init, wait for the receive engine to be ready before setting up the descriptor rings.
2007-05-04From dhill@ last year:Ray Lai
- rename system to sys to stop shadowing the system() call. - remove variable names in function declarations - remove extern optarg and optind since it's defined in unistd.h - use %zu instead of %d to print size_t's OK jaredy@
2007-05-04stop shipping CKSUM files; people can use the MD5 filesTheo de Raadt
(this decreases build time a bit too) ok todd (and i assume legacy-architecture-miod would not object either)
2007-05-04setroot() was a ugly mix of MI and MD code, with different bugs on differentTheo de Raadt
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..)
2007-05-04do not call vic_init() on ENETRESET in the ioctl handler, useReyk Floeter
vic_iff() instead. vic_init() calls vic_init_data() which sets up the rings and allocates the dma maps. it could happen that vic_init() was called for multiple times without releasing them first by calling vic_uninit_data(). ouch! this may have caused some problems related to dmamap corruption but we'll do further investigation. ok dlg@
2007-05-04syncTheo de Raadt
2007-05-03Add monitor mode. Add fast channel switching. Do some simplificationsMarcus Glocker
while there. Comments, tested, and OK claudio@
2007-05-03Config file for MULTIPROCESSOR kernel.Mark Kettenis
2007-05-03allocate DMA memory for the per-port Rx, Tx (command), and Status ringReyk Floeter
context.
2007-05-03Use if_flags instead of ifr_flags.Marco Pfatschbacher
It shouldn't make a difference, but some ioctl-callers don't initialize the ifreq properly. Fixes a panic w/ tun(4) on trunk(4). OK reyk@, claudio@
2007-05-03Add dummy functions to make MULTIPROCESSOR kernels compile.Mark Kettenis
2007-05-03a nxb NIC can have up to 4 nx ports and the latest firmware uses someReyk Floeter
port-specific registers, for the NIU (phy) and the CRB (~mac). fine. but i have to use an ugly mapping table for the port-specific crb registers because their offsets are not consistent and do not allow to use a subregion per port. ugh.
2007-05-03Update CGSIZE macro so that it is no longer based on fs_cpg.Todd C. Miller
This was part of the ffs2 changes but was not committed earlier in order to make the userland and kernel changes independent. NOTE: the change to newfs require an updated fs.h; building an updated newfs with the old fs.h may result in a broken filesystem. OK otto@
2007-05-03Enable support for > 512MB of physical memory on mips64 systems, by usingMiod Vallat
XKPHYS instead of KSEG[01] for direct mappings. Then, detect memory above 256MB on O2 by poking at the CRIME registers (ARCbios will not report memory above 256MB, which is mapped above 1GB physical, to the system), and add it to the UVM managed memory. Tested on r5k, rm5200 and r10k with and without more than 256MB, matching hinv reports in all cases. CRIME memory decoding based on a diff from kettenis@ in december 2005.
2007-05-03Remove MCA ghosts, no changes in .o files.Alexander Yurchenko
Free commit ticket from miod@.
2007-05-03Implement pmap_steal_memory() on powerpc. With some help from art@.Miod Vallat
2007-05-03sensible version strings; ok miodTheo de Raadt
2007-05-03Reduce ip6_hdrnestlimit from 50 to 10. Normal IPv6 packets should not haveClaudio Jeker
more then 10 headers nested. OK deraadt@ henning@ mcbride@
2007-05-03Enable fast channel switching in monitor mode, which makes apps likeMarcus Glocker
kismet happy. Previously system got very slow because at every channel switch an ENETRESET was issued. Reported and diff by Steffen Schuetz <st.sch@gmx.net>. Closes PR 5452. OK claudio@
2007-05-03Simplify code to handle fragments by using real objects.Marc Espie
2007-05-03Fix a typo that was preventing the full device name from being printed.Deanna Phillips
ok deraadt@
2007-05-03remove future code to handle modules, that is unused and possibly badlyMarc Espie
designed as well.
2007-05-03Deprecate the -W flag; it has been the default for years now.Todd C. Miller
Joint effort with stevesk@ and jmc@
2007-05-03missed an struct lock to struct rwlock in the softc.David Gwynne
found by and ok claudio@
2007-05-03fix creation of packing-list for package regenerationMarc Espie
2007-05-03move the fragments reading code to its own routine.Marc Espie
2007-05-03regenJonathan Gray
2007-05-03Philips/NXP ISP156x USB controllers as found in ONDA Communication H600.Jonathan Gray
2007-05-03The ring replenish threshold change needed to work around a hardwareTom Cosgrove
problem also appears to be required on the BCM5754/5787 in the Dell PowerEdge SC440 and OptiPlex GX745. dlg identified the problem and came up with the fix. Tested by dlg@, ckuethe@, reyk@; thanks. ok dlg@ beck@ reyk@
2007-05-03Support ONDA Communication H600.Jonathan Gray
Tested by Massimo Lusetti <massimo@cedoc.mo.it>
2007-05-03regenJonathan Gray
2007-05-03ONDA Communication H600Jonathan Gray
2007-05-03convert lockmgr style locks to rwlocks.David Gwynne
input from art@
2007-05-03Remove the pv stealing code. Other than being dangerous, it's alsoArtur Grabowski
slightly incorrect and didn't actually do much until a week ago or so when I fixed it when doing VM_PAGE_MD. deraadt@, miod@ ok
2007-05-03convert lockmgr to rwlocksDavid Gwynne
2007-05-03some shorter code is better codeTheo de Raadt
2007-05-02supply the real devicename to sio_intr_establish() instead a genericMartin Reindl
platform interrupt string when establishing pciide interrupts
2007-05-02tweak some grammarjoshua stein
input from jmc
2007-05-02now that optimization is on by default, fix the regress tests byDavid Krause
disabling optimization for the non-optimized tests, ok henning@
2007-05-02convert to standard usage(); ok millert ottoJason McIntyre
2007-05-02clarify error message; ok grunk@David Krause
2007-05-02carefully set the correct memory windows (crb/pci) and add a dummyReyk Floeter
read after changing the windows to make sure that the value has been set. also change the code to automatically set the correct window which is less error-prone than the manual approach. these changes finally fix the problems with reset and firmware loading. this commit also includes some unrelated changes like register updates, port-specific register mapping, rx/tx pause status etc.
2007-05-02Support for mtrr on AMD opteron CPUs. Patch by Mickey and bluhm@, tweaksMatthieu Herrb
by dim@, ok deraadt@ and myself. (miod@ also found it sane).
2007-05-02Move sparc64 to __HAVE_CPUINFO.Mark Kettenis
ok miod@, deraadt@
2007-05-02- Add support for handling unsolicited events (based on NetBSD).Deanna Phillips
- The STAC9200 codec was mistakenly referred to as STAC9220. Change this to STAC9200 and add a link to the datasheet. - Add a new target, MI_TARGET_PINCTRL, to azalia_generic_mixer_set() that allows us to turn pins on and off. - Add an unsolicited event handler for STAC9200 that will toggle the headphone and speaker pins. This means the speaker will now mute and unmute based on headphone presence. - Spelling: PRESENSE -> PRESENCE Tested by ajacoutot@, tedu@ and krw@, ok krw@.
2007-05-02macros at start of line require a `.';Jason McIntyre
2007-05-02like the init command, version does not take any extra args.Xavier Santolaria
from Tobias Stoeckmann.
2007-05-02strtol() -> strtonum(); from Tobias Stoeckmann.Xavier Santolaria
OK ray@ otto@.