The NetBSD Project

CVS log for src/sys/dev/pci/eap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.97.10.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:26 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.97.10.1: +6 -6 lines
Diff to previous 1.97.10.1 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.102 / (download) - annotate - [select for diffs], Thu Jul 25 15:06:07 2019 UTC (4 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.101: +6 -6 lines
Diff to previous 1.101 (colored)

 Make register address unsigned to avoid undefined behavior. Found by KUBSan.

Revision 1.97.10.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:15 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.97: +83 -222 lines
Diff to previous 1.97 (colored)

Sync with HEAD

Revision 1.101 / (download) - annotate - [select for diffs], Sat Jun 8 08:02:38 2019 UTC (4 years, 10 months ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.100: +4 -4 lines
Diff to previous 1.100 (colored)

Clean get_props().
- Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly.
  This eliminates need for audio.c to take care of such (old)
  drivers which don't return both of PLAYBACK and CAPTURE.
- All get_props() doesn't need to return AUDIO_PROP_MMAP.
  It is handled in the audio layer now.

Revision 1.100 / (download) - annotate - [select for diffs], Wed May 8 13:40:18 2019 UTC (4 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.99: +55 -175 lines
Diff to previous 1.99 (colored)

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly.  Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism.  The encoding/channels/frequency
  conversions are completely handled in the upper layer.  So the hard-
  ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
  - Obsoletes query_encoding and add query_format instead.
  - Obsoletes set_params and add set_format instead.
  - Remove drain, setfd, mappage.
  - The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c         -> dev/audio/audio.c (rewritten)
- dev/audiovar.h      -> dev/audio/audiovar.h
- dev/audio_dai.h     -> dev/audio/audio_dai.h
- dev/audio_if.h      -> dev/audio/audio_if.h
- dev/audiobell.c     -> dev/audio/audiobell.c
- dev/audiobellvar.h  -> dev/audio/audiobellvar.h
- dev/mulaw.[ch]      -> dev/audio/mulaw.[ch] + dev/audio/alaw.c

Revision 1.99.2.4 / (download) - annotate - [select for diffs], Sat May 4 07:20:10 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.99.2.3: +3 -3 lines
Diff to previous 1.99.2.3 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)

Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.99.2.3 / (download) - annotate - [select for diffs], Tue Apr 30 06:05:02 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.99.2.2: +42 -70 lines
Diff to previous 1.99.2.2 (colored) to branchpoint 1.99 (colored)

More adapt to audio2.
- Use set_format.
- Remove an empty method.
- XXX DAC1 and secondary audio device support should be removed.
  Now mixing two (or more) sources is done by audio layer.

Revision 1.99.2.2 / (download) - annotate - [select for diffs], Sun Apr 21 07:55:25 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.99.2.1: +17 -116 lines
Diff to previous 1.99.2.1 (colored) to branchpoint 1.99 (colored)

Adapt to audio2.
- Drop INDEPENDENT property from es1370 which has only one clock.

Revision 1.99.2.1 / (download) - annotate - [select for diffs], Sun Apr 21 05:11:22 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.99: +17 -10 lines
Diff to previous 1.99 (colored)

Use C99 style struct initializer to audio_format.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Mar 16 12:09:58 2019 UTC (5 years ago) by isaki
Branch: MAIN
CVS Tags: isaki-audio2-base
Branch point for: isaki-audio2
Changes since 1.98: +38 -58 lines
Diff to previous 1.98 (colored)

Use C99 style struct initializer to audio_hw_if.

Revision 1.97.8.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:49 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.97: +4 -3 lines
Diff to previous 1.97 (colored) next main 1.98 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.98 / (download) - annotate - [select for diffs], Sun Dec 9 11:14:02 2018 UTC (5 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.97: +4 -3 lines
Diff to previous 1.97 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.94.8.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.94.8.1: +2 -4 lines
Diff to previous 1.94.8.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

update from HEAD

Revision 1.95.6.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:05 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.95.6.1: +2 -4 lines
Diff to previous 1.95.6.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

Sync with HEAD

Revision 1.97 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:11 2017 UTC (6 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.96: +2 -4 lines
Diff to previous 1.96 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.95.6.1 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:03 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:41 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.94.8.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.94: +4 -3 lines
Diff to previous 1.94 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.92.34.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:24 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.92.34.1: +4 -3 lines
Diff to previous 1.92.34.1 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.94.12.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:39 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.94: +4 -3 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

sync with head

Revision 1.95 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:24 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, 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
Branch point for: nick-nhusb
Changes since 1.94: +4 -3 lines
Diff to previous 1.94 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.92.34.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:44 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.92: +61 -114 lines
Diff to previous 1.92 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Thu Nov 24 03:35:58 2011 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.93: +4 -4 lines
Diff to previous 1.93 (colored)

put back IPL_AUDIO and splaudio(), at the request of rmind.  they are
aliases and now we can easily revert audio to IPL_VM if necessary,
without having to revert the whole branch.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:35 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.92: +62 -115 lines
Diff to previous 1.92 (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.92.36.2 / (download) - annotate - [select for diffs], Tue Nov 22 22:47:09 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.92.36.1: +2 -4 lines
Diff to previous 1.92.36.1 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.92.36.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:42 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.92: +62 -113 lines
Diff to previous 1.92 (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.92.12.5 / (download) - annotate - [select for diffs], Fri Dec 12 23:06:58 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.92.12.4: +5 -83 lines
Diff to previous 1.92.12.4 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

Checkpoint work in progress.

Revision 1.92.12.4 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:30 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.92.12.3: +14 -14 lines
Diff to previous 1.92.12.3 (colored) to branchpoint 1.92 (colored)

Checkpoint work in progress.

Revision 1.92.12.3 / (download) - annotate - [select for diffs], Tue Dec 9 13:09:13 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.92.12.2: +3 -2 lines
Diff to previous 1.92.12.2 (colored) to branchpoint 1.92 (colored)

Checkpoint work on MIDI.

Revision 1.92.12.2 / (download) - annotate - [select for diffs], Mon Dec 8 13:02:38 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.92.12.1: +7 -11 lines
Diff to previous 1.92.12.1 (colored) to branchpoint 1.92 (colored)

Death to NOWAIT.

Revision 1.92.12.1 / (download) - annotate - [select for diffs], Sun Dec 7 13:02:13 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.92: +51 -21 lines
Diff to previous 1.92 (colored)

Ressurect the ad-audiomp branch at request of matt@.

With this commit:

- core audio subsystem made MPSAFE
- eap, btsco drivers made MPSAFE

TODO:

- midi
- convert remaining drivers

Revision 1.90.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:37 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.90.16.1: +0 -7 lines
Diff to previous 1.90.16.1 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored)

Sync with HEAD.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:19 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.91: +2 -9 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

sync with head.

Revision 1.91.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:43 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.91: +2 -9 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

sync with head.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:54 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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-premerge-20091211, 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-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base
Branch point for: yamt-pagecache, jmcneill-audiomp3, ad-audiomp2
Changes since 1.91: +2 -9 lines
Diff to previous 1.91 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.90.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:49 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.90: +55 -58 lines
Diff to previous 1.90 (colored)

Sync with HEAD.

Revision 1.90.12.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:47 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.90: +55 -58 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

sync with head.

Revision 1.89.16.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:46 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.89.16.1: +55 -58 lines
Diff to previous 1.89.16.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

sync with HEAD

Revision 1.79.2.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:11 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.79.2.4: +55 -58 lines
Diff to previous 1.79.2.4 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored)

sync with head.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Mar 4 22:12:55 2008 UTC (16 years, 1 month 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.90: +55 -58 lines
Diff to previous 1.90 (colored)

Split device_t/softc, and other related cosmetic changes.

Revision 1.89.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:49 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

sync with HEAD

Revision 1.79.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:43 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.79.2.3: +3 -3 lines
Diff to previous 1.79.2.3 (colored) to branchpoint 1.79 (colored)

sync with head.

Revision 1.89.14.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:58 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored) next main 1.90 (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.89.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:54 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Sync with HEAD.

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:52 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Sync with head.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:43 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

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

Revision 1.79.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:46 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.79.2.2: +3 -3 lines
Diff to previous 1.79.2.2 (colored) to branchpoint 1.79 (colored)

sync with head.

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:13 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Sync with HEAD.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:17 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.88.6.1 / (download) - annotate - [select for diffs], Tue Feb 27 14:16:25 2007 UTC (17 years, 1 month ago) by ad
Branch: ad-audiomp
Changes since 1.88: +48 -20 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Add MP locking for audio drivers.

Revision 1.79.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:43 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.79.2.1: +52 -25 lines
Diff to previous 1.79.2.1 (colored) to branchpoint 1.79 (colored)

sync with head.

Revision 1.86.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:42 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.86.4.1: +15 -15 lines
Diff to previous 1.86.4.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

sync with head.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:29 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.86: +6 -4 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, 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, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base
Branch point for: yamt-idlelwp, ad-audiomp
Changes since 1.87: +15 -15 lines
Diff to previous 1.87 (colored)

__unused removal on arguments; approved by core.

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:16 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.86: +16 -14 lines
Diff to previous 1.86 (colored)

sync with head

Revision 1.87 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:28 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.86: +16 -14 lines
Diff to previous 1.86 (colored)

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

Revision 1.81.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:16 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.81: +66 -34 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

sync with head

Revision 1.81.8.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:21 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.81.8.2: +4 -2 lines
Diff to previous 1.81.8.2 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

sync with head.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Aug 30 00:42:41 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.85: +4 -2 lines
Diff to previous 1.85 (colored)

fix incomplete initializers

Revision 1.81.8.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:25 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.81.8.1: +46 -23 lines
Diff to previous 1.81.8.1 (colored) to branchpoint 1.81 (colored)

sync with head

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:27 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.83: +46 -23 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Merge from HEAD.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Jul 1 15:22:06 2006 UTC (17 years, 9 months ago) by chap
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.84: +12 -13 lines
Diff to previous 1.84 (colored)

Correct build failures when MIDI is not enabled (the idea!).

Specifically eap but no midi, which makes sense if you want sound,
and umidi but no midi, which makes little sense but shouldn't fail the
build.

Suggest changing the evbarm conf files containing umidi but #midi
to comment out umidi as well (even though this fix should let them build).

Revision 1.84 / (download) - annotate - [select for diffs], Fri Jun 30 13:56:25 2006 UTC (17 years, 9 months ago) by chap
Branch: MAIN
Changes since 1.83: +47 -23 lines
Diff to previous 1.83 (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.81.8.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:21 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.81: +20 -13 lines
Diff to previous 1.81 (colored)

sync with head.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:03 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.79: +21 -14 lines
Diff to previous 1.79 (colored)

sync with head.

Revision 1.81.14.2 / (download) - annotate - [select for diffs], Mon Jun 19 04:01:35 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.81.14.1: +20 -13 lines
Diff to previous 1.81.14.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

Sync with head.

Revision 1.81.14.1 / (download) - annotate - [select for diffs], Sun Jun 18 09:22:24 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.81: +47 -23 lines
Diff to previous 1.81 (colored)

Updates PR kern/32651

The eap driver now makes use of the MIDI UART tx interrupt available on
the Ensoniq chips.  A test with nominally 20 seconds of continuous transmit
data went from 26 s real / 25 s system to 22 s real / 0.16 s system.
Implementation is quite simple, and anyone who knows any of the other
MIDI UART chips well enough to get a tx interrupt out of it would do a
world of good by updating their drivers similarly.

Anyway, scratch one off the kern/32651 todo list.

Also added a documentation reference to the ES1373 datasheet, and added
more 1371- and 1373-specific #defines in eapreg.h.  Enough there now that
anyone who wanted to play with the S/PDIF capability on the 1373 could
begin to do that.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jun 13 21:03:04 2006 UTC (17 years, 10 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Changes since 1.82: +9 -2 lines
Diff to previous 1.82 (colored)

Initialize the mixer delta value to 8 for the 1370 version. No
objections in tech-kern.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Jun 10 12:29:39 2006 UTC (17 years, 10 months ago) by rpaulo
Branch: MAIN
Changes since 1.81: +13 -13 lines
Diff to previous 1.81 (colored)

KNF.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:42 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, chap-midi
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:49 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

merge ktrace-lwp.

Revision 1.66.2.11 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.10: +97 -93 lines
Diff to previous 1.66.2.10 (colored) next main 1.67 (colored)

Sync with HEAD. Here we go again...

Revision 1.79 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 2005 UTC (18 years, 9 months ago) by thorpej
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.78: +97 -93 lines
Diff to previous 1.78 (colored)

Use ANSI function decls and static.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:05 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.76: +12 -12 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

sync with -current

Revision 1.76.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:10 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.76: +12 -12 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.66.2.10 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:17 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.9: +3 -3 lines
Diff to previous 1.66.2.9 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.78 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:32 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

nuke trailing whitespace

Revision 1.66.2.9 / (download) - annotate - [select for diffs], Tue Feb 15 21:33:13 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.8: +11 -11 lines
Diff to previous 1.66.2.8 (colored)

Sync with HEAD.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Feb 13 23:58:38 2005 UTC (19 years, 2 months ago) by fredb
Branch: MAIN
Changes since 1.76: +11 -11 lines
Diff to previous 1.76 (colored)

"output.source" on the Ensoniq 1371 really should be "input.source". Making
it so lets the audio(4) interface -- play.port and play.gain -- attach
properly.  Analysis and patch provided by Joachim Kuebart in PR kern/29178.

Revision 1.66.2.8 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:24 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.7: +315 -308 lines
Diff to previous 1.66.2.7 (colored)

Sync with HEAD.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jan 15 15:19:52 2005 UTC (19 years, 3 months ago) by kent
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km, kent-audio2
Changes since 1.75: +279 -241 lines
Diff to previous 1.75 (colored)

ansify and KNF

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:37 2005 UTC (19 years, 3 months ago) by kent
Branch: MAIN
Changes since 1.74: +40 -71 lines
Diff to previous 1.74 (colored)

merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Sun Jan 9 08:42:46 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.74.2.1: +6 -15 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

audio_hw_if change
 * make open() and close() optional
 * add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sun Jan 2 20:03:11 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.74: +36 -58 lines
Diff to previous 1.74 (colored)

* adopt the filter pipeline framework
* follow ac97_attach() change

Revision 1.66.2.7 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:44 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.6: +2 -22 lines
Diff to previous 1.66.2.6 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Nov 9 16:28:14 2004 UTC (19 years, 5 months ago) by kent
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.73: +2 -22 lines
Diff to previous 1.73 (colored)

remove mixer setting code in *_attach() because ac97_attach() does it.

Revision 1.66.2.6 / (download) - annotate - [select for diffs], Tue Nov 2 07:52:09 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.5: +6 -6 lines
Diff to previous 1.66.2.5 (colored)

Sync with HEAD.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Oct 29 12:57:18 2004 UTC (19 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.72: +6 -6 lines
Diff to previous 1.72 (colored)

constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.66.2.5 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:27 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.4: +5 -5 lines
Diff to previous 1.66.2.4 (colored)

Sync with HEAD.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Wed Sep 22 20:58:27 2004 UTC (19 years, 6 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: 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-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
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Pullup rev 1.72 (requested by kent in ticket #867)

ac97_host_if::reset() returns non-zero value if codec reset fails, and
ac97 is not attached in that case. PR#26973

Revision 1.72 / (download) - annotate - [select for diffs], Wed Sep 22 12:20:25 2004 UTC (19 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)

ac97_host_if::reset() returns non-zero value if codec reset fails, and
ac97 is not attached in that case.

PR: kern/26973

Revision 1.66.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:01 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.3: +2 -2 lines
Diff to previous 1.66.2.3 (colored)

Fix the sync with head I botched.

Revision 1.66.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:02 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.2: +2 -2 lines
Diff to previous 1.66.2.2 (colored)

Sync with HEAD.

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:44 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.1: +21 -9 lines
Diff to previous 1.66.2.1 (colored)

Sync with HEAD.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Aug 3 18:42:30 2004 UTC (19 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.70: +21 -9 lines
Diff to previous 1.70 (colored)

Check return values of config_detach() for child devices and abort
our own detach() on errors.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:06 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66: +33 -16 lines
Diff to previous 1.66 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jul 9 02:42:45 2004 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.69: +6 -13 lines
Diff to previous 1.69 (colored)

Clean up.  Attempt to make these safer against stray interrupts.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jul 8 19:39:00 2004 UTC (19 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.68: +26 -2 lines
Diff to previous 1.68 (colored)

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)

Revision 1.68 / (download) - annotate - [select for diffs], Fri Apr 23 21:13:06 2004 UTC (19 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region

Revision 1.67 / (download) - annotate - [select for diffs], Thu Dec 4 13:57:31 2003 UTC (20 years, 4 months ago) by keihan
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (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.66 / (download) - annotate - [select for diffs], Sat May 3 18:11:33 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.65: +5 -5 lines
Diff to previous 1.65 (colored)

DMA, not dma nor Dma.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:38 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.64: +7 -6 lines
Diff to previous 1.64 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jan 31 00:07:41 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.63: +11 -8 lines
Diff to previous 1.63 (colored)

Use aprint_*().

Revision 1.44.2.11 / (download) - annotate - [select for diffs], Wed Jan 15 18:44:18 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.44.2.10: +42 -9 lines
Diff to previous 1.44.2.10 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jan 14 02:23:29 2003 UTC (21 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.62: +42 -9 lines
Diff to previous 1.62 (colored)

add detach support

Revision 1.44.2.10 / (download) - annotate - [select for diffs], Sun Dec 29 20:49:21 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.44.2.9: +25 -4 lines
Diff to previous 1.44.2.9 (colored) to branchpoint 1.44 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 26 17:59:16 2002 UTC (21 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.61: +25 -4 lines
Diff to previous 1.61 (colored)

For the ES1370 do "best effort" rate selection for the FM DAC. The
card contains only one clock, which is already used by the other
DAC. The FM DAC can handle a few fixed-frequency choices.

thanks to Matthew Green for testing

Revision 1.44.2.9 / (download) - annotate - [select for diffs], Thu Dec 19 00:48:09 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.44.2.8: +15 -10 lines
Diff to previous 1.44.2.8 (colored) to branchpoint 1.44 (colored)

Sync with HEAD.

Revision 1.48.10.1 / (download) - annotate - [select for diffs], Sun Dec 15 16:27:34 2002 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Pull up revision 1.59 (requested by pooka in ticket #1035):
  Don't use tsleep() in attach, use delay().  Makes the driver
  work properly with ``Ensoniq CT5880''-based audio card.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Dec 14 17:52:47 2002 UTC (21 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.60: +15 -10 lines
Diff to previous 1.60 (colored)

Silly me for assuming that the CT5880 cards could be identified by looking
at which ones had the Product ID CT5880. Try to get the checks right now.

Also add ES1373_8 to the list.

Revision 1.44.2.8 / (download) - annotate - [select for diffs], Wed Dec 11 06:38:16 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.44.2.7: +25 -18 lines
Diff to previous 1.44.2.7 (colored) to branchpoint 1.44 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Dec 5 11:26:26 2002 UTC (21 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.59: +16 -10 lines
Diff to previous 1.59 (colored)

Recognize a few more CT5880 chips. Only cosmetic, does not
affect functionality.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Nov 30 00:20:02 2002 UTC (21 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

Don't use tsleep() in attach, use delay()

This change makes the driver work properly for the following card,
which used to function a bit weird:

eap0 at pci0 dev 10 function 0: Ensoniq CT5880 CT5880C (rev. 0x02)
eap0: interrupting at irq 9
eap0: TriTech TR28602 codec; no 3D stereo

Revision 1.58 / (download) - annotate - [select for diffs], Sun Nov 24 12:06:12 2002 UTC (21 years, 4 months ago) by scw
Branch: MAIN
Changes since 1.57: +5 -4 lines
Diff to previous 1.57 (colored)

Fix uninitialised variable warnings.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Nov 14 04:43:23 2002 UTC (21 years, 5 months ago) by gson
Branch: MAIN
Changes since 1.56: +7 -7 lines
Diff to previous 1.56 (colored)

eap.c 1.54 changed ES1371 specific code but failed to make the
corresponding cases to the ES1370 case, causing a panic when
attaching an ES1370.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Nov 11 22:17:47 2002 UTC (21 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

rename EAP_EN() to the more descriptive EAP_DAC_EN(), and
use it everywhere.

Revision 1.44.2.7 / (download) - annotate - [select for diffs], Mon Nov 11 22:11:03 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.44.2.6: +154 -66 lines
Diff to previous 1.44.2.6 (colored) to branchpoint 1.44 (colored)

Catch up to -current

Revision 1.55 / (download) - annotate - [select for diffs], Thu Nov 7 06:54:25 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +4 -6 lines
Diff to previous 1.54 (colored)

Don't use newlines in string literals.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Nov 4 16:34:25 2002 UTC (21 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.53: +158 -68 lines
Diff to previous 1.53 (colored)

add support for the second DAC found on the chip. to attach the second
audio device, define EAP_USE_BOTH_DACS

Revision 1.44.2.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:42:59 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.44.2.5: +6 -5 lines
Diff to previous 1.44.2.5 (colored) to branchpoint 1.44 (colored)

Catch up to -current.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:32 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.45.2.3: +4 -5 lines
Diff to previous 1.45.2.3 (colored) to branchpoint 1.45 (colored) next main 1.46 (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.53 / (download) - annotate - [select for diffs], Thu Oct 10 15:39:01 2002 UTC (21 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.52: +6 -4 lines
Diff to previous 1.52 (colored)

make a few debug printf's match reality

Revision 1.52 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:09 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:16 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +4 -5 lines
Diff to previous 1.50 (colored)

Use CFATTACH_DECL().

Revision 1.50 / (download) - annotate - [select for diffs], Fri Sep 27 20:39:53 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Declare all cfattach structures const.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:09 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.45.2.2: +11 -2 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored)

sync kqueue branch with HEAD

Revision 1.44.2.5 / (download) - annotate - [select for diffs], Thu Aug 1 02:45:12 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.44.2.4: +10 -1 lines
Diff to previous 1.44.2.4 (colored) to branchpoint 1.44 (colored)

Catch up to -current.

Revision 1.48.8.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:34 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.48: +11 -2 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

catch up with -current.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 4 02:20:22 2002 UTC (21 years, 9 months ago) by gson
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.48: +11 -2 lines
Diff to previous 1.48 (colored)

Mask MCCB interrupts since they are not currently handled
and it is not clear how they should be handled.  Fixes
kern/17071.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:31 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.45.2.1: +6 -1 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)

Sync kqueue branch with -current.

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

Catch up to -current.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:42 2001 UTC (22 years, 5 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, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.47: +4 -1 lines
Diff to previous 1.47 (colored)

add RCSID

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:09 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.44.2.3 / (download) - annotate - [select for diffs], Mon Oct 8 20:11:12 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.44.2.2: +3 -1 lines
Diff to previous 1.44.2.2 (colored) to branchpoint 1.44 (colored)

Catch up to -current.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Oct 3 00:04:52 2001 UTC (22 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored)

Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:54 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.44.2.1: +3 -3 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored)

Catch up to -current.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:53 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Update the kqueue branch to HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 3 15:07:37 2001 UTC (22 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Fixed compiling error when AUDIO_DEBUG was switched on ...

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:04:34 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.44: +31 -22 lines
Diff to previous 1.44 (colored)

Catch up to -current.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Tue May 1 10:02:12 2001 UTC (22 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.40.2.1: +31 -22 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Pull up revision 1.45 (requested by hubertf):
  Work around race condition by relatching the interrupt.  Makes
  the eap driver not hang on certain occasions.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Apr 24 21:03:33 2001 UTC (22 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Branch point for: kqueue
Changes since 1.44: +31 -22 lines
Diff to previous 1.44 (colored)

It appears there's a race condition when disabling a channel that causes us to
need to explicitly relatch the interrupt when firing it up again.  So, in the
trigger routines, explicitly disable and reenable the interrupt to relatch it,
like we do in the interrupt routine.

Also clean up some broken loop overrun checks.

My ES1371 seems to be more reliable now, but I'm not going to pretend to fully
understand this chip.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Sun Feb 11 19:15:53 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27.2.2: +111 -197 lines
Diff to previous 1.27.2.2 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jan 27 18:53:33 2001 UTC (23 years, 2 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.43: +110 -197 lines
Diff to previous 1.43 (colored)

ANSIfy.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jan 27 18:37:01 2001 UTC (23 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

Sleep a little when closing the midi device to allow the UART to drain.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:03 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27.2.1: +2 -3 lines
Diff to previous 1.27.2.1 (colored)

Sync with HEAD

Revision 1.42 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:12 2000 UTC (23 years, 3 months ago) by sommerfeld
Branch: MAIN
Changes since 1.41: +2 -3 lines
Diff to previous 1.41 (colored)

Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:18 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27: +736 -274 lines
Diff to previous 1.27 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:50 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:24 2000 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:07:21 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jun 1 09:58:19 2000 UTC (23 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

Update URLs.

Revision 1.39 / (download) - annotate - [select for diffs], Mon May 15 01:27:47 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

ac97.h -> ac97var.h

Revision 1.38 / (download) - annotate - [select for diffs], Mon May 1 17:15:41 2000 UTC (23 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.37: +42 -46 lines
Diff to previous 1.37 (colored)

Change the way the codec is access to mimic how Linux&FreeBSD does it.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Apr 30 21:59:58 2000 UTC (23 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.36: +264 -171 lines
Diff to previous 1.36 (colored)

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>

Revision 1.36 / (download) - annotate - [select for diffs], Mon Apr 24 17:55:24 2000 UTC (23 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.35: +7 -7 lines
Diff to previous 1.35 (colored)

Move a test if the MIDI is open outside a loop in the interrupt routine.
Some stylistic changes.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Mar 19 17:11:50 2000 UTC (24 years, 1 month ago) by soren
Branch: MAIN
Changes since 1.34: +37 -262 lines
Diff to previous 1.34 (colored)

Make it a bit more clear which functions are specific to which models.
Split off register definitions into eapreg.h.
Remove duplicate codec reset.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 11 06:42:37 2000 UTC (24 years, 1 month ago) by soren
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

The shortened 1371 reset delay in revision 1.32 doesn't seem to be
quite enough for my 1373, so increase it some.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Mar 6 03:18:11 2000 UTC (24 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.32: +11 -3 lines
Diff to previous 1.32 (colored)

Make Creative Soundblaster PCI 128's work -- from Masahiro Ishiyama
Note that on device close, there's a sharp pop that probably should be fixed.

Note also that the device is hanging the machine at times for brief
periods inside audio.c::audiogetinfo(), but I haven't yet figured out
why.

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:15 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.27: +681 -90 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pull up to last week's -current.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:40:58 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.27: +681 -90 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with -current

Revision 1.32 / (download) - annotate - [select for diffs], Tue Nov 2 17:48:01 1999 UTC (24 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

Shorten some delay()s.  From WITEK Wnuk <witek@atari.org>

Revision 1.31 / (download) - annotate - [select for diffs], Tue Nov 2 05:40:59 1999 UTC (24 years, 5 months ago) by soren
Branch: MAIN
Changes since 1.30: +49 -23 lines
Diff to previous 1.30 (colored)

Fix crash when both 1370 and 1371/1373 devices are configured.
Update documentation links.
XXX The initial volume of the 1371 mixers is set to 255. Should be ~200.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 1 18:12:20 1999 UTC (24 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.29: +18 -20 lines
Diff to previous 1.29 (colored)

Make little endian and big endian version of all functions
that deal with 16 bit samples.  Let the drivers decide which ones
to use.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 29 23:03:18 1999 UTC (24 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.28: +129 -1 lines
Diff to previous 1.28 (colored)

Add MIDI support.
Closes PR 8578.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 27 13:20:34 1999 UTC (24 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.27: +520 -82 lines
Diff to previous 1.27 (colored)

Add support for ES1371.  From OpenBSD and Ezra Story <ezy@panix.com>.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 1 07:32:31 1999 UTC (24 years, 7 months ago) by kleink
Branch: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.26: +3 -4 lines
Diff to previous 1.26 (colored)

Don't make a human-readable device description being printed at attach time
depend on PCIVERBOSE.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Mon Aug 2 22:03:54 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.25: +7 -7 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Update from trunk.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jul 10 16:46:19 1999 UTC (24 years, 9 months ago) by kleink
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.25: +7 -7 lines
Diff to previous 1.25 (colored)

Fix a buglet in the driver's DMA buffer list ipmlementation, causing the next-
in-list (wrong) descriptor structure of the buffer in question to be freed.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 18 07:59:30 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Pass the correct address (PCI bus address, not PA) to the card.
Works on an Alpha now.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 18 05:46:38 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +34 -28 lines
Diff to previous 1.23 (colored)

Minor code munging.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 17 23:55:18 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

Fix a silly type.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 17 21:44:56 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +4 -5 lines
Diff to previous 1.21 (colored)

Update comments.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 17 02:37:42 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +12 -11 lines
Diff to previous 1.20 (colored)

Pass the direction to the allocm and round_buffersize methods.
Some drivers need this to properly allocate DMAable memory.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 8 19:22:36 1999 UTC (25 years, 3 months ago) by augustss
Branch: MAIN
Changes since 1.19: +9 -5 lines
Diff to previous 1.19 (colored)

Fix more `void *' arithmetic.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 25 22:17:07 1998 UTC (25 years, 4 months ago) by augustss
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.18: +10 -7 lines
Diff to previous 1.18 (colored)

Make the copyright header conform to the NetBSD template.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 19 15:38:25 1998 UTC (25 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

fix problems in many d_mmap routines:
	- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 25 04:56:01 1998 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

Add some braces to make egcs happy.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 17 21:16:16 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Sat Aug 15 03:02:46 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Make copyright notices with my name consistent.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Aug 12 19:09:55 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored)

Associate the preamp with the mic volume in the input class.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 12 18:55:03 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Oops; fix typos.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 12 18:47:43 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +41 -5 lines
Diff to previous 1.11 (colored)

Add a knob to enable/disable the mic preamp.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 10 01:27:34 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +12 -6 lines
Diff to previous 1.10 (colored)

For consistency, only do the rate coupling in full-duplex mode.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Aug 9 22:11:48 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +7 -13 lines
Diff to previous 1.9 (colored)

Minor cleanup to debugging cruft.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 9 20:32:34 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +284 -260 lines
Diff to previous 1.8 (colored)

Several things:
* Use the new trigger_{in,out}put interface.
* Allow the play and record channels to have different encodings (but the
  same sample rate).
* Play u-law and a-law as 16-bit data.  (This may not work yet...)

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 6 11:12:21 1998 UTC (25 years, 9 months ago) by augustss
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.7: +62 -27 lines
Diff to previous 1.7 (colored)

Add mixer output selection.
From gson@araneus.fi (Andreas Gustafsson)

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 8 06:55:54 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +1 -9 lines
Diff to previous 1.6 (colored)

Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.6 / (download) - annotate - [select for diffs], Tue May 26 13:28:03 1998 UTC (25 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.5: +22 -2 lines
Diff to previous 1.5 (colored)

Fix a recording problem that occurs when the EAP chip sends its
interrupt just BEFORE the dma has finished rather than after.

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 6 19:21:45 1998 UTC (25 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.4: +7 -23 lines
Diff to previous 1.4 (colored)

Remove some lint.

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 2 08:21:10 1998 UTC (25 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Adjust PCLKDIV by 2 to correct the output sample rate.  (Unfortunately, this
isn't documented.)
Fix typo in mappage routine.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 2 02:36:30 1998 UTC (25 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Oops; fix typo.

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 2 02:34:53 1998 UTC (25 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +4 -6 lines
Diff to previous 1.1 (colored)

Fix reading of the master volume, and a hack that seems to make stereo output
work correctly.  (Will check the documentation as soon as I can read it.)

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 1 21:54:33 1998 UTC (25 years, 11 months ago) by augustss
Branch: MAIN

Add a driver for the Ensoniq AudioPCI sound card.  The driver still
needs some testing, but it seems to produce sound.  The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>.  Thanks.

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>