CVS log for src/sys/dev/pci/auich.c
Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.161: download - view: text, markup, annotated - select for diffs
Wed May 10 00:11:24 2023 UTC (19 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +6 -4
lines
auich(4): Use config_detach_children.
Revision 1.159.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:46 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.159: preferred, colored; next MAIN 1.160: preferred, colored
Changes since revision 1.159: +2 -6
lines
Sync with HEAD.
Revision 1.160: download - view: text, markup, annotated - select for diffs
Sat Feb 6 09:45:17 2021 UTC (3 years, 10 months ago) by isaki
Branches: MAIN
CVS tags: 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-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -6
lines
Hold sc_intr_lock in open()/close().
vtbl->{lock,unlock} (in fact ac97_{lock,unlock}) don't seem to need
releasing an interrupt lock.
Confirmed on auich.
Revision 1.152.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:08 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.152.2.1: preferred, colored; branchpoint 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152.2.1: +3 -16
lines
Merge changes from current as of 20200406
Revision 1.157.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 21 15:31:50 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.157: preferred, colored; next MAIN 1.158: preferred, colored
Changes since revision 1.157: +2 -15
lines
Pull up following revision(s) (requested by isaki in ticket #792):
sys/arch/amiga/dev/aucc.c: revision 1.48
sys/dev/pci/auixp.c: revision 1.49
sys/dev/pci/gcscaudio.c: revision 1.19
sys/dev/pci/auich.c: revision 1.159
sys/dev/sbus/dbri.c: revision 1.42
sys/dev/pci/auvia.c: revision 1.85
sys/dev/pci/auacer.c: revision 1.39
Drop 512 bytes limit on auvia_round_blocksize().
This fixes attach on 6 channels device.
PR kern/55017.
round_blocksize must return a multiple of the framesize.
aucc(4) supports 3 channels mode.
round_blocksize must return a multiple of the framesize
even if passed blocksize is greater than the upper limit.
round_blocksize must return a multiple of the framesize.
It's not divisible when blk=GCSCAUDI_PRD_SIZE_MAX and channels=4.
round_blocksize must return a multiple of the framesize
even if 6 channels mode.
I believe that keeping "good alignment" is just a wish, not constraint.
Revision 1.158.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:10 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158: +2 -15
lines
Sync with head.
Revision 1.159: download - view: text, markup, annotated - select for diffs
Sat Feb 29 06:34:30 2020 UTC (4 years, 9 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Branch point for: thorpej-futex
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +2 -15
lines
round_blocksize must return a multiple of the framesize
even if 6 channels mode.
I believe that keeping "good alignment" is just a wish, not constraint.
Revision 1.158: download - view: text, markup, annotated - select for diffs
Fri Dec 6 07:27:07 2019 UTC (5 years ago) by maxv
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +3 -3
lines
Minor changes, reported by the LGTM bot.
Revision 1.152.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:15 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +83 -121
lines
Sync with HEAD
Revision 1.157: download - view: text, markup, annotated - select for diffs
Sat Jun 8 08:02:38 2019 UTC (5 years, 6 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +4 -15
lines
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.156: download - view: text, markup, annotated - select for diffs
Sat May 11 02:34:19 2019 UTC (5 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +3 -3
lines
Don't return the raw audio formats; return the ones after we disabled some
of them because the device does not support them. Fixes panic in virtualbox.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Wed May 8 13:40:18 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +64 -82
lines
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.154.2.3: download - view: text, markup, annotated - select for diffs
Sat May 4 07:20:10 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.154.2.2: preferred, colored; branchpoint 1.154: preferred, colored; next MAIN 1.155: preferred, colored
Changes since revision 1.154.2.2: +3 -3
lines
Move dev/audio_if.h -> dev/audio/audio_if.h
Revision 1.154.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 27 12:53:37 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.154.2.1: preferred, colored; branchpoint 1.154: preferred, colored
Changes since revision 1.154.2.1: +49 -73
lines
Adapt to audio2.
- Correct frequency_type in modem_audio_format.
- {spdif,modem}_audio_format in my previous commit (in this branch)
was also wrong. :(
Revision 1.154.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 21 05:11:22 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +18 -12
lines
Use C99 style struct initializer to audio_format.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Thu Apr 18 13:01:38 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
CVS tags: isaki-audio2-base
Branch point for: isaki-audio2
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +3 -3
lines
White space and indent fix.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Sat Mar 16 12:09:58 2019 UTC (5 years, 8 months ago) by isaki
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +21 -30
lines
Use C99 style struct initializer to audio_hw_if.
Revision 1.151.8.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 06:20:13 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151: +4 -4
lines
Resolve conflicts between branch and HEAD
Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat Mar 24 18:32:13 2018 UTC (6 years, 8 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
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,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +4 -4
lines
use pci_intr_establish_xname()
Revision 1.141.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:07 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.141.2.1: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.2.1: +82 -46
lines
update from HEAD
Revision 1.144.4.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:05 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.144.4.3: preferred, colored; branchpoint 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144.4.3: +2 -4
lines
Sync with HEAD
Revision 1.151: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:11 2017 UTC (7 years, 6 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
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
Branch point for: pgoyette-compat
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +2 -4
lines
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.149.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:47 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +5 -2
lines
Sync with HEAD
Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:29 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +5 -2
lines
Sync with HEAD
Revision 1.144.4.3: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:29 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.144.4.2: preferred, colored; branchpoint 1.144: preferred, colored
Changes since revision 1.144.4.2: +5 -2
lines
Sync with HEAD
Revision 1.150: download - view: text, markup, annotated - select for diffs
Wed Jan 25 06:33:52 2017 UTC (7 years, 10 months ago) by martin
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
nick-nhusb-base-20170204,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +5 -2
lines
auich_round_blocksize: never return 0 as blocksize
Revision 1.144.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:03 2016 UTC (8 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.144.4.1: preferred, colored; branchpoint 1.144: preferred, colored
Changes since revision 1.144.4.1: +12 -10
lines
Sync with HEAD
Revision 1.149: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:41 2016 UTC (8 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +12 -10
lines
KNF. Remove extra spaces. No functional change.
Revision 1.144.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:09 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +71 -38
lines
Sync with HEAD
Revision 1.148: download - view: text, markup, annotated - select for diffs
Sun May 24 22:03:02 2015 UTC (9 years, 6 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +21 -2
lines
PR/49926: Robert Millan: Avoid deadlock condition in auich_read_codec()
and auich_write_codec() when running in userspase.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Sun May 24 14:56:57 2015 UTC (9 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +9 -2
lines
PR/49927: Robert Millan: Avoid zerodivide on emulated hardware.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Sun May 24 14:55:12 2015 UTC (9 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +44 -37
lines
use aprint consistently; note that we use aprint_normal_dev in debugging
statements instead of aprint_debug_dev because those are controlled by
the driver debugging, not the centralized one.
Revision 1.145: download - view: text, markup, annotated - select for diffs
Mon Apr 13 16:33:25 2015 UTC (9 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +3 -3
lines
Convert sys/dev to use <sys/rndsource.h>.
Revision 1.141.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:42 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +7 -8
lines
Rebase to HEAD as of a few days ago.
Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Aug 10 16:44:35 2014 UTC (10 years, 4 months ago) by tls
Branches: MAIN
CVS tags: tls-maxphys-base,
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
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +5 -2
lines
Merge tls-earlyentropy branch into HEAD.
Revision 1.138.8.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:24 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.138.8.2: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.8.2: +4 -8
lines
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.141.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:39 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141: +4 -8
lines
sync with head
Revision 1.143.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 7 03:37:33 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +5 -2
lines
Be a little more clear and consistent about harvesting entropy from devices:
1) deprecate RND_FLAG_NO_ESTIMATE
2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE
3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE
4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME
5) Make entropy harvesting from environmental sensors a little more generic
and remove it from individual sensor drivers.
6) Remove individual open-coded delta-estimators for values from a few
places in the tree (uvm, environmental drivers).
7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
that had stubbed out code, other minor cleanups.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Sat Mar 29 19:28:24 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-earlyentropy-base,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +4 -3
lines
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
Revision 1.142: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:10 2014 UTC (10 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +2 -7
lines
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
Revision 1.138.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:23 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.138.8.1: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.8.1: +3 -3
lines
sync with head
Revision 1.141: download - view: text, markup, annotated - select for diffs
Sat Jun 2 21:36:44 2012 UTC (12 years, 6 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3
lines
Add some pre-processor magic to verify that the type of the data item
passed to sysctl_createv() actually matches the declared type for
the item itself.
In the places where the caller specifies a function and a structure
address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.
Revision 1.138.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:42 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +71 -33
lines
sync with head
Revision 1.140: download - view: text, markup, annotated - select for diffs
Thu Nov 24 03:35:58 2011 UTC (13 years ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
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-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
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -4
lines
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.139: download - view: text, markup, annotated - select for diffs
Wed Nov 23 23:07:34 2011 UTC (13 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +70 -32
lines
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.138.10.2: download - view: text, markup, annotated - select for diffs
Tue Nov 22 22:47:07 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.138.10.1: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.10.1: +2 -10
lines
get rid of unused 'powerstate' callback in audio_hw_if
Revision 1.138.10.1: download - view: text, markup, annotated - select for diffs
Sat Nov 19 21:49:40 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +72 -26
lines
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.137.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:35 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +2 -4
lines
sync with head
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:05 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
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
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +2 -4
lines
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
Revision 1.136.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:29 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136: +4 -4
lines
Sync with HEAD.
Revision 1.127.14.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:39 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +2 -2
lines
sync to netbsd-5
Revision 1.125.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:42 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.125.4.3: preferred, colored; branchpoint 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125.4.3: +42 -66
lines
sync with head
Revision 1.137: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:37:59 2010 UTC (14 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +4 -4
lines
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Mon Feb 1 12:51:16 2010 UTC (14 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +6 -6
lines
Do not print ac97 link rate message unless verbose boot is requested.
Revision 1.127.10.2: download - view: text, markup, annotated - select for diffs
Fri Jan 15 04:21:59 2010 UTC (14 years, 10 months ago) by snj
Branches: netbsd-5
CVS tags: 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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.127.10.1: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.10.1: +37 -56
lines
Revert ticket 1218.
Revision 1.135: download - view: text, markup, annotated - select for diffs
Wed Jan 13 23:24:29 2010 UTC (14 years, 11 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +3 -26
lines
Revert code I added in 1.133 that touches the PCI_COMMAND_IO_ENABLE and
PCI_COMMAND_MEM_ENABLE bits in PCI_COMMAND_STATUS_REG. This causes
problems where the BAR is 0. 'options PCI_ADDR_FIXUP' is more
appropriate when these bits are not set correctly by the BIOS.
Revision 1.127.10.1: download - view: text, markup, annotated - select for diffs
Sat Jan 9 01:35:16 2010 UTC (14 years, 11 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +56 -37
lines
Pull up following revision(s) (requested by jakllsch in ticket #1218):
sys/dev/pci/auich.c: revision 1.133
Ensure that the memory or i/o space we need is accessible at attach
and resume.
Rework register mapping code path, using 'goto', so duplicate code
is reduced.
I've tested this on nvidia and sis auich(4)-compatible controllers.
In addition this change is reported to fix PR/39652.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Fri Jan 8 19:56:51 2010 UTC (14 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +4 -4
lines
Expand PMF_FN_* macros.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Wed Dec 30 00:24:38 2009 UTC (14 years, 11 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +56 -37
lines
Ensure that the memory or i/o space we need is accessible at attach
and resume.
Rework register mapping code path, using 'goto', so duplicate code
is reduced.
I've tested this on nvidia and sis auich(4)-compatible controllers.
In addition this change is reported to fix PR/39652.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Thu Nov 26 15:17:08 2009 UTC (15 years ago) by njoly
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +4 -4
lines
Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Thu Nov 12 19:39:26 2009 UTC (15 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +3 -23
lines
Remove superfluous activation hook.
Revision 1.125.4.3: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:50 2009 UTC (15 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.125.4.2: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.4.2: +20 -6
lines
sync with head
Revision 1.130: download - view: text, markup, annotated - select for diffs
Thu Sep 3 14:29:42 2009 UTC (15 years, 3 months ago) by sborrill
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
jym-xensuspend-nbase
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +20 -6
lines
SiS 7012 uses different multichannel control bits compared to other codecs
(data from linux via OpenBSD).
Revision 1.128.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:20:23 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +15 -4
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.125.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:54 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.125.4.1: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.4.1: +19 -11
lines
sync with head.
Revision 1.127.8.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:55 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.127.8.1: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.8.1: +15 -4
lines
Sync with HEAD.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Mar 17 19:38:34 2009 UTC (15 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base,
jym-xensuspend-base
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +15 -4
lines
Handle child-detachment by NULL'ing the child pointer so that
auich_detach() does not subsequently dereference a dangling pointer.
Revision 1.127.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:18:24 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +6 -9
lines
Sync with HEAD.
Revision 1.123.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:59 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.123.6.2: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.6.2: +4 -7
lines
Sync with HEAD.
Revision 1.128.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 13 13:38:00 2008 UTC (16 years ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.128.2.2: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.2.2: +20 -8
lines
Fix locking for ac97.
Revision 1.127.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:34 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +6 -9
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.128.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 12 23:06:57 2008 UTC (16 years ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.128.2.1: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.2.1: +15 -17
lines
Checkpoint work in progress.
Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 8 13:06:36 2008 UTC (16 years ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +44 -8
lines
Convert some more drivers.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Sat Nov 8 00:26:35 2008 UTC (16 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base
Branch point for: jym-xensuspend,
ad-audiomp2
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +6 -9
lines
To finish the device_t/softc split, convert some casts to struct
auich_softc * to device_private() calls.
Revision 1.123.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:37 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.123.6.1: preferred, colored; branchpoint 1.123: preferred, colored
Changes since revision 1.123.6.1: +47 -63
lines
Sync with HEAD.
Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:18 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +47 -56
lines
sync with head.
Revision 1.125.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:42 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +47 -56
lines
sync with head.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Sun May 4 15:58:51 2008 UTC (16 years, 7 months ago) by xtraeme
Branches: 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,
netbsd-5-base,
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,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5,
matt-nb5-mips64,
haad-dm
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +47 -49
lines
device_t/softc split and other related cosmetic changes.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:54 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.125: download - view: text, markup, annotated - select for diffs
Thu Apr 10 19:13:36 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +33 -40
lines
use aprint_*_dev and device_xname
Revision 1.123.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:48 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -4
lines
Sync with HEAD.
Revision 1.123.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:47 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +4 -4
lines
sync with head.
Revision 1.117.16.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:44 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.117.16.2: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.16.2: +4 -4
lines
sync with HEAD
Revision 1.97.2.7: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:10 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.6: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.6: +4 -4
lines
sync with head.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Fri Feb 29 06:13:39 2008 UTC (16 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -4
lines
Use PMF_FN_ARGS, PMF_FN_PROTO.
Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:55 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +3 -3
lines
Sync with HEAD.
Revision 1.97.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:43:36 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.5: preferred, colored
Changes since revision 1.97.2.5: +26 -94
lines
sync with head
Revision 1.117.16.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:53:34 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.117.16.1: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.16.1: +26 -94
lines
sync with HEAD
Revision 1.120.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:11 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.120.2.1: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.2.1: +1 -1
lines
Sync with HEAD
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Jan 6 12:56:20 2008 UTC (16 years, 11 months ago) by kent
Branches: MAIN
CVS tags: 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
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +3 -3
lines
fix a bug of S/PDIF audio format selection
PR/36493 by Arcady Antipin
Revision 1.119.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:46:40 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +25 -93
lines
Sync with head.
Revision 1.120.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:55:40 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +13 -2
lines
Sync with HEAD
Revision 1.122: download - view: text, markup, annotated - select for diffs
Thu Dec 13 16:53:28 2007 UTC (17 years ago) by jmcneill
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +4 -6
lines
Make this compile again.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Dec 13 15:11:31 2007 UTC (17 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +15 -2
lines
Restore the native mode PCI conf register on select chipsets on resume,
in case it was lost when power was removed.
Revision 1.119.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:31:45 2007 UTC (17 years ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +16 -95
lines
sync with head.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:05 2007 UTC (17 years ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +16 -95
lines
Merge jmcneill-pm branch.
Revision 1.117.14.7: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:23 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.117.14.6: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.14.6: +3 -3
lines
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.117.14.6: download - view: text, markup, annotated - select for diffs
Sun Nov 11 17:33:29 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.117.14.5: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.14.5: +6 -2
lines
In auich_intr, check if device is currently powered down.
Revision 1.117.16.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:28:38 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -3
lines
sync with HEAD
Revision 1.117.14.5: download - view: text, markup, annotated - select for diffs
Tue Nov 6 14:27:21 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.117.14.4: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.14.4: +7 -19
lines
Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
three layers (class logic, device logic, bus logic), all of them being
optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
not suspended (even partially), device_is_enabled returns true if the
device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
pnp_system_resume. Before running any suspend/resume handlers, check
that all currently attached devices support power management and bail
out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
can register what events they are interested in and whether the handler
should be global or not.
- Introduce device_active API for devices to mark themselve in use from
either the system or the device. Use this to implement the idle handling
for audio and input devices. This is intended to replace most ad-hoc
watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.
Revision 1.97.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:32:34 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.4: preferred, colored
Changes since revision 1.97.2.4: +3 -3
lines
sync with head.
Revision 1.117.14.4: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:53 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.117.14.3: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.14.3: +3 -3
lines
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.118.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:38:49 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +3 -3
lines
Sync with HEAD.
Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:08:45 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.117.2.1: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.2.1: +3 -3
lines
Sync with head.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:40 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: yamt-kmem,
vmlocking2,
mjf-devfs
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:41 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +4 -2
lines
Sync with head.
Revision 1.117.14.3: download - view: text, markup, annotated - select for diffs
Mon Oct 1 05:37:34 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.117.14.2: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.14.2: +21 -50
lines
Extend device API by device_power_private and device_power_set_private.
The latter is a temporary mean until the pnp_register API itself is
overhault. This functions allow a generic power handler to store its
state independent of the driver.
Use this and revamp the PCI power handling. Pretty much all PCI devices
had power handlers that did the same thing, generalize this in
pci_generic_power_register/deregister and the handler. This interface
offers callbacks for the drivers to save and restore state on
transistions. After a long discussion with jmcneill@ it was considered
to be powerful enough until evidence is shown that devices can handle
D1/D2 with less code and higher speed than without the full
save/restore. The generic code is carefully written to handle device
without PCI-PM support and ensure that the correct registers are written
to when D3 loses all state.
Reimplement the generic PCI network device handling on
top of PCI generic power handling.
Introduce pci_disable_retry as used and implemented locally at least by
ath(4) and iwi(4). Use it in this drivers to restore behaviour from
before the introduction of generic PCI network handling.
Convert all PCI drivers that were using pnp_register to the new
framework. The only exception is vga(4) as it is commonly used as
console device. Add a note therein that this should be fixed later.
Revision 1.117.14.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:13 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.117.14.1: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.14.1: +4 -2
lines
Sync with HEAD.
Revision 1.97.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:36:23 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.3: preferred, colored
Changes since revision 1.97.2.3: +9 -7
lines
sync with head.
Revision 1.117.10.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:58 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117: +4 -2
lines
Sync with HEAD.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Sep 2 00:48:52 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +4 -2
lines
Attach to the ICH6 AC-97 Modem function.
Revision 1.117.14.1: download - view: text, markup, annotated - select for diffs
Sun Aug 5 00:52:40 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +43 -85
lines
Convert auich powerhook to pnp power handler (untested).
Revision 1.115.4.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:55:11 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.115.4.1: preferred, colored; branchpoint 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.4.1: +7 -7
lines
Sync with HEAD.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:16 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: vmlocking,
nick-csl-alignment,
matt-armv6,
jmcneill-pm
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +7 -7
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.115.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:56 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -5
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 14:16:13 2007 UTC (17 years, 9 months ago) by ad
Branches: ad-audiomp
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +48 -7
lines
Add MP locking for audio drivers.
Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:20 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.2: preferred, colored
Changes since revision 1.97.2.2: +5 -5
lines
sync with head.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:00:00 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base
Branch point for: ad-audiomp
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -5
lines
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:41 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97.2.1: preferred, colored
Changes since revision 1.97.2.1: +72 -31
lines
sync with head.
Revision 1.111.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:41 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.111.6.1: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.6.1: +13 -13
lines
sync with head.
Revision 1.111.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:28 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +13 -24
lines
Sync with head.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:08 2006 UTC (18 years, 1 month ago) by christos
Branches: 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
Branch point for: yamt-idlelwp
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +13 -13
lines
__unused removal on arguments; approved by core.
Revision 1.111.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:15 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +19 -30
lines
sync with head
Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:28 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +17 -14
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon Sep 25 23:11:07 2006 UTC (18 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -17
lines
No need to call pci_set_powerstate from our powerhook, the bus handles this
for us now.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:53:09 2006 UTC (18 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -3
lines
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
Revision 1.101.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:52:16 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +167 -15
lines
sync with head
Revision 1.101.8.4: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:44:25 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.101.8.3: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.8.3: +61 -9
lines
sync with head
Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Aug 3 03:01:39 2006 UTC (18 years, 4 months ago) by bsh
Branches: 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
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -6
lines
Device 10de:026c is not AC-97 controller but nForce430 HD Audio controller.
Pointed out by Brad. Thanks.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue Aug 1 18:31:53 2006 UTC (18 years, 4 months ago) by bsh
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +6 -2
lines
Support nForce430's audio.
(I have tested this only with nFroce410, not with nFroce430)
Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Jul 28 07:41:39 2006 UTC (18 years, 4 months ago) by kent
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +59 -9
lines
add support for S/PDIF.
Revision 1.107.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:26 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +8 -6
lines
Merge from HEAD.
Revision 1.101.8.3: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:51:21 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.101.8.2: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.8.2: +8 -6
lines
sync with head.
Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:05:03 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +117 -12
lines
sync with head.
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:01:35 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +8 -6
lines
Sync with head.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Jun 17 23:34:26 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
chap-midi-nbase,
chap-midi-base
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +8 -6
lines
re-factor the pci powestate api. reviewed by gimpy
Revision 1.101.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:36:43 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.101.6.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.6.1: +8 -2
lines
Sync with head.
Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:27 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +36 -4
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.101.8.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:00 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.101.8.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.8.1: +36 -4
lines
sync with head.
Revision 1.102.2.3: download - view: text, markup, annotated - select for diffs
Thu May 11 23:28:47 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.102.2.2: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.2: +8 -2
lines
sync with head
Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Apr 27 12:21:39 2006 UTC (18 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
elad-kernelauth-base
Branch point for: gdamore-uart,
chap-midi
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +8 -2
lines
Disable my aggressive power saving changes; they're causing too many
problems.
Revision 1.101.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:13 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +102 -10
lines
Sync with head.
Revision 1.102.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:33 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.102.2.1: preferred, colored
Changes since revision 1.102.2.1: +1741 -0
lines
sync with head.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Apr 16 23:07:16 2006 UTC (18 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -3
lines
Use AC97_HOST_INVERTED_EAMP on the Sony VAIO VGN-B1XP. From PR#33272 by
Dieter Roelants.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Apr 16 07:40:00 2006 UTC (18 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +28 -3
lines
Deal with machines that have inverted eamp power. Data from the FreeBSD
driver. Finally sound works on my vaio vgn-t250p.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Apr 14 13:02:57 2006 UTC (18 years, 8 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3
lines
s/#ifdef DEBUG/#ifdef AUICH_DEBUG/
Revision 1.101.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:26 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +74 -8
lines
sync with head.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Mar 7 23:16:20 2006 UTC (18 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +7 -2
lines
Don't try to suspend while already suspended.
Revision 1.102.2.1
Tue Mar 7 15:18:59 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
FILE REMOVED
Changes since revision 1.102: +0 -1710
lines
file auich.c was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Mar 7 15:18:59 2006 UTC (18 years, 9 months ago) by jmcneill
Branches: MAIN
Branch point for: elad-kernelauth
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +69 -8
lines
Put the device in D3 state when it's not in use to save power.
Revision 1.39.2.16: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:57 2005 UTC (19 years ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.39.2.15: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.15: +8 -3
lines
Sync with head.
Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 6 22:03:08 2005 UTC (19 years ago) by riz
Branches: netbsd-3
CVS tags: 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-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.90.2.1: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.1: +9 -4
lines
Apply patch (requested by xtraeme in ticket #1027):
sys/dev/pci/auich.c: patch
sys/dev/pci/auichreg.h: patch
Add support for Intel ICH7 and 6300ESB.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Dec 4 12:27:49 2005 UTC (19 years ago) by xtraeme
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base,
ktrace-lwp-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +7 -4
lines
Add support for Intel 6300ESB.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Dec 2 19:47:52 2005 UTC (19 years ago) by xtraeme
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +6 -4
lines
Add support for ICH7. Tested by gendalia@.
Revision 1.39.2.15: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:06:00 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.14: preferred, colored
Changes since revision 1.39.2.14: +207 -81
lines
Sync with HEAD. Here we go again...
Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 30 02:33:15 2005 UTC (19 years, 1 month ago) by jmc
Branches: netbsd-3
CVS tags: netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -3
lines
Pullup revs 1.98-1.99 (requested by rpaulo in ticket #920)
Fix debug printf in auich_halt_pipe. PR#31030
Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Aug 22 01:15:12 2005 UTC (19 years, 3 months ago) by rpaulo
Branches: 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
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3
lines
Use #ifdef AUICH_DEBUG instead of #if 0/#if 1. Suggested by perry@.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Aug 21 23:57:32 2005 UTC (19 years, 3 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3
lines
PR#31030: debug printf in auich_halt_pipe. From lmneto@gmail.com.
It was under #if 1, so I just replaced the if by 0.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Jun 28 00:28:41 2005 UTC (19 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3
lines
Use ANSI function decls and static.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Jun 20 02:49:18 2005 UTC (19 years, 5 months ago) by atatat
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3
lines
Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone. Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
Revision 1.58.2.1.2.2: download - view: text, markup, annotated - select for diffs
Thu May 19 10:26:17 2005 UTC (19 years, 6 months ago) by tron
Branches: netbsd-2
CVS tags: 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
Diff to: previous 1.58.2.1.2.1: preferred, colored; branchpoint 1.58.2.1: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.1.2.1: +7 -5
lines
Pull up revision 1.78 (requested by riz in ticket #1533):
Add support for the ICH6 AC97 controller.
Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:05 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +315 -224
lines
sync with -current
Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Apr 12 17:30:51 2005 UTC (19 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +33 -4
lines
Some broken codecs don't release the CAS on reads to AC97_REG_GPIO_STATUS.
In auich_read_codec, do a dummy read to the RESET register if we're
reading GPIO_STATUS to be safe.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Apr 11 11:20:45 2005 UTC (19 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +35 -41
lines
i82801CA is an ICH3, not ICH2. Fix typo in auich_modem_devices. Pointed out
by Nicolas Joly.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Apr 8 12:50:00 2005 UTC (19 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -2
lines
Add identifiers for Intel ICH3 AC'97 modems and CXT33 modem codecs, from
Nicolas Joly <njoly _at_ pasteur _dot_ fr>.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Apr 7 23:21:10 2005 UTC (19 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +12 -5
lines
More modem fixes:
* Ignore ICH_PCM246_MASK for modem devices
* Set LINE1 rate and level in set_params
* Enable mmap for modem devices. This was previously disallowed due to
the ext_id field not advertising that the device supported variable
rates. Since modems don't use ext_id (they use ext_mid instead), enable
mmap. Multiple rates are supported on AC'97 modems.
Revision 1.58.2.1.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 7 16:07:21 2005 UTC (19 years, 8 months ago) by tron
Branches: netbsd-2
Diff to: previous 1.58.2.1: preferred, colored
Changes since revision 1.58.2.1: +4 -2
lines
Pull up revision 1.74 (requested by hira in ticket #1103):
Add support for "nForce3 250 MCP-T AC-97 Audio", from Kouichirou Hiratsuka
in PR 27843.
Ok'ed christos@
Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Apr 4 19:41:50 2005 UTC (19 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +168 -74
lines
Work-in-progress of AC'97 modem support. Currently disabled by default
(can be enabled by options AUICH_ATTACH_MODEM), and untested. Shouldn't
have any impact on auich audio capabilities.
Revision 1.39.2.14: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:30:10 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.13: preferred, colored
Changes since revision 1.39.2.13: +106 -148
lines
Sync with HEAD.
Revision 1.85.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:10 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.85.4.1: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.4.1: +107 -149
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Mar 11 22:29:16 2005 UTC (19 years, 9 months ago) by mycroft
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +106 -148
lines
Three changes:
1) After setting an input or output channel to pause, watch for DCH (DMA
halted) to be set before resetting the registers. The manual says this is
required. This *may* fix random auich lockups.
2) Add auich_{trigger,intr,halt}_pipe(), which can operate on any of the
input and output channels. This reduces code duplication quite a bit.
While I'm at it, fill in the mic interrupt handling.
3) The mic in interrupt is MINT, not MIINT. (The latter is modem input.)
Revision 1.39.2.13: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:45:15 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.12: preferred, colored
Changes since revision 1.39.2.12: +3 -3
lines
Sync with HEAD.
Hi Perry!
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:32 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3
lines
nuke trailing whitespace
Revision 1.85.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:47 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +9 -2
lines
sync with head.
Revision 1.39.2.12: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:46:37 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.11: preferred, colored
Changes since revision 1.39.2.11: +9 -2
lines
Sync with HEAD.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Jan 27 21:49:29 2005 UTC (19 years, 10 months ago) by jdolecek
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -2
lines
match nForce2 Ultra 400 audio
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Jan 27 13:35:05 2005 UTC (19 years, 10 months ago) by kent
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -2
lines
support nForce 4
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jan 26 21:53:42 2005 UTC (19 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -2
lines
Add pci_conf_{capture,restore} to auich(4) powerhook
Revision 1.39.2.11: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:31:23 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.10: preferred, colored
Changes since revision 1.39.2.10: +118 -110
lines
Sync with HEAD.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Jan 15 15:19:52 2005 UTC (19 years, 11 months ago) by kent
Branches: MAIN
CVS tags: yamt-km-base
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +91 -71
lines
ansify and KNF
Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Jan 10 22:01:37 2005 UTC (19 years, 11 months ago) by kent
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +30 -42
lines
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.82.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 9 08:42:45 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.82.2.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.2.1: +6 -19
lines
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.82.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 2 20:03:11 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +26 -25
lines
* adopt the filter pipeline framework
* follow ac97_attach() change
Revision 1.39.2.10: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:32:08 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.9: preferred, colored
Changes since revision 1.39.2.9: +6 -2
lines
Sync with HEAD.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Dec 11 17:48:56 2004 UTC (20 years ago) by cube
Branches: MAIN
CVS tags: kent-audio1-beforemerge
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -2
lines
Some SiS 7012 chips come muted by default, so un-mute all SiS 7012 chips at
attach time the way Linux does it. Reported and tested by Jonathan
Schleifer, I checked it didn't break my own 7012 device which doesn't need
that manipulation.
Revision 1.39.2.9: download - view: text, markup, annotated - select for diffs
Mon Nov 29 07:24:15 2004 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.8: preferred, colored
Changes since revision 1.39.2.8: +179 -252
lines
Sync with HEAD.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Nov 17 15:19:30 2004 UTC (20 years ago) by kent
Branches: MAIN
CVS tags: kent-audio1-base
Branch point for: kent-audio1
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +51 -20
lines
implement auich_activate() and auich_detach()
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Nov 17 15:14:38 2004 UTC (20 years ago) by kent
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +73 -75
lines
make functions static as possible
Revision 1.39.2.8: download - view: text, markup, annotated - select for diffs
Sun Nov 14 08:15:43 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.7: preferred, colored
Changes since revision 1.39.2.7: +53 -61
lines
Sync with HEAD.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Nov 13 15:00:48 2004 UTC (20 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +58 -160
lines
adopt auconv_set_converter()
Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Nov 11 03:06:21 2004 UTC (20 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +42 -48
lines
device matching by pcireg_t, not a pair of vendor ID and product ID.
This change reduces 170 Byte of i386 kernel size.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Nov 10 17:22:25 2004 UTC (20 years, 1 month ago) by cube
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +9 -7
lines
Add support for the ICH6 AC97 controller.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Nov 10 17:17:14 2004 UTC (20 years, 1 month ago) by cube
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -2
lines
Return an error when a read operation fails, instead of pretending it
succeeded and transmitting a bogus value.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Nov 10 14:14:09 2004 UTC (20 years, 1 month ago) by cube
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
In auich_calibrate, set sc_ac97_clock to a default value of 48000 first.
That way, if the calibration fails or times out, sc_ac97_clock won't be 0
and there won't be a division by zero later in ac97_set_rate.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Nov 10 04:20:26 2004 UTC (20 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -17
lines
move IS_FIXED_RATE(), SUPPORTS_4CH(), and SUPPORTS_6CH to ac97var.h
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:41:14 2004 UTC (20 years, 1 month ago) by xtraeme
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -2
lines
Add support for "nForce3 250 MCP-T AC-97 Audio", from Kouichirou Hiratsuka
in PR 27843.
Ok'ed christos@
Revision 1.39.2.7: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:52:09 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.6: preferred, colored
Changes since revision 1.39.2.6: +253 -189
lines
Sync with HEAD.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Nov 1 06:25:35 2004 UTC (20 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +95 -99
lines
Some miscellaneous cleanup:
* Encapsulate all the ring-specific variables into a substructure. (This will
help with some potential code sharing.)
* Don't bother with "last buffer complete" interrupts -- we should be taking an
interrupt anyway because we set IOC on every buffer.
* Likewise, ignore CELV; it's meaningless to us.
* Get rid of the FIFO error counters, since this doesn't actually happen any
more.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Oct 31 20:15:16 2004 UTC (20 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
Copyright maintenance.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Oct 31 20:00:42 2004 UTC (20 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +35 -63
lines
More code reduction.
Also, allow any sample rate between 8000 and 48000Hz. (This range should
probably be larger, but this is what's known to work.)
Another 180 bytes shaved.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Oct 31 19:28:31 2004 UTC (20 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +11 -13
lines
Shave another 112 bytes by reducing some divisions to shifts.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Oct 31 18:30:52 2004 UTC (20 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +7 -15
lines
Fix a regression -- my previous changes made the kernel slightly larger.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Oct 31 16:49:27 2004 UTC (20 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +56 -30
lines
In the trigger routines, start *all* the blocks, not just the first one. This
was causing some "fifo under/overrun" errors during the initial trigger.
Also fixes a ring synchronization problem introduced in the earlier changes.
This should completely fix the FIFO errors with auich.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Oct 31 06:25:55 2004 UTC (20 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -6
lines
Reorder some register writes just to be safe.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Oct 31 05:50:58 2004 UTC (20 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +18 -21
lines
Attempt to mitigate "fifo underrun" errors in two ways:
1) Update the queue pointers any time we get a block completion interrupt,
not just when we hit the last block.
2) Set the "back-to-back enable" bit.
In addition:
3) Make sure we ack every block we transfer; there was a bug that could cause
the audio layer to get out of sync.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Oct 29 12:57:18 2004 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
constify audio_hw_if, midi_hw_if, and radio_hw_if.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Oct 27 13:26:43 2004 UTC (20 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +88 -4
lines
add "hw.auichN.ac97rate" sysctl MIB to specify AC'97 link rate.
It is needed because automatic calibration by auich_calibrate() is not
so precise.
- Why not ioctl?
It is not good idea to add a new ioctl operation to MI audio for
a specific audio device.
- Why not mixerctl item?
AC'97 linke rate is not related to audio mixing.
Revision 1.39.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:57 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.5: preferred, colored
Changes since revision 1.39.2.5: +2 -5
lines
Sync with HEAD
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Oct 17 09:10:28 2004 UTC (20 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -5
lines
no need to restore AC97_REG_EXT_AUDIO_CTRL value on resuming
because ac97_codec_if_vtbl::restore_ports() does it.
Revision 1.39.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:27 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.4: preferred, colored
Changes since revision 1.39.2.4: +13 -13
lines
Sync with HEAD.
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Wed Sep 22 20:58:09 2004 UTC (20 years, 2 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-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
Branch point for: netbsd-2
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +13 -13
lines
Pullup rev 1.62 (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.62: download - view: text, markup, annotated - select for diffs
Wed Sep 22 12:20:24 2004 UTC (20 years, 2 months ago) by kent
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +13 -13
lines
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.39.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:31:00 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.3: preferred, colored
Changes since revision 1.39.2.3: +2 -2
lines
Fix the sync with head I botched.
Revision 1.39.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:49:02 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.2: preferred, colored
Changes since revision 1.39.2.2: +2 -2
lines
Sync with HEAD.
Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:44 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.1: preferred, colored
Changes since revision 1.39.2.1: +28 -24
lines
Sync with HEAD.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:12:57 2004 UTC (20 years, 4 months ago) by soren
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +28 -24
lines
- Don't attempt to clear the CELV bit by setting it high like the
FIFOE/BCIS/LVBCI bits; it's is cleared automatically by the hardware.
- Separate AUICH_DEBUG out from AUDIO_DEBUG and make it possible to debug
interrupt handling separately.
- A little KNF.
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:49:06 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +188 -114
lines
Sync with HEAD
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jul 9 02:42:45 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -2
lines
Clean up. Attempt to make these safer against stray interrupts.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Jul 9 01:02:32 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -9
lines
There's no need to halt the input and output pipes in the close routine --
audio_close() takes care of this.
Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 15 05:41:16 2004 UTC (20 years, 9 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +295 -68
lines
Pullup patch (requested by kent in ticket #1612)
Add support for ICH3, ICH4, ICH5, SiS 7012, nForce MCP, nForce2 MCP-T, and
nForce3 MCP-T to auich driver
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Jan 13 14:42:50 2004 UTC (20 years, 11 months ago) by kent
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -10
lines
remove/modify confusing error messsges.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Jan 3 14:11:36 2004 UTC (20 years, 11 months ago) by soren
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -2
lines
Only report codec readiness if DEBUG to avoid printing it on every resume.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Dec 28 12:31:30 2003 UTC (20 years, 11 months ago) by kent
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +26 -6
lines
ICH4/ICH5:
When native i/o mapping fails, try compatible i/o mapping.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Nov 22 08:49:41 2003 UTC (21 years ago) by kent
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +30 -21
lines
For ICH4/ICH5, use native BARs instead of compatible BARs.
The patch was provided by Lars Heidieker.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Nov 6 07:13:33 2003 UTC (21 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +10 -2
lines
Force the codec into a known state before trying to determine its speed.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Oct 31 08:15:53 2003 UTC (21 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +12 -10
lines
auich_calibrate():
- make the buffer longer to improve the precision of measurement
- round off the result to the nearest multiple of 1000.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Oct 30 19:30:26 2003 UTC (21 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +20 -5
lines
For ICH4/ICH5, set IOSE flag to make them compatible to old ICHs.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Oct 28 22:56:19 2003 UTC (21 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -3
lines
Eliminate bogus initializer (the code was technically wrong).
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:31:11 2003 UTC (21 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
Fix uninitialized variable warnings
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Oct 24 04:06:44 2003 UTC (21 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -7
lines
auich_reset_codec:
wait for readiness of one of all codecs.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Oct 23 17:14:54 2003 UTC (21 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -9
lines
Change the short names of nForce:
nForce-MCP -> nForce
nForce-MCP-T -> nForce2
nForce-MCP-T -> nForce3
Use snprintf() and strlcpy() instead of sprintf() and strcpy().
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Oct 23 17:05:26 2003 UTC (21 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +19 -27
lines
- remove unused code
- print diagnostic messages if the primary codec does not get ready in
auich_reset_codec().
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Oct 23 05:25:29 2003 UTC (21 years, 1 month ago) by kent
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +12 -33
lines
No need to check the codec ready flag in read_codec() and write_codec().
According to the ICH datasheets, the flag is unchanged unless resetting
the codec.
The flag is useless after enabling bus mastering. This behavior is common
to all ICH chips. The quirk handling code is removed.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Oct 22 15:57:33 2003 UTC (21 years, 1 month ago) by manu
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -5
lines
Patch from http://mail-index.netbsd.org/current-users/2003/09/04/0018.html
to fix problems with a sound card
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Oct 22 11:32:12 2003 UTC (21 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -2
lines
Match the nForce3 AC-97 chip.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Oct 21 01:12:42 2003 UTC (21 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
Add missing field initializer.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Oct 2 07:41:53 2003 UTC (21 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +23 -17
lines
Cleanup:
* auich_calibrate() assumes that the AC97 part is in its reset state. To
ensure this, call audio_attach_mi() after auich_calibrate().
* Explicitly support 12000Hz and 24000Hz. (Why is there a discrete list at
all?)
* Fix an obvious recording bug -- we were acking the wrong interrupt.
* Ensure that we don't get an interrupt during the AC97 speed probe by clearing
the "interrupt on completion" bit in the DMA setup.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Sep 28 13:37:19 2003 UTC (21 years, 2 months ago) by kent
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +64 -23
lines
Support for 4ch/6ch audio playback.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Aug 19 21:04:22 2003 UTC (21 years, 3 months ago) by erh
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -2
lines
Add entry for Intel 82801EB AC-97 audio. Audio sounds fine with this,
although the mixer settings are a bit odd: outputs.master doesn't do anything,
but outputs.surround does.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jun 13 07:27:17 2003 UTC (21 years, 6 months ago) by kent
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -3
lines
Fix a regression of the last commit.
ICH4 needs IGNORE_CODEC_READY_MAYBE.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jun 13 05:13:43 2003 UTC (21 years, 6 months ago) by kent
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +16 -11
lines
Not only ICH4 but also ICH0 and ICH2 might set no ICH_PCR.
The patch was provided by lha.
PR: kern/21031
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat May 3 18:11:32 2003 UTC (21 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
DMA, not dma nor Dma.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Feb 1 06:23:38 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -6
lines
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.35: download - view: text, markup, annotated - select for diffs
Fri Jan 31 00:07:40 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +20 -13
lines
Use aprint_*().
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jan 28 02:09:34 2003 UTC (21 years, 10 months ago) by kent
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +13 -5
lines
Apply BUS_DMA_NOCACHE for the buffers in the case of 440MX. The
code was provided by DHOYASHIKI Shinichi in kern/19919, and
address kern/19435.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Jan 21 16:05:21 2003 UTC (21 years, 10 months ago) by kent
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +45 -2
lines
Add DIAGNOSTIC code provided in PR kern/19919 by DHOYASHIKI Shinichi.
Revision 1.3.2.11: download - view: text, markup, annotated - select for diffs
Fri Jan 17 16:31:38 2003 UTC (21 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.3.2.10: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.10: +4 -2
lines
Sync with HEAD.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jan 16 01:00:06 2003 UTC (21 years, 11 months ago) by gendalia
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2
lines
add support for nForce2 MCP-T
Revision 1.3.2.10: download - view: text, markup, annotated - select for diffs
Wed Jan 15 18:44:18 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.3.2.9: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.9: +8 -6
lines
Sync with HEAD.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jan 15 04:49:35 2003 UTC (21 years, 11 months ago) by kent
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -6
lines
Fixed a problem that /dev/sound can not be opened in some cases.
auich_set_rate() modified audio_params::sample_rate to actual
sample rate though auich_set_params() rejected sample rates
other than some specific rates. For example, setting 8000Hz
with auich_set_params() modified sample_rate to 7998Hz in the
case of overclocked AC97 codec, and calling auich_set_params()
again returned with EINVAL because sample_rate was 7998Hz and
auich_set_params() rejected 7998Hz.
For now, auich_set_params() never modify audio_params::sample_rate.
Revision 1.3.2.9: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:42:54 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.8: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.8: +57 -92
lines
Catch up to -current.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Oct 12 19:45:54 2002 UTC (22 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
Fix typo in comment.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Oct 11 04:11:28 2002 UTC (22 years, 2 months ago) by kent
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +25 -34
lines
Kick auich_calibrate() by config_interrupts().
auichi_calibrate(): If the measured rate is less than 48k, use
48k.
Revision 1.3.4.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:40:25 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.5: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.5: +4 -5
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Oct 8 12:31:45 2002 UTC (22 years, 2 months ago) by kent
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -4
lines
auich_set_params(): Don't return in the for loop.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Oct 8 10:25:45 2002 UTC (22 years, 2 months ago) by kent
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +28 -60
lines
auich_softc:
Remove sc_fixed_rate and sc_ac97rate. ac97_softc has such
information.
auich_attach():
Remove VRA/VRM enabling code. ac97_attach() does it.
auich_set_rate():
Use ac97_codec_if::set_rate().
auich_get_props():
Return no AUDIO_PROP_MMAP if the codec is fixed-rate.
auichreg.h:
Remove unnecessary ICH_PM_*.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Oct 6 16:33:36 2002 UTC (22 years, 2 months ago) by kent
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -12
lines
Add some constant symbols for AC97 registers and values based on OpenBSD.
Rename some symbols to sync with OpenBSD:
AC97_REG_EXTENDED_ID
-> AC97_REG_EXT_AUDIO_ID
AC97_REG_EXTENDED_STATUS
-> AC97_REG_EXT_AUDIO_CTRL
AC97_CODEC_DOES_VRA/AC97_ENAB_VRA
-> AC97_EXT_AUDIO_VRA
AC97_CODEC_DOES_MICVRA/AC97_ENAB_MICVRA
-> AC97_EXT_AUDIO_VRM
ac97feature: "mic channel" -> "dedicated mic channel"
ac97_attach(): print extended capabilities; VRA, DRA, SPDIF, VRM, CDAC,
SDAC, LDAC.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Oct 4 14:33:30 2002 UTC (22 years, 2 months ago) by kent
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -2
lines
Improve nForce MCP support.
Submitted by: FUKAUMI Naoki <naoki at fukaumi dot org>
PR: kern/18524
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Oct 2 17:08:10 2002 UTC (22 years, 2 months ago) by kent
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -3
lines
Remove a line added accidentally(?) at revision 1.21.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:51:02 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
Add trailing ; to CFATTACH_DECL.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Sep 30 20:37:08 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -5
lines
Use CFATTACH_DECL().
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:39:44 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -3
lines
Declare all cfattach structures const.
Revision 1.3.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:20:13 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.7: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.7: +2 -1
lines
Catch up to -current.
Revision 1.3.4.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:45:08 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.4: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.4: +244 -41
lines
sync kqueue branch with HEAD
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:38 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +244 -41
lines
catch up with -current.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Aug 28 10:51:03 2002 UTC (22 years, 3 months ago) by dsainty
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3
lines
Fix playback at 48kHz sample rate (integer overflow bug introduced in 1.18)
Revision 1.3.2.7: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:46:47 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.6: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.6: +5 -3
lines
Catch up to -current.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Aug 16 11:22:13 2002 UTC (22 years, 4 months ago) by kent
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +7 -5
lines
Fix division-by-zero when auich_set_params() is called before auich_calibrate().
Revision 1.3.2.6: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:19:35 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.5: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.5: +239 -39
lines
Catch up to -current.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Aug 7 10:31:09 2002 UTC (22 years, 4 months ago) by kent
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +241 -41
lines
- Port clock calibration code (auich_calibrate) from ich.c of FreeBSD to solve
kern/16373.
- SiS 7012 support from kern/17716 submitted by Quentin Garnier.
- ICH4 support
- Experimental support for nForce MCP, AMD768 and AMD8111.
- Rename the short name for ICH3: "i830M" -> "ICH3"
Revision 1.3.4.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:47:33 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.3: +95 -61
lines
catch up with -current on kqueue branch
Revision 1.3.2.5: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:06:00 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.4: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.4: +40 -26
lines
Catch up to -current.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Apr 11 10:54:23 2002 UTC (22 years, 8 months ago) by augustss
Branches: MAIN
CVS tags: 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
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +42 -28
lines
When the DAC claims to support variable rate it doesn't seem to
always do this, so do some extra chechs and fall back on fixed rate.
Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:46:18 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.3: +77 -48
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Mar 23 17:17:11 2002 UTC (22 years, 8 months ago) by kent
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -9
lines
whitespace and folding fix.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Mar 21 09:17:20 2002 UTC (22 years, 8 months ago) by kent
Branches: MAIN
CVS tags: eeh-devprop-base,
eeh-devprop
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +30 -8
lines
Apply a patch by Mark Davies.
http://mail-index.netbsd.org/port-i386/2002/03/18/0000.html
Check codec status in auich_read/write_codec().
Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:01:12 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.2: +30 -15
lines
Catch up with -current.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Mar 15 07:16:10 2002 UTC (22 years, 9 months ago) by tacha
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +32 -34
lines
Use appropriate emulation functions and set ADC rate(not DAC date!) for recording.
Now /dev/audio with auich becomes usable.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Mar 10 16:48:58 2002 UTC (22 years, 9 months ago) by kent
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -3
lines
auich_set_params() sets 2 to hw_channels whenever monaural format is requested.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Mar 7 14:37:03 2002 UTC (22 years, 9 months ago) by kent
Branches: MAIN
CVS tags: newlock-base,
newlock
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +22 -14
lines
Sampling rate and mono-stereo conversion described in
http://mail-index.netbsd.org/tech-kern/2002/03/04/0005.html
auconv.c: Add conversion functions
audio.c: Sample alignment, calling conversion functions, etc.
audio_if.h: Add four hw_* members to "struct audio_params"
audiovar.h: Add conversion buffers, etc.
auich and uaudio: Add conversion request code to *_set_params().
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:57 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.2: +91 -14
lines
Catch up to -current.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Feb 14 12:52:01 2002 UTC (22 years, 10 months ago) by augustss
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -6
lines
Oops, I messed up the last commit, try again.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 14 03:22:36 2002 UTC (22 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -2
lines
Make fixed rate codecs work. From Tsuyoshi Iguchi in kern/15606.
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:09:55 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +82 -11
lines
Sync w/ -current.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Feb 2 11:13:44 2002 UTC (22 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +75 -8
lines
Make auich support variable rate codec, and suspend/resume.
From URA Hiroshi in PR kern/15431 (partly from OpenBSD).
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 14 01:29:13 2002 UTC (22 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -2
lines
Add i830M to the chip list.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 12 16:17:06 2002 UTC (22 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -4
lines
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 12 00:13:42 2002 UTC (22 years, 11 months ago) by enami
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -3
lines
Skip not yet emulated 8bit ulinear encoding correctly.
Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:56:26 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1
lines
Sync kqueue branch with -current.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:07 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +4 -1
lines
Catch up to -current.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:48:41 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -1
lines
add RCSID
Revision 1.3.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:02:08 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +2 -1
lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:11:10 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
Catch up to -current.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Oct 3 00:04:51 2001 UTC (23 years, 2 months ago) by augustss
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
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.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:01 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2.2.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +2 -3
lines
Sync with HEAD
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Dec 28 22:59:11 2000 UTC (23 years, 11 months ago) by sommerfeld
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
thorpej-devvp-base2,
thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp,
nathanw_sa,
kqueue
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3
lines
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.2.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:12:30 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +1123 -0
lines
Sync with HEAD.
Revision 1.2.2.1
Tue Nov 28 16:57:16 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.2: +0 -1123
lines
file auich.c was added on branch thorpej_scsipi on 2000-12-08 09:12:30 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Nov 28 16:57:16 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -6
lines
Use AC97_REG_* constants rather than defining them ourselves.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Nov 28 05:12:29 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Device driver for the built-in audio on Intel ICH, ICH0, ICH2,
and i440MX chipsets. Based on a driver by Michael Shalayeff,
modified somewhat by me to use bus_dma properly, and fix some
audio encoding emulation bugs.
Thanks to Manuel Bouyer for testing and feedback.
CVSweb <webmaster@jp.NetBSD.org>