summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-06-04let the arc4random sysctl write out up to 256 bytes at once.Ted Unangst
ok + input deraadt miod
2005-06-04Make scsi_do_mode_sense() aware of the difference between the 8 byteKenneth R Westerback
general block descriptor and the 8 byte direct block descriptor, and return the correct values for density, block_count and block_size based on the type of the device. First cut has T_SEQUENTIAL (i.e. tape devices) as the only device type using general block descriptors, so the behaviour change is minimal.
2005-06-03com_pxa2x0 must cause com.c compilation; piece missed by uweTheo de Raadt
2005-06-03No longer used.Kenneth R Westerback
2005-06-03Move definitions of struct cd_softc{} and CDRETRIES from cdvar.h intoKenneth R Westerback
cd.h. Remove include of cdvar.h from cd.c. cdvar.h becomes expendable. No functional change.
2005-06-03Tweak scsi_do_mode_sense(). NetBSD was right and I was wrong. Sigh.Kenneth R Westerback
Add 'big' parameter to report which mode sense header type is being returned. Eliminate icky pointer arithmetic, since it won't work if only block descriptors are returned by the device. No functional change.
2005-06-03Cache a copy of the INQUIRY data obtained during device attachment inKenneth R Westerback
the scsi_link structure. This is a more general solution than the current inconsistant copying of fields into _softc structures. The redundant fields in _softc's will be cleaned up later. The device field will be used immediately to finish up the new mode sense code. ok marco@
2005-06-03reties -> retriesMiod Vallat
2005-06-03Hold a reference to the relevant struct in_ifaddr while a multicast addressChristopher Pascoe
is bound on the interface. ok mcbride@ henning@
2005-06-02Fix pasto - use correct pointer to extract block count from 8 byteKenneth R Westerback
block descriptors. Not that we actually use this information anywhere.
2005-06-02These options dont affect anything anymore.Dale Rahn
2005-06-02use much simpler switch for pci_machdep.h; ok drahn@ whatever tdr (;Michael Shalayeff
2005-06-02Start on a basic ACPI framework -- does not do much more than read out theThorsten Lockert
ACPI tables into kernel memory and attach ACPI and HPET timers currently. In order to test this code, enabling the devices in GENERIC as well as the ACPI_ENABLE option is needed. This code does not do any thermal control yet, so this should be done with care depending on the platform. In the tree so more people can contribute to making this more fully featured. Ok niklas@ grange@ tedu@
2005-06-02correctly close the audio device in audio_open() if one of theJoris Vink
precision parameters is zero. ok tedu@
2005-06-02tsc, ryan left debug crap behindHenning Brauer
2005-06-02for sysctl syscall pass the mib[] back to kdump to parse;Michael Shalayeff
always print () on syscalls w/ void args even (deraadt version)
2005-06-02- wish there was a better way to do this... put splhigh() around theJason Wright
extent_* functions to ensure they stay consistent - also remove some debugging crap
2005-06-02Remove non-emulating wsdisplays - nothing uses them.Miod Vallat
ok deraadt@
2005-06-02Do not compile scrollback support if option SMALL_KERNEL.Miod Vallat
ok deraadt@
2005-06-02Eradicate USB quirks NOTUR and NODOORLOCK. Should no longer beKenneth R Westerback
required and no actual users of the relevant devices found. ok marco@
2005-06-02allow for dma maps larger than 64 pages; jason@ okMichael Shalayeff
2005-06-01Typo in cut'n'paste abuse.Miod Vallat
2005-06-01De-inline if option SMALL_KERNEL on alpha; saves 4KB off RAMDISK{,B}, otherMiod Vallat
kernels and platforms unaffected. ok deraadt@
2005-06-01De-inline a few functions if option SMALL_KERNEL, and do not compileMiod Vallat
ahc_print_scb() unless option AHC_DEBUG. Saves about 3KB on alpha RAMDISK{,B}. ok deraadt@
2005-06-01Do not kill the event sink when closing a wsmouse device opened in write-onlyMiod Vallat
mode, thus only been used to issue ioctls. This chunk was lost in r1.14; reported by Douglas Santos.
2005-06-01use vm_dused for rlimit. much happier with mmap. tested by severalTed Unangst
over past week. as a bonus, kills 5 XXXs.
2005-06-01kjell is an evil tree-breakerMichael Shalayeff
2005-06-01as Jason requested, be gone vtophys().Brad Smith
ok deraadt@ marco@
2005-06-01disable sf* too, until it is vtophys cleanTheo de Raadt
2005-06-01when dumping policies, skip those attached to a socket.Hans-Joerg Hoexer
ok ho
2005-06-01fix ordering of PCI devsBrad Smith
2005-06-01regenJonathan Gray
2005-06-01RTL8187.Jonathan Gray
2005-05-31spelling corrections in comments;Jason McIntyre
from charlie root;
2005-05-31add pcmcia com* until uwe fixes the codeTheo de Raadt
2005-05-31bus_dma-ify. needs bus_dmamap_sync's, but works on coherent arch's now.Jason Wright
NOW: someone remove vtophys from the amd64 port before someone else gets the silly idea that it somehow "works" on that port.
2005-05-31Protect the run queues with SCHED_LOCK, not just spl (ot nothing at all inArtur Grabowski
one case fixed here). miod@ "appears to be harmless" markus@ ok
2005-05-31Protect p_timer with splclock. It can be fiddled with in hardclock (butArtur Grabowski
only for curproc, that's why no SCHED_LOCK or similar is necessary). miod@ "appears to be harmless" markus@ ok
2005-05-31Lock the apic with a mutex, not a SIMPLE_LOCK.Artur Grabowski
markus@ ok miod@ tried to ok, but he doesn't officially have an amd64.
2005-05-31IPL_SCHED should block statclock on architectures where the schedulerArtur Grabowski
is clocked by the statclock. miod@ ok
2005-05-31Reduce ccbs for now because millert had issues on a 475.Marco Peereboom
This needs some intelligence because it does help the 518s.
2005-05-31Remove unused sc_err1() parameter 'async'. Lint.Kenneth R Westerback
2005-05-30Only enable the FPU when the process has an FPU context. ok miod@Dale Rahn
2005-05-30Just use preempt(NULL) like every other architecture in this code path,Artur Grabowski
don't roll our own. ok miod@ pefo@
2005-05-30even shorterTheo de Raadt
2005-05-30shrink alpha boot blocks another little bitTheo de Raadt
2005-05-29Sync with hppa r1.11: Correctly handle boot drives with SCSI id >= 10Miod Vallat
2005-05-29Lock SMM space on Intel E7xxx chipsets, too.Alexander Yurchenko
2005-05-29Remove debug printf I left.Alexander Yurchenko
2005-05-29regenBrad Smith