CVS log for src/sys/dev/hyperv/hvkbd.c
Up to [cvs.NetBSD.org] / src / sys / dev / hyperv
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:11 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
Merge thorpej-cfargs2.
Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 18:38:19 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3
lines
Adapt to CFARGS().
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:54 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
Revision 1.6.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +4 -3
lines
Sync with HEAD.
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:11 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3
lines
Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 4 17:04:14 2021 UTC (5 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +4 -3
lines
Pull up following revision(s) (requested by nonaka in ticket #1192):
sys/dev/hyperv/if_hvn.c: revision 1.20 (via patch)
sys/dev/hyperv/hvkbd.c: revision 1.7 (via patch)
sys/dev/hyperv/vmbus.c: revision 1.12 (via patch)
hvkbd(4): Don't wait forever.
vmbus(4): Don't wait forever.
hvn(4): Don't wait forever.
Revision 1.1.4.7: download - view: text, markup, annotated - select for diffs
Fri Jan 29 18:18:25 2021 UTC (5 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.1.4.6: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.6: +4 -3
lines
Pull up following revision(s) (requested by nonaka in ticket #1647):
sys/dev/hyperv/if_hvn.c: revision 1.20 (via patch)
sys/dev/hyperv/hvkbd.c: revision 1.7 (via patch)
sys/dev/hyperv/vmbus.c: revision 1.12 (via patch)
hvkbd(4): Don't wait forever.
vmbus(4): Don't wait forever.
hvn(4): Don't wait forever.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 29 04:38:18 2021 UTC (5 years, 9 months ago) by nonaka
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -3
lines
hvkbd(4): Don't wait forever.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:20 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +7 -24
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:05 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +8 -8
lines
Merge changes from current as of 20200406
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 24 08:13:07 2019 UTC (6 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +8 -8
lines
Pull up following revision(s) (requested by nonaka in ticket #464):
sys/dev/hyperv/if_hvn.c: revision 1.8
sys/dev/hyperv/if_hvn.c: revision 1.9
sys/dev/hyperv/hvkbd.c: revision 1.5
sys/dev/hyperv/hvkbd.c: revision 1.6
sys/dev/hyperv/vmbus.c: revision 1.5
vmbus(4), hvn(4), hvkbd(4): Fixed wait time for tsleep(9).
hvn(4), hvkbd(4): Only need to poll when cold.
Revision 1.1.4.6: download - view: text, markup, annotated - select for diffs
Sun Nov 24 08:11:06 2019 UTC (6 years, 11 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE
Diff to: previous 1.1.4.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.5: +8 -8
lines
Pull up following revision(s) (requested by nonaka in ticket #1455):
sys/dev/hyperv/if_hvn.c: revision 1.8
sys/dev/hyperv/if_hvn.c: revision 1.9
sys/dev/hyperv/hvkbd.c: revision 1.5
sys/dev/hyperv/hvkbd.c: revision 1.6
sys/dev/hyperv/vmbus.c: revision 1.5
vmbus(4), hvn(4), hvkbd(4): Fixed wait time for tsleep(9).
hvn(4), hvkbd(4): Only need to poll when cold.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 22 12:40:07 2019 UTC (6 years, 11 months ago) by nonaka
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,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -7
lines
hvn(4), hvkbd(4): Only need to poll when cold.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 22 12:30:32 2019 UTC (6 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
vmbus(4), hvn(4), hvkbd(4): Fixed wait time for tsleep(9).
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 16 16:51:45 2019 UTC (7 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -8
lines
Pull up following revision(s) (requested by nonaka in ticket #428):
sys/dev/hyperv/if_hvn.c: revision 1.6
sys/dev/hyperv/hvkbd.c: revision 1.4
hvn(4), hvkbd(4): No need to call vmbus_channel_setdeferred().
These devices do not perform batch reading.
Revision 1.1.4.5: download - view: text, markup, annotated - select for diffs
Sat Nov 16 16:23:31 2019 UTC (7 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.1.4.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.4: +2 -8
lines
Pull up following revision(s) (requested by nonaka in ticket #1441):
sys/dev/hyperv/if_hvn.c: revision 1.6
sys/dev/hyperv/hvkbd.c: revision 1.4
hvn(4), hvkbd(4): No need to call vmbus_channel_setdeferred().
These devices do not perform batch reading.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Nov 15 08:51:27 2019 UTC (7 years ago) by nonaka
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -7
lines
hvn(4), hvkbd(4): No need to call vmbus_channel_setdeferred().
These devices do not perform batch reading.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Oct 1 18:00:08 2019 UTC (7 years, 1 month ago) by chs
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -21
lines
in many device attach paths, allocate memory with KM_SLEEP instead of KM_NOSLEEP
and remove code to handle failures that can no longer happen.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jul 21 16:08:13 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -2
lines
Fix build for !WSDISPLAY_COMPAT_RAWKBD.
Revision 1.1.4.4: download - view: text, markup, annotated - select for diffs
Thu Jun 13 06:12:55 2019 UTC (7 years, 5 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.1.4.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.3: +0 -644
lines
Ooops, fix misaplied patch from ticket #1281
Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Wed Jun 12 11:35:40 2019 UTC (7 years, 5 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.2: +646 -2
lines
Missing files from commit for ticket #1280:
sys/arch/x86/x86/hypervvar.h: revision 1.1
sys/dev/hyperv/genfb_vmbus.c: revision 1.1
sys/dev/hyperv/genfb_vmbusvar.h: revision 1.1
sys/dev/hyperv/hvkbd.c: revision 1.1
sys/dev/hyperv/hvkbdvar.h: revision 1.1
Added drivers for Hyper-V Synthetic Keyboard and Video device.
Avoid undefined reference to `hyperv_guid_video' without vmbus(4).
Avoid undefined reference to `hyperv_is_gen1' without hyperv(4).
Use efi_probe().
Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Wed Jun 12 10:17:32 2019 UTC (7 years, 5 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +644 -0
lines
Pull up following revision(s) (requested by nonaka in ticket #1280):
sys/arch/x86/x86/consinit.c: revision 1.29
sys/dev/hyperv/vmbusvar.h: revision 1.2
sys/dev/hyperv/genfb_vmbusvar.h: revision 1.1
sys/arch/x86/x86/x86_autoconf.c: revision 1.78
sys/arch/x86/x86/identcpu.c: revision 1.91
sys/arch/x86/x86/hyperv.c: revision 1.2
sys/arch/x86/x86/hyperv.c: revision 1.3
sys/arch/x86/x86/hyperv.c: revision 1.4
sys/arch/i386/conf/GENERIC: revision 1.1207
sys/dev/wscons/wsconsio.h: revision 1.123
sys/arch/x86/x86/hypervvar.h: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.528
sys/dev/hyperv/files.hyperv: revision 1.2
sys/arch/x86/include/autoconf.h: revision 1.6
sys/dev/hyperv/hyperv_common.c: revision 1.2
sys/arch/xen/x86/autoconf.c: revision 1.23
sys/arch/x86/pci/pci_machdep.c: revision 1.86
sys/dev/hyperv/hvkbd.c: revision 1.1
sys/dev/hyperv/hypervvar.h: revision 1.2
sys/dev/acpi/vmbus_acpi.c: revision 1.2
sys/dev/hyperv/vmbus.c: revision 1.3
sys/dev/hyperv/hvkbdvar.h: revision 1.1
sys/dev/hyperv/genfb_vmbus.c: revision 1.1
Added drivers for Hyper-V Synthetic Keyboard and Video device.
Avoid undefined reference to `hyperv_guid_video' without vmbus(4).
Avoid undefined reference to `hyperv_is_gen1' without hyperv(4).
Use efi_probe().
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:09 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +644 -0
lines
Sync with HEAD
Revision 1.1.4.1
Fri May 24 14:28:48 2019 UTC (7 years, 5 months ago) by martin
Branches: netbsd-8
FILE REMOVED
Changes since revision 1.1: +0 -644
lines
file hvkbd.c was added on branch netbsd-8 on 2019-06-12 10:17:32 +0000
Revision 1.1.2.1
Fri May 24 14:28:48 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.1: +0 -644
lines
file hvkbd.c was added on branch phil-wifi on 2019-06-10 22:07:09 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 24 14:28:48 2019 UTC (7 years, 5 months ago) by nonaka
Branches: MAIN
CVS tags: phil-wifi-20190609
Branch point for: phil-wifi,
netbsd-8
Added drivers for Hyper-V Synthetic Keyboard and Video device.
CVSweb <webmaster@jp.NetBSD.org>