The NetBSD Project

CVS log for src/sys/arch/hppa/gsc/harmony.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / hppa / gsc

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 15 00:25:15 2022 UTC (2 years, 6 months ago) by gutteridge
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, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -3 lines
harmony.c: expand and correct a couple of comments

Revision 1.7.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:26 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +12 -41 lines
Sync with HEAD.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 28 07:01:01 2021 UTC (3 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +12 -41 lines
Pull up following revision(s) (requested by isaki in ticket #1216):
	sys/arch/hppa/gsc/harmony.c: revision 1.8
	sys/arch/hppa/gsc/harmony.c: revision 1.9
	sys/arch/hppa/gsc/harmony.c: revision 1.10

Fix locking against myself.
trigger_output will be called with sc_intr_lock held.

From source code review, not tested.

Fix my mistakes in rev1.6.
- I had to merge the channel bit and the speed bits.
  Reported by macallan@.
- I also fix my indent, while I'm here.

Simplify harmony_speed_bits().
It no longer needs to write back the speed value.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 4 15:08:44 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -36 lines
Simplify harmony_speed_bits().
It no longer needs to write back the speed value.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 4 15:06:11 2021 UTC (3 years, 10 months ago) by isaki
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -3 lines
Fix my mistakes in rev1.6.
- I had to merge the channel bit and the speed bits.
  Reported by macallan@.
- I also fix my indent, while I'm here.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Feb 3 15:13:49 2021 UTC (3 years, 10 months ago) by isaki
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -5 lines
Fix locking against myself.
trigger_output will be called with sc_intr_lock held.
From source code review, not tested.

Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:19 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +60 -203 lines
Sync with HEAD

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jun 8 08:02:37 2019 UTC (5 years, 6 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex, netbsd-9
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2 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.6: download - view: text, markup, annotated - select for diffs
Wed May 8 13:40:15 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +42 -177 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.5.2.3: download - view: text, markup, annotated - select for diffs
Sat May 4 07:20:08 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.2: +2 -2 lines
Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sat May 4 04:51:20 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +1 -16 lines
Remove simple flags that indicate whether the device is opened.
These are handled in the upper layer now.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 21 10:11:44 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +41 -161 lines
Adapt to audio2.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 16 12:09:56 2019 UTC (5 years, 8 months ago) by isaki
Branches: MAIN
CVS tags: isaki-audio2-base
Branch point for: isaki-audio2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +20 -29 lines
Use C99 style struct initializer to audio_hw_if.

Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:16 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.2: +1 -4 lines
update from HEAD

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:39 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +1 -4 lines
Sync with HEAD

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:06 2017 UTC (7 years, 6 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-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, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, 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: phil-wifi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -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.2.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:59 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 21:18:42 2015 UTC (9 years, 8 months ago) by riastradh
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
MD rnd.h cleanups.  Please let me know if I broke anything!

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:04 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +1434 -0 lines
Rebase to HEAD as of a few days ago.

Revision 1.2.4.1
Sun Aug 10 16:44:34 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -1434 lines
file harmony.c was added on branch tls-maxphys on 2014-08-20 00:03:04 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 10 16:44:34 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: tls-maxphys, nick-nhusb
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Merge tls-earlyentropy branch into HEAD.

Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:50 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.1: +1434 -0 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.1.4.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:11 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +1434 -0 lines
sync with head

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 7 03:37:30 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +2 -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.1.6.1
Mon Feb 24 07:23:43 2014 UTC (10 years, 9 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.1: +0 -1434 lines
file harmony.c was added on branch yamt-pagecache on 2014-05-22 11:39:50 +0000

Revision 1.1.4.1
Mon Feb 24 07:23:43 2014 UTC (10 years, 9 months ago) by rmind
Branches: rmind-smpnet
FILE REMOVED
Changes since revision 1.1: +0 -1434 lines
file harmony.c was added on branch rmind-smpnet on 2014-05-18 17:45:11 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Feb 24 07:23:43 2014 UTC (10 years, 9 months ago) by skrll
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, riastradh-drm2-base3
Branch point for: yamt-pagecache, tls-earlyentropy, rmind-smpnet
Rename NetBSD/hp700 to NetBSD/hppa.

Unfortunately our VCS isn't very helpful here.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>