The NetBSD Project

CVS log for src/sys/dev/isa/midi_pcppi.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / isa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24.2.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:04:50 2012 UTC (5 years, 5 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.24.2.1: +9 -7 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync to latest -current.

Revision 1.23.12.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:39 2012 UTC (5 years, 6 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.23: +33 -28 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 9 10:18:17 2012 UTC (5 years, 6 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base10, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, HEAD
Changes since 1.25: +9 -7 lines
Diff to previous 1.25 (colored)

Tidy up a little, the way that midi attachment code works

- change midi_attach() to omit the 'parent' arg (there are
  only two callers of this and it is not used)

- change midisyn_attach() to midisyn_init(), so not needing a midi_softc,
  and fix the midi_pcppi driver to set hw_if and hw_hdl directly in
  its midi_softc before calling midi_attach()

- add a device_t to opl_softc structure, change opl drivers to store
  the device 'self' in opl_softc and fix opl_attach() to use this
  opl_softc->dev field directly rather than a field in an otherwise
  unused midi_softc

- remove unnecessary midi_softc from opl and cms drivers (child device
  provides that)

reviewed by mrg

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:26 2012 UTC (5 years, 6 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.24: +0 -4 lines
Diff to previous 1.24 (colored)

sync to latest -current.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 5 20:13:35 2012 UTC (5 years, 6 months ago) by plunky
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8
Changes since 1.24: +2 -6 lines
Diff to previous 1.24 (colored)

move the pmf_device_register() for midi.c and midi_pcppi.c to midi_attach()
for symmetry, since it is removed in midi detach code

and don't need to call device_pmf_is_registered() before registering it

Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:32 2011 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.23: +26 -19 lines
Diff to previous 1.23 (colored)

Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
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.

Revision 1.23.14.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:38 2011 UTC (5 years, 10 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.23: +26 -19 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

port ad-audiomp2 branch changes to 5.99.56
todo:
 - port ad-audiomp2 pcppi changes
 - these drivers need to be fixed:
   - emuxki
   - gcscaudio
   - hdafg
   - uaudio
   - umidi
   - MD audio drivers

Revision 1.19.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:53 2009 UTC (8 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.19: +20 -10 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.18.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:48 2009 UTC (8 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18.4.1: +20 -10 lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:46 2009 UTC (8 years, 5 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.19: +20 -10 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 10 10:18:50 2009 UTC (8 years, 6 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-audiomp3
Changes since 1.22: +13 -7 lines
Diff to previous 1.22 (colored)

attach and detach do not mix.
Create a new detach function that calls the parent function after
dealing with the private instance counter.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Apr 8 00:12:27 2009 UTC (8 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.21: +6 -2 lines
Diff to previous 1.21 (colored)

Decrease midi_pcppi_attached when midi at pcppi detaches.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 7 18:31:12 2009 UTC (8 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.20: +9 -8 lines
Diff to previous 1.20 (colored)

Detach midi at pcppi during shutdown.  Sprinkle static.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:18 2009 UTC (8 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.19: +3 -4 lines
Diff to previous 1.19 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.19.12.1 / (download) - annotate - [select for diffs], Tue Dec 9 13:09:13 2008 UTC (8 years, 10 months ago) by ad
Branch: ad-audiomp2
Changes since 1.19: +34 -27 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Checkpoint work on MIDI.

Revision 1.17.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:32 2008 UTC (9 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.17.6.1: +0 -7 lines
Diff to previous 1.17.6.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:03 2008 UTC (9 years, 5 months ago) by yamt
Branch: yamt-pf42
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:27 2008 UTC (9 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:52 2008 UTC (9 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base
Branch point for: nick-hppapmap, jym-xensuspend, ad-audiomp2
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:44 2008 UTC (9 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.17: +9 -12 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:29 2008 UTC (9 years, 6 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.17: +9 -12 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.15.24.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:41 2008 UTC (9 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.15.24.2: +9 -12 lines
Diff to previous 1.15.24.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with HEAD

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:51 2008 UTC (9 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.2.3: +9 -12 lines
Diff to previous 1.11.2.3 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Mar 5 10:48:48 2008 UTC (9 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.17: +9 -12 lines
Diff to previous 1.17 (colored)

Fix fallout from midi(4)'s softc split.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:19 2008 UTC (9 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.2.2: +6 -2 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored)

sync with head

Revision 1.15.24.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:14 2008 UTC (9 years, 9 months ago) by matt
Branch: matt-armv6
Changes since 1.15.24.1: +6 -2 lines
Diff to previous 1.15.24.1 (colored) to branchpoint 1.15 (colored)

sync with HEAD

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:54:27 2008 UTC (9 years, 9 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:32 2007 UTC (9 years, 9 months ago) by ad
Branch: vmlocking2
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 16 19:01:36 2007 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

add null pmf handlers.

Revision 1.15.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:27:52 2007 UTC (9 years, 11 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

sync with HEAD

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:31:49 2007 UTC (9 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.2.1: +3 -3 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)

sync with head.

Revision 1.15.22.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:25 2007 UTC (9 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.15.28.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:21 2007 UTC (9 years, 11 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:13 2007 UTC (9 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:20 2007 UTC (10 years ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:27 2006 UTC (10 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11: +23 -29 lines
Diff to previous 1.11 (colored)

sync with head.

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:29 2006 UTC (10 years, 10 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.13.6.1: +6 -7 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:21 2006 UTC (10 years, 11 months ago) by ad
Branch: newlock2
Changes since 1.13: +5 -7 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:00 2006 UTC (10 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.14: +6 -7 lines
Diff to previous 1.14 (colored)

__unused removal on arguments; approved by core.

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:04 2006 UTC (10 years, 11 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.13: +7 -8 lines
Diff to previous 1.13 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:17 2006 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.13: +7 -8 lines
Diff to previous 1.13 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:51:26 2006 UTC (11 years, 1 month ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.12: +21 -25 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:24 2006 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.12: +21 -25 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.12.16.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:26 2006 UTC (11 years, 3 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.12: +21 -25 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Merge from HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 30 13:56:25 2006 UTC (11 years, 3 months ago) by chap
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.12: +21 -25 lines
Diff to previous 1.12 (colored)

Ankh-Morpork, we have a MIDI driver....

Merge from chap-midi branch, after
~month for review
Comments by thorpej@ drochner@ and Alexandre Ratchov

Incorporated: points by thorpej@ drochner@; preliminary support for
a stats-collecting ioctl suggested by martin@ from comments by A.R.

PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590
kern/33614 and one instance of kern/32651

ok martin@

Revision 1.12.14.4 / (download) - annotate - [select for diffs], Sat Jun 10 22:32:27 2006 UTC (11 years, 4 months ago) by chap
Branch: chap-midi
Changes since 1.12.14.3: +10 -2 lines
Diff to previous 1.12.14.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Now with support for the following MIDI controls -

  Channel Volume
  Expression

- the following heretofore unimplemented message -

  Pitch Bend

- and the following registered parameters -

  Pitch Bend Range
  Channel Fine Tuning
  Channel Coarse Tuning

Volume and Expression are handled by all synth chip drivers but pcppi
(which has a fixed volume). All of the pitch controls will be effective
(at least for new notes struck after a change) for all current synth
drivers but cms (that driver discards all the fractional pitch bits and
calculates its own frequency by a table lookup; it should be possible to
do better with knowledge of the formula behind the table, but I have
found no cms docs).  If a driver provides repitchv and relevelv methods
for changing the pitch/level of a sounding voice, then changes to these
parameters will take effect in real time and not just for subsequent notes.
The effect can be heard (for repitchv) over pcppi.

Heads up: if you build with libprop earlier than 2006.05.28, you can enjoy
the exhilarating experience of seeing kernel memory stomped. ;)

Revision 1.12.14.3 / (download) - annotate - [select for diffs], Fri Jun 9 17:05:28 2006 UTC (11 years, 4 months ago) by chap
Branch: chap-midi
Changes since 1.12.14.2: +5 -5 lines
Diff to previous 1.12.14.2 (colored) to branchpoint 1.12 (colored)

Bit of housecleaning.

"miditune" wasn't a good name for the pitch representation (even if it
did come from the MIDI Tuning Specification) because for too many people
a 'tune' is a little ditty, not a single pitch. Changed the name to
midipitch and added a typedef midipitch_t; renamed the associated macros
consistently.

The type and operations on it are now in <sys/midiio.h> because they could
show up in userland for manipulation of the MIDI Tuning messages that
RP-012 defines. The macro MIDIPITCH_TO_HZ18 expands in userland to
ordinary libm calls, and in-kernel to the no-floating-point version in
midisyn. A few more operations are defined in userland where libm is
available.

At the same time, made midipitch_t signed. It has the bits to spare,
and such manipulations as adding several corrections and clamping the
result will be simpler with it signed.

Revision 1.12.14.2 / (download) - annotate - [select for diffs], Thu Jun 8 13:21:48 2006 UTC (11 years, 4 months ago) by chap
Branch: chap-midi
Changes since 1.12.14.1: +13 -16 lines
Diff to previous 1.12.14.1 (colored) to branchpoint 1.12 (colored)

Rototill of midisyn <-> synth driver i/f.

The DOALLOC and FREQXLATE flags are on the way out. Whether a driver wants
allocation service is deducible from whether it provides an allocv method, and
anyway none does. As for freq, they all get a miditune and can convert it
whichever way they want.

Controller handling with midictl is hooked in but few controllers watched yet.

Some macros for manipulating the miditune type are currently in midisynvar.h
but should perhaps be exported in midiio.h.

opl no longer has its own master volume state (there was no setter for it
anyway, it never changed); soon that will be handled centrally in midisyn.

Builds a kernel. Not all functionality tested yet.

Revision 1.12.14.1 / (download) - annotate - [select for diffs], Wed Jun 7 01:23:10 2006 UTC (11 years, 4 months ago) by chap
Branch: chap-midi
Changes since 1.12: +5 -14 lines
Diff to previous 1.12 (colored)

The midisyn clients now use designated initializers so the method
structure can evolve. Only opl currently provides any methods beyond
open/close/note-on/note-off. Only cms takes a note number; the others
want a frequency. This is good because it is much easier that way to
put a common handler for tuning/pitchbend/portamento in midisyn itself.

Next up, axe most methods nobody implements. Split note-on into two
methods, one with a frequency, one with a note number, of which a driver
provides one or the other. So far all of the clients delegate voice
allocation to midisyn, so clarify that the method is getting an actual
voice number for the device and not a MIDI channel. If a device that can
do its own allocation is later to be supported, let appropriate different
methods be added then.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:03 2005 UTC (11 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart, chap-midi
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

merge ktrace-lwp.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:55 2005 UTC (12 years, 5 months ago) by kent
Branch: kent-audio2
Changes since 1.9: +9 -7 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with -current

Revision 1.8.6.5 / (download) - annotate - [select for diffs], Fri Apr 1 14:29:52 2005 UTC (12 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.6.4: +4 -2 lines
Diff to previous 1.8.6.4 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.9.10.2 / (download) - annotate - [select for diffs], Sat Mar 26 18:19:19 2005 UTC (12 years, 6 months ago) by yamt
Branch: yamt-km
Changes since 1.9.10.1: +2 -0 lines
Diff to previous 1.9.10.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 21 18:27:32 2005 UTC (12 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

This needs <machine/bus.h> now.

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:45 2005 UTC (12 years, 8 months ago) by yamt
Branch: yamt-km
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

sync with head.

Revision 1.8.6.4 / (download) - annotate - [select for diffs], Fri Feb 4 11:46:09 2005 UTC (12 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.6.3: +7 -7 lines
Diff to previous 1.8.6.3 (colored) to branchpoint 1.8 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:40 2005 UTC (12 years, 8 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base3, yamt-km-base2, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

de-__P

Revision 1.8.6.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:29:47 2004 UTC (13 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.6.2: +2 -2 lines
Diff to previous 1.8.6.2 (colored) to branchpoint 1.8 (colored)

Fix the sync with head I botched.

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:47:46 2004 UTC (13 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.6.1: +0 -0 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored)

Sync with HEAD.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:47:59 2004 UTC (13 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 4 13:57:30 2003 UTC (13 years, 10 months ago) by keihan
Branch: MAIN
CVS Tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean".  Thanks for the patiance, and sorry for all the commits.

Revision 1.4.22.2 / (download) - annotate - [select for diffs], Fri Oct 18 02:42:26 2002 UTC (15 years ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.4.22.1: +3 -4 lines
Diff to previous 1.4.22.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Catch up to -current.

Revision 1.4.24.2 / (download) - annotate - [select for diffs], Thu Oct 10 18:39:45 2002 UTC (15 years ago) by jdolecek
Branch: kqueue
Changes since 1.4.24.1: +4 -5 lines
Diff to previous 1.4.24.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 2 03:10:49 2002 UTC (15 years ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Fix sizeof and whitespace bug from the script I'm using to do the
CFATTACH_DECL conversion.  (Grumble.)

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 2 02:09:19 2002 UTC (15 years ago) by thorpej
Branch: MAIN
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored)

Use CFATTACH_DECL().

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 27 20:38:42 2002 UTC (15 years ago) by thorpej
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Declare all cfattach structures const.

Revision 1.4.24.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:55:36 2002 UTC (15 years, 9 months ago) by thorpej
Branch: kqueue
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

Sync kqueue branch with -current.

Revision 1.4.22.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:51 2001 UTC (15 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

Catch up to -current.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 13 08:01:25 2001 UTC (15 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

add RCSID

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 25 22:17:06 1998 UTC (18 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej_scsipi, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: nathanw_sa, kqueue
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Make the copyright header conform to the NetBSD template.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 17 21:16:14 1998 UTC (19 years, 2 months ago) by augustss
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)

* Redo the way the way the MIDI driver attaches to audio devices.
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
  The opl driver is not finished yet; it sounds pretty awful.

For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 12 21:36:21 1998 UTC (19 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.1: +15 -4 lines
Diff to previous 1.1 (colored)

Shut up after close().

Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 12 18:16:36 1998 UTC (19 years, 2 months ago) by augustss
Branch: MAIN

Add a MIDI driver for the PC speaker.  This is mostly of hack value,
but, hey, lotsa people got a MIDI device now!  (A truly pitiful one. :-)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>