Age | Commit message (Collapse) | Author |
|
tested by deraadt@, ok krw@
|
|
ok deraadt
|
|
|
|
|
|
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI,
CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI.
ok miod@
|
|
OK dlg@
|
|
cleared with all original authors. ok deraadt
|
|
devices support 8kHz sample rates, and there is insufficient
code to enable it properly on the devices that do support 8kHz.
fixes "evil sound" problem reported by ajacoutot@ and jdixon@.
ok deanna@, ratchov@, ajacoutot@
|
|
|
|
ok miod@
|
|
|
|
sys/dev/pci/pciide.c from naddy@
|
|
code. At this moment all architectures get the copy of the old code
except i386 which gets a new shiny implementation that doesn't spin
at splhigh (doh!) and doesn't try to grab the biglock when releasing
the biglock (double doh!).
Shaves 10% of system time during kernel compile and might solve a few
bugs as a bonus.
Other architectures coming shortly.
miod@ deraadt@ ok
|
|
|
|
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.
There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.
Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..
|
|
decide which files must be pulled into the kernel. Also conditionalize
the pulling of those files based on the COMPAT_* options.
|
|
which is due to the timecounter running at a different frequency than what
OpenFirmware tells us. On such machines, measure the actual timecounter
frequency (triggered by a table of affected models) and use this measured
value instead. This brings down the drift to values where adjtime()/adjfreq()
triggered by ntpd(8) can tame the clock.
feedback many, ok miod, kettenis
|
|
the CardBus section.
- add forgotten re CardBus entry to the RAMDISK kernel config.
ok dlg@
|
|
ok miod@, deraadt@
|
|
ok jsg, dlg.
|
|
ok oga@ brad@
|
|
- the endianness of the conversions don't depend on the endianness
of machine the conversions are built on, but the endianness of the
audio data itself. choose encoding conversions explicitly, instead
of relying on #defines based on the endianness of the machine.
- replace home-grown conversions with comparable conversions in
auconv.c and mulaw.c
- use the proper conversion for ulinear_be:16 -> slinear_le:16 in
auixp(4)
thanks ajacoutot@ and sthen@ for !x86 testing
|
|
|
|
ok miod@, deraadt@
|
|
ok miod@
|
|
contents from OpenFirmware.
ok deraadt@
|
|
ok deraadt@
|
|
|
|
do the cache flush / instruction cache disable / tlb invalidate dance.
For some reason in a switchto world this suddenly matters or machines
become really slow running NFS... huh? figured out with kettenis
|
|
- Move the functionality of choosing a process from cpu_switch into
a much simpler function: cpu_switchto. Instead of having the locore
code walk the run queues, let the MI code choose the process we
want to run and only implement the context switching itself in MD
code.
- Let MD context switching run without worrying about spls or locks.
- Instead of having the idle loop implemented with special contexts
in MD code, implement one idle proc for each cpu. make the idle
loop MI with MD hooks.
- Change the proc lists from the old style vax queues to TAILQs.
- Change the sleep queue from vax queues to TAILQs. This makes
wakeup() go from O(n^2) to O(n)
there will be some MD fallout, but it will be fixed shortly.
There's also a few cleanups to be done after this.
deraadt@, kettenis@ ok
|
|
|
|
- if ((mapstore = malloc(mapsize, M_DEVBUF,
- (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
+ if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ?
+ (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
return (ENOMEM);
- bzero(mapstore, mapsize);
|
|
If people testing could send mail to mglocker and myself we'd appreciate it.
ok mglocker@
|
|
ok art@
|
|
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
immediately adjacent bzero().
|
|
|
|
USB capable archs.
|
|
|
|
OK claudio@
|
|
kernel builds locally this doesnt change much but over NFS this
cuts about 12% of the build time on my setup (i386).
OK miod@, deraadt@.
|
|
|
|
todd will commit the MAKEDEV bits later.
|
|
clashed with a global variable already used by the bootblocks.
Therefore rename bootfile here to kernelfile.
ok drahn@
|
|
kernel thread of its own. the api has changed (which will be fixed in the
manpage shortly) so all the users of sensor tasks that i can find have
been fixed too.
noone tested, so its going in to force people to run with it.
"put it in" deraadt@
|
|
|
|
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
|
|
and making it look a lot more like other architectures; tested by
myself and drahn and gwk
|
|
to support hotplug media on most architectures. disklabel setup and
verification done using new helper functions. Disklabels must *always*
have a correct checksum now. Same code paths are used to learn on-disk
location disklabels, to avoid new errors sneaking in. Tested on almost all
cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
|
|
exposed to userland, protect with _KERNEL. Tested by Antoine Jacoutot
|
|
USB_DECLARE_DRIVER macros.
No binary change.
ok dlg.
|