| Age | Commit message (Collapse) | Author |
|
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.
|
|
aliases and now we can easily revert audio to IPL_VM if necessary,
without having to revert the whole branch.
|
|
the original ad-audiomp branch notes:
Add MP locking to the audio drivers.
Making the audio drivers MP safe is necessary before efforts
can be made to make the VM system MP safe.
The are two locks per device instance, an ISR lock and
a character device lock. The ISR lock replaces calls to
splaudio()/splx(), and will be held across calls to device
methods which were called at splaudio() before (e.g.
trigger_output). The character device lock is held across
calls to nearly all of the methods, excluding some only
used for initialization, e.g. get_locks.
Welcome to 5.99.57.
|
|
|
|
always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.
|
|
related cosmetic changes.
Reviewed by cube@.
|
|
|
|
|
|
- fix a couple of unused bugs
- no more -Wno-unused for i386
|
|
|
|
|
|
|
|
reviewed by christos@, cube@ and martin@.
While here, remove a printf() in mpu_attach() (ic/mpu.c) to remove
an empty line in some frontends (mpu_isa.c, etc).
|
|
by the isa.c bus driver and the "address/whatever not specified"
argument passed to leaf device drivers.
The former is "ISACF_XXX_DEFAULT" as generaterd by config(8), the latter
"ISA_UNKNOWN_XXX", defined in isavar.h.
This way we save a dependency of every ISA device driver on "locators.h".
|
|
CFATTACH_DECL conversion. (Grumble.)
|
|
|
|
|
|
configuration of devices logically attached to the ISA bus:
* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
|
|
|
|
|
|
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
|
|
(I didn't move it in the repository because the revision history
is very short and uninteresting. :)
|
|
by me and gson@araneus.fi (Andreas Gustafsson).
|