Age | Commit message (Collapse) | Author |
|
"obviously correct" kettenis@
|
|
previously, we had a static list of pcidevs and which agp driver would
be interanlly attached. Instead, split the agp drivers so they work like
audio(4), where we attach a driver, which sets up some callbacks and
initial state, then attaches the interface (agp(4)). Since this allows
us to attach different drivers in different places, and give them
/proper/ probe functions move most of the drivers back to attaching at
pchb, where they should, and intagp (formerly agp_i810) stays attaching
at vga, since it's part of the intel integrated graphics chips.
Diff shrinks the kernel slightly, gets rid of the annoying "no integrated
graphics" warning, and allows more cleanup later.
Tested by many. fix for alpha build (the only other vga_pci.c consumer)
suggested by miod.
|
|
ok espie, jmc
|
|
ok miod@
|
|
at apple code
go ahead drahn@
|
|
|
|
|
|
o set init data to match snapper_set_foo*
o set volume to 190 (audible compared to the default)
o set input to mic (most common usage)
ok jakemsr@
|
|
control. makes mixerctl(1) output more sensible.
ok drahn, todd
|
|
set ap_open_count = 0 in mmclose() instread of decrementing it.
ok miod@, oga@.
|
|
* for outputs.{bass,treble}, 0 dB corresponds to mixer value 128,
not 0.
* line-in is configured as the default recording source; set
sc->sc_record_source accordingly.
* add missing register to initialization code.
from Marco (marco2z at arsystel com), thanks
testing/ok drahn@
|
|
causes high priority interrupts to be delayed until that state is cleared.
|
|
|
|
the size of a full blown struct cpu_info, instead of the first few fields.
|
|
even in non-MP kernels, to avoid unnecessary tlb flushes later when
pmap operates on shared pages.
|
|
|
|
tested by me, from ratchov@, please commit ratchov@
|
|
|
|
mulaw mono, which few can even do.
"Please just get this in." brad@
|
|
last process running.
|
|
SMBIOS version is < 2.4. This lets 40-series thinkpads continue to use
apm.
worked on with kettenis
|
|
other MP platforms.
|
|
values of the audio_params structure during AUDIO_SETINFO if the
hardware cannot be set to exactly the requested mode.
some drivers do this sometimes. others always return EINVAL if there
isn't an exact match.
be more consistent. only return EINVAL if an absurd parameter was
requested, otherwise return a supported set of parameters, as close
as possible to what was requested.
with/ok ratchov@
|
|
|
|
|
|
southbridge chipsets.
ok ratchov@
|
|
add a new arg to the backend so it can tell pool to slow down. when we get
this flag, yield *after* putting the page in the pool's free list. whatever
we do, don't let the thread sleep.
this makes things better by still letting the thread run when a huge pf
request comes in, but without artificially increasing pressure on the backend
by eating pages without feeding them forward.
ok deraadt
|
|
protected by __ISO_C_VISIBLE > 1999. With a little help from miod@.
ok miod@
|
|
|
|
#if INET6 => #ifdef INET6
|
|
for a pin. Resolves issues with azalia(4) devices that have no usable codecs
when they share an interrupt pin with other devices.
ok weingart@, krw@
|
|
|
|
|
|
the CPU roles to compile on !MULTIPROCESSOR kernels and make the
top part of cpu_attach() which deals with processor setup depending
on the CPU role look much closer to the equivalent code for amd64.
ok kettenis@
|
|
from ray; ok ray, deraadt
|
|
|
|
which are uniform for the profclock on each cpu in a SMP system (but using
a different seed for each cpu). on all cpus, avoid seeding with a value out
of the [0, 2^31-1] range (since that is not stable)
ok kettenis drahn
|
|
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
|
and i386.
deraadt got sick of me wussing out over this.
|
|
now the offset into the first mbuf of the target chain before copying
the source data over. From FreeBSD.
Convert drivers' use of m_devget(). Mostly from thib@.
Update mbuf(9) man page.
ok claudio@, thib@
|
|
|
|
|
|
|
|
|
|
has never been performance sensitive.
Running on all platforms, discussed with millert and kettenis, ok toby
|
|
committed over a rum(4) donated by Maxim Belooussov, thanks!
ok jsing@
|
|
anything special to prod a cpu to leave the idle loop in signotify.
powerpc, i386, amd64 and sparc64 will follow soon so that everyone has
the same interface to wake an idling cpu.
|
|
For now, sparc64 is arbitrarily set to 256 (only architecture that didn't have
a practical limit in the code on the number of cpus).
|
|
buggy ACP BIOSes. Based on a diff from weingart@.
ok deraadt@, oga@
|
|
ok krw@ kettenis@
|