summaryrefslogtreecommitdiff
path: root/sys/dev/isa/mpu_isa.c
AgeCommit message (Collapse)Author
2016-07-14- Use aprint*() more in xxx_attach().msaitoh
- Add missing aprint_naive("\n"). - Remove extra spaces and tabs. - KNF.
2011-11-24put back IPL_AUDIO and splaudio(), at the request of rmind. they aremrg
aliases and now we can easily revert audio to IPL_VM if necessary, without having to revert the whole branch.
2011-11-23Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. Fromjmcneill
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.
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-04-01Fix fallout from device_t/softc split to mpu(4):xtraeme
always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.
2008-03-27Split device_t/softc for mpu(4) and its attachments, plus otherxtraeme
related cosmetic changes. Reviewed by cube@.
2007-10-19machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.had
2006-11-16__unused removal on arguments; approved by core.christos
2006-10-12- sprinkle __unused on function decls.christos
- fix a couple of unused bugs - no more -Wno-unused for i386
2005-12-11merge ktrace-lwp.christos
2005-02-27nuke trailing whitespaceperry
2005-02-04de-__Pperry
2004-12-02Add ACPI mpu(4) attachment, based on lpt_acpi.c by jmcneill@,xtraeme
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).
2004-09-14Separate the namespace for default (ie unspecified) locators useddrochner
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".
2002-10-02Fix sizeof and whitespace bug from the script I'm using to do thethorpej
CFATTACH_DECL conversion. (Grumble.)
2002-10-02Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-01-07Overhaul of the ISA autoconfiguration code to support directthorpej
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.
2001-11-13add RCSIDlukem
1999-08-05Make this file compile again.augustss
1999-08-02Move the mpu device declaration to conf/files.augustss
Let the mpu device attach at the sb device, and then midi at the mpu. Update the mpu at eso attachment.
1999-08-01Move the MPU driver isa/ to ic/.augustss
(I didn't move it in the repository because the revision history is very short and uninteresting. :)
1999-08-01Make an MPU attachment to ISA. Used for old Roland cards. Writtenaugustss
by me and gson@araneus.fi (Andreas Gustafsson).