The NetBSD Project

CVS log for src/sys/dev/hyperv/if_hvn.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jul 5 04:31:50 2024 UTC (5 months ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -6 lines
sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:08:34 2024 UTC (9 months, 3 weeks ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
fix spelling mistakes, mainly in comments and log messages.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Dec 20 18:09:18 2023 UTC (11 months, 2 weeks ago) by skrll
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3 lines
Remove unnecssary #include

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Dec 8 21:46:02 2023 UTC (11 months, 3 weeks ago) by andvar
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
fix triple s typos in comments.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Sep 18 16:59:35 2022 UTC (2 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, 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
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -12 lines
Eliminate use of IFF_OACTIVE.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun May 29 10:43:45 2022 UTC (2 years, 6 months ago) by rin
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -4 lines
Audit unload/unmap v.s. free against DMA buffer for sys/dev;
make sure that bus_dmamap_unload(9) [or bus_dmamap_destroy(9)] or
bus_dmamem_unmap(9) are preceding to freeing DMA buffer, if it is
loaded or mapped, respectively.

This is mandatory for some archs. See, e.g.:

http://www.nerv.org/netbsd/?q=id:20210511T013030Z.013443cc790088147e4beed43f53dedabeaf9312
http://www.nerv.org/netbsd/?q=id:20220511T172220Z.561179f0b6fcc5b9cd73e274f69d74e2ce9e4c93

For some drivers, resource leaks for error paths are fixed at
the same time.

XXX XXX XXX
Compile test only (at least one arch per driver).

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri May 20 13:55:17 2022 UTC (2 years, 6 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4059 -610 lines
Improve Hyper-V support.

vmbus(4):
 - Added support for multichannel.

hvn(4):
 - Added support for multichannel.
 - Added support for change MTU.
 - Added support for TX aggregation.
 - Improve VLAN support.
 - Improve checksum offload support.

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:28 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -8 lines
Sync w/ HEAD.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jun 16 00:21:18 2021 UTC (3 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -8 lines
if_attach and if_initialize cannot fail, don't test return value

These were originally made failable back in 2017 when if_initialize
allocated a softint in every interface for link state changes, so
that it could fail gracefully instead of panicking:

https://mail-index.NetBSD.org/source-changes/2017/10/23/msg089053.html

However, this spawned many seldom- or never-tested error branches,
which are risky to have around.  And that softint in every interface
has since been replaced by a single global workqueue, because link
state changes require thread context but not low latency or high
throughput:

https://mail-index.NetBSD.org/source-changes/2020/02/06/msg113759.html

So there is no longer any reason for if_initialize to fail.  (The
subroutine if_stats_init can't fail because percpu_alloc can't fail
either.)

There is a snag: the softint_establish in if_percpuq_create could
fail, potentially leading to bad consequences later on trying to use
the softint.  This change doesn't introduce any new bugs because of
the snag -- if_percpuq_attach was already broken.  However, the snag
can be better addressed without spawning error branches, either by
using a single softint or making softints less scarce.

(Separate commit will change the signatures of if_attach and
if_initialize to return void, scheduled to ride whatever is the next
convenient kernel bump.)

Patch and testing on amd64 and evbmips64-eb by maya@; commit message
soliloquy, and compile-testing on evbppc/i386/earmv7hf, by me.

Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.18.2.1: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.1: +9 -6 lines
Sync with HEAD.

Revision 1.4.2.7: download - view: text, markup, annotated - select for diffs
Thu Feb 4 17:04:14 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.4.2.6: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.6: +9 -6 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.2.2.9: download - view: text, markup, annotated - select for diffs
Fri Jan 29 18:18:25 2021 UTC (3 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.2.2.8: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.8: +9 -6 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.20: download - view: text, markup, annotated - select for diffs
Fri Jan 29 04:38:49 2021 UTC (3 years, 10 months ago) by nonaka
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -6 lines
hvn(4): Don't wait forever.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:05 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -22 lines
Sync w/ HEAD.

Revision 1.2.2.8: download - view: text, markup, annotated - select for diffs
Fri Dec 11 15:48:02 2020 UTC (3 years, 11 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.2.2.7: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.7: +2 -16 lines
Pull up following revision(s) (requested by nonaka in ticket #1635):

	sys/dev/hyperv/if_hvn.c: revision 1.19 (via patch)

hvn(4): fix unable to ifconfig up/down.

Revision 1.4.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 11 15:43:16 2020 UTC (3 years, 11 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.4.2.5: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.5: +3 -22 lines
Pull up following revision(s) (requested by nonaka in ticket #1146):

	sys/dev/hyperv/if_hvn.c: revision 1.19

hvn(4): fix unable to ifconfig up/down.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Dec 11 08:13:08 2020 UTC (3 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -22 lines
hvn(4): fix unable to ifconfig up/down.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun May 24 10:31:59 2020 UTC (4 years, 6 months ago) by nonaka
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +11 -5 lines
hvn(4): Prevent from occur panic when acquiring the media status.

hvn(4) sleeps during hvn_media_status(), and thus requires an adaptive mutex
for the media lock.  Taken from recent iwm(4) change.

Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:20 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.2.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.3: +3 -14 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:05 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.2: +82 -53 lines
Merge changes from current as of 20200406

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:07 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +7 -6 lines
Sync with head.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Feb 4 05:25:38 2020 UTC (4 years, 10 months ago) by thorpej
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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -2 lines
Use ifmedia_fini().

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jan 29 05:55:16 2020 UTC (4 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -6 lines
Adopt <net/if_stats.h>.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Dec 27 05:59:53 2019 UTC (4 years, 11 months ago) by nonaka
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -3 lines
hvn(4): Handle CFI field of VLAN.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Dec 27 05:56:42 2019 UTC (4 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -10 lines
hvn(4): Use vlan_{get,set,has}_tag().

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Dec 10 12:20:20 2019 UTC (4 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +33 -24 lines
hvn(4) can be added and deleted dynamically.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Dec 10 11:19:25 2019 UTC (4 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +12 -2 lines
hvn(4): Handle VMBUS_CHANPKT_TYPE_INBAND packet type.

Revision 1.2.2.7: download - view: text, markup, annotated - select for diffs
Tue Nov 26 08:25:28 2019 UTC (5 years ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE
Diff to: previous 1.2.2.6: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.6: +4 -3 lines
Pull up following revision(s) (requested by nonaka in ticket #1460):

	sys/dev/hyperv/if_hvn.c: revision 1.11

hvn(4): Fix incorrect ident when waiting for NVS command response.

Revision 1.4.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 26 08:22:51 2019 UTC (5 years 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.4.2.4: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.4: +4 -3 lines
Pull up following revision(s) (requested by nonaka in ticket #484):

	sys/dev/hyperv/if_hvn.c: revision 1.11

hvn(4): Fix incorrect ident when waiting for NVS command response.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Nov 26 01:46:31 2019 UTC (5 years ago) by nonaka
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3 lines
hvn(4): Fix incorrect ident when waiting for NVS command response.

Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 25 16:58:54 2019 UTC (5 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.3: +10 -6 lines
Pull up following revision(s) (requested by nonaka in ticket #480):

	sys/dev/hyperv/hvs.c: revision 1.3
	sys/dev/hyperv/if_hvn.c: revision 1.10

hvs(4), hvn(4): Set correct size for bus_dmamap_sync(9).

Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 25 16:01:25 2019 UTC (5 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.2.2.5: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.5: +10 -6 lines
Pull up following revision(s) (requested by nonaka in ticket #1458):

	sys/dev/hyperv/hvs.c: revision 1.3
	sys/dev/hyperv/if_hvn.c: revision 1.10

hvs(4), hvn(4): Set correct size for bus_dmamap_sync(9).

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Nov 25 08:53:39 2019 UTC (5 years ago) by nonaka
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -6 lines
hvs(4), hvn(4): Set correct size for bus_dmamap_sync(9).

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 24 08:13:07 2019 UTC (5 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +16 -16 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.2.2.5: download - view: text, markup, annotated - select for diffs
Sun Nov 24 08:11:06 2019 UTC (5 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.4: +16 -16 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.9: download - view: text, markup, annotated - select for diffs
Fri Nov 22 12:40:07 2019 UTC (5 years ago) by nonaka
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +12 -12 lines
hvn(4), hvkbd(4): Only need to poll when cold.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Nov 22 12:30:32 2019 UTC (5 years ago) by nonaka
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -6 lines
vmbus(4), hvn(4), hvkbd(4): Fixed wait time for tsleep(9).

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 18 19:46:33 2019 UTC (5 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +3 -3 lines
Pull up following revision(s) (requested by nonaka in ticket #441):

	sys/dev/hyperv/if_hvn.c: revision 1.7
	sys/dev/pci/if_mcx.c: revision 1.6

Fixed incorrect m_defrag return value check.

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 18 19:27:56 2019 UTC (5 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +3 -3 lines
Pull up following revision(s) (requested by nonaka in ticket #1447):

	sys/dev/hyperv/if_hvn.c: revision 1.7

Fixed incorrect m_defrag return value check.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Nov 18 04:38:48 2019 UTC (5 years ago) by nonaka
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Fixed incorrect m_defrag return value check.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 16 16:51:45 2019 UTC (5 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +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.2.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 16 16:23:31 2019 UTC (5 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +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.6: download - view: text, markup, annotated - select for diffs
Fri Nov 15 08:51:27 2019 UTC (5 years ago) by nonaka
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -8 lines
hvn(4), hvkbd(4): No need to call vmbus_channel_setdeferred().

These devices do not perform batch reading.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Oct 1 18:00:08 2019 UTC (5 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -9 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.4: download - view: text, markup, annotated - select for diffs
Tue Jul 9 08:46:58 2019 UTC (5 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
 Don't automatically set ec_capenable's ETHERCAP_VLAN_HWTAGGING bit in
vlan_config() to make it user-controllable. Instead, set the bit in
xxx_attach().

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:09 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +1842 -0 lines
Sync with HEAD

Revision 1.3.2.1
Wed May 29 10:07:29 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.3: +0 -1842 lines
file if_hvn.c was added on branch phil-wifi on 2019-06-10 22:07:09 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed May 29 10:07:29 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609
Branch point for: phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -7 lines
Even if we don't use MII(4), use the common path of SIOC[GS]IFMEDIA in
sys/net/if_ethersubr.c if we can.
 - Add ec_ifmedia into struct ethercom.
 - ec_mii in struct ethercom is kept and used as it is. It might be used in
   future. Note that some Ethernet drivers which _DOESN'T_ use mii(4) use
   ec_mii for keeping the if_media. Those should be changed in future.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 9 17:10:19 2019 UTC (5 years, 8 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +1849 -0 lines
Pull up following revision(s) via patch (requested by nonaka in ticket #1210):

	sys/dev/hyperv/vmbusvar.h: revision 1.1
	sys/dev/hyperv/hvs.c: revision 1.1
	sys/dev/hyperv/if_hvn.c: revision 1.1
	sys/dev/hyperv/vmbusic.c: revision 1.1
	sys/arch/x86/x86/lapic.c: revision 1.69
	sys/arch/x86/isa/clock.c: revision 1.34
	sys/arch/x86/include/intrdefs.h: revision 1.22
	sys/arch/i386/conf/GENERIC: revision 1.1201
	sys/arch/x86/x86/hyperv.c: revision 1.1
	sys/arch/x86/include/cpu.h: revision 1.105
	sys/arch/x86/x86/x86_machdep.c: revision 1.124
	sys/arch/i386/conf/GENERIC: revision 1.1203
	sys/arch/amd64/amd64/genassym.cf: revision 1.74
	sys/arch/i386/conf/GENERIC: revision 1.1204
	sys/arch/amd64/conf/GENERIC: revision 1.520
	sys/arch/x86/x86/hypervreg.h: revision 1.1
	sys/arch/amd64/amd64/vector.S: revision 1.69
	sys/dev/hyperv/hvshutdown.c: revision 1.1
	sys/dev/hyperv/hvshutdown.c: revision 1.2
	sys/dev/usb/if_urndisreg.h: file removal
	sys/arch/x86/x86/cpu.c: revision 1.167
	sys/arch/x86/conf/files.x86: revision 1.107
	sys/dev/usb/if_urndis.c: revision 1.20
	sys/dev/hyperv/vmbusicreg.h: revision 1.1
	sys/dev/hyperv/hvheartbeat.c: revision 1.1
	sys/dev/hyperv/vmbusicreg.h: revision 1.2
	sys/dev/hyperv/hvheartbeat.c: revision 1.2
	sys/dev/hyperv/files.hyperv: revision 1.1
	sys/dev/ic/rndisreg.h: revision 1.1
	sys/arch/i386/i386/genassym.cf: revision 1.111
	sys/dev/ic/rndisreg.h: revision 1.2
	sys/dev/hyperv/hyperv_common.c: revision 1.1
	sys/dev/hyperv/hvtimesync.c: revision 1.1
	sys/dev/hyperv/hypervreg.h: revision 1.1
	sys/dev/hyperv/hvtimesync.c: revision 1.2
	sys/dev/hyperv/vmbusicvar.h: revision 1.1
	sys/dev/hyperv/if_hvnreg.h: revision 1.1
	sys/arch/x86/x86/lapic.c: revision 1.70
	sys/arch/amd64/amd64/vector.S: revision 1.70
	sys/dev/ic/ndisreg.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.516
	sys/dev/hyperv/hypervvar.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.518
	sys/arch/amd64/conf/GENERIC: revision 1.519
	sys/arch/i386/conf/files.i386: revision 1.400
	sys/dev/acpi/vmbus_acpi.c: revision 1.1
	sys/dev/hyperv/vmbus.c: revision 1.1
	sys/dev/hyperv/vmbus.c: revision 1.2
	sys/arch/x86/x86/intr.c: revision 1.144
	sys/arch/i386/i386/vector.S: revision 1.83
	sys/arch/amd64/conf/files.amd64: revision 1.112

separate RNDIS definitions from urndis(4) for use with Hyper-V NetVSC.

 -

Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.
graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

 -

Add __diagused.

 -

PR/53984: Partial revert of modify lapic_calibrate_timer() in lapic.c r1.69.

 -

Update Hyper-V related drivers description.

 -

Remove unused definition.

 -

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.
NFCI intended.

 -

commented out hvkvp entry.

 -

fix typo. pointed out by pgoyette@n.o.

 -

Use IDTVEC instead of NENTRY for handle_hyperv_hypercall.

 -

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

Revision 1.2.2.1
Tue Mar 5 08:25:02 2019 UTC (5 years, 9 months ago) by martin
Branches: netbsd-8
FILE REMOVED
Changes since revision 1.2: +0 -1845 lines
file if_hvn.c was added on branch netbsd-8 on 2019-03-09 17:10:19 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Mar 5 08:25:02 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: isaki-audio2-base, isaki-audio2
Branch point for: netbsd-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -6 lines
 Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes
if_upgt.c's ETHER_ALIGN from 0 to 2.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Feb 15 08:54:01 2019 UTC (5 years, 9 months ago) by nonaka
Branches: MAIN
Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.

graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

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>