summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-05-03regenAlexander Yurchenko
2003-05-03A bunch of new Promise ATA/SATA chips; from FreeBSDAlexander Yurchenko
2003-05-03sprintf -> snprintf.Kenneth R Westerback
Almost identical to a previously submitted diff from tedu@. ok tedu@ tdeval@
2003-05-03just as a safety measure, set m_flags to 0 for mbufs allocated on stack.Jun-ichiro itojun Hagino
dhartmei ok
2003-05-02when flipping the code descriptors also update cs in theMichael Shalayeff
tss and not only in the frame since we might be returning that way too. add a heuristic for detecting an exec protection fault: iff we get a read protection fault (which we normally never get due to our segments being always readable) we assume that it was an exec protection indeed and go to page fault routine which will decide the rest for us (including sending a signal should that be needed). problem found by drahn@ and testing by many ppl.
2003-05-02syncTed Unangst
2003-05-02Rework SIS IDE support. Unbreak the newest chips and fix issues with theAlexander Yurchenko
old ones. Original work by sos@freebsd, then adapted for netbsd by bouyer@netbsd. Many thanks to Paul de Weerd <paul@mail.me.maar.nu> for problem report, providing url to the preliminary netbsd diff and access to testing machine. Extra testing by tedu@.
2003-05-02add eap and do a bit of cleaningJason Wright
2003-05-01add eso, opl, and midi, and clean the audio stuff up a bitJason Wright
2003-05-01- initialize sc_pa before using itJason Wright
- fix another uninitialized variable - ditch htopci() and pcitoh()... they are completely wrong with bus_space(9) partially from NetBSD; ok mickey/millert upshot: now works on sparc64 (and probably macppc)
2003-05-01knfTed Unangst
2003-05-01syncTed Unangst
2003-05-01several related changes:Ted Unangst
vfs_subr.c: add a missing simple_lock_init for vnode interlock try to avoid reclaiming locked or layered vnodes initialize vnlock pointer to NULL remove old code to free vnlock, never used lockinit the new vnode lock vfs_syscalls.c: support for VLAYER flag vnode_if.sh: support for splitting VDESC flags vnode_if.src: split VDESC flags WILLPUT is the combination of WILLRELE and WILLUNLOCK most uses for WILLRELE become WILLPUT vnode.h: add v_lock to struct vnode add VLAYER flag update for new VDESC flags
2003-05-01typos;Jason McIntyre
ok art@
2003-05-01use "tokenbroadcastaddr" throughout the code for consistency. deraadt okJun-ichiro itojun Hagino
2003-05-01Fix unbalanced parens in __swap64gen macro for non-gcc; Hugh C KennedyTodd C. Miller
2003-04-30do not be hungry for buffers and allocate lower than a max (for iodc io)Michael Shalayeff
2003-04-30from netbsd:Michael Shalayeff
The AMD-K5 Model 0 gets the PGE bit in the CPU features word wrong using the APIC bit instead, according to the AMD Processor Recognition App. Note. Add a fixup routine to patch up cpu_feature in this case. XXX Need a way to kick the pmap to enable pmap_pg_g -- look at how the MP branch deals with this.
2003-04-30RegenMiod Vallat
2003-04-30Oops, repair omsync deprecation lossage.Miod Vallat
2003-04-30Allow tables to be loaded into anchors.Cedric Berger
Most pfctl table commands (excluding 'show' and 'flush') support the "-a" modifier. ok dhartmei@
2003-04-30now that we use less memory we can push the boot a little higher (to help ↵Michael Shalayeff
some ramdisk kernels beathe better. also always compile for 1.1 -- no reason in 1.0 restriction
2003-04-30no need to twiddle here. it's twiddling elsewhere alreadyMichael Shalayeff
2003-04-30oops. fixed endif in a wrong placeMichael Shalayeff
2003-04-29some cleanup and redo ct as lf (just different dev type). saves some memoryMichael Shalayeff
2003-04-29Use pci_matchbyid(). Tested by matthieu@Miod Vallat
2003-04-29grr... %s, not dc%sJason Wright
2003-04-29- remove last vestige of "old autoconf": dc_unit is dead, long live dv_xnameJason Wright
- remove a bunch of #if 0 stuff (most of which referred to dc_unit, grr) - delay a bzero until necessary
2003-04-29Do not define the sparc_interrupt44c symbol on sun4m-only kernel, this isMiod Vallat
too confusing when you have not had enough coffee...
2003-04-29Get rid of more unwanted pieces of code.Miod Vallat
2003-04-29Regen (omsync deprecation)Miod Vallat
2003-04-29Deprecate omsync syscall, and only enable it if COMPAT_25 is required.Miod Vallat
ok deraadt@
2003-04-29add lxtphy (found on momenco boards)Jason Wright
2003-04-29KNFJason Wright
2003-04-29Fix logic error introduced when importing a Stevens' bug fix in r1.20;Miod Vallat
from provos@, ok dhartmei@
2003-04-29after freeing curp, set to NULL. fixes a crash when loading a moduleTed Unangst
twice. similar to patch from Even Farrer farrer at uofu.net
2003-04-28use the new display typesJason Wright
2003-04-28sync mquery.Dale Rahn
2003-04-28Change mquery() function call signature to be the same a mmap(). ItDale Rahn
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built, booted, and 'make includes' before building ld.so with this change.
2003-04-28Prettier dmesg; henningMiod Vallat
2003-04-28call lockmgr a bit earlier to avoid a race.Ted Unangst
2003-04-27Update the pfioc_table IOCTL structure.Cedric Berger
Prepare for anchors, improve robustness. WARNING: need to sync kernel/userland. ok dhartmei@
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-26fix handling when renaming directories on fat32. mv a/b . would mess up theTed Unangst
file system. submitted by mpech@ in pr1675
2003-04-26managment -> management;Jason McIntyre
ok mickey@
2003-04-25#define POLLNORM as synonym for POLLRDNORM. ok millert@Ted Unangst
2003-04-25Enable lm(4) and viaenv(4).Alexander Yurchenko
ok miod@ deraadt@
2003-04-25Add lm(4) and viaenv(4). Commented out and i386-only for now.Alexander Yurchenko
2003-04-25viaenv(4) driver from NetBSD adapted for sysctl interface.Alexander Yurchenko
The viaenv driver provides support for the hardware monitor in the VIA VT82C686A South Bridge. Initial work on viaenv driver was done by henning@ a while ago. Tested and ok'ed by millert@ and henning@.
2003-04-25lm(4) driver from NetBSD adapted for sysctl interface.Alexander Yurchenko
The lm driver provides support for the National Semiconductor LM series hardware monitors and register compatible chips. It supports LM78, LM78-J, LM79, Winbond W83697HF, W83627HF, W83781D and W83782D chips. Tested and ok'ed by millert@ and henning@.