Author: sephe
Date: Fri Oct 14 05:05:23 2016
New Revision: 307260
URL: https://svnweb.freebsd.org/changeset/base/307260

Log:
  MFC 306484,306485
  
  306484
      hyperv/vmbus: Add missing vmbus_if.c to module build.
  
      Sponsored by:   Microsoft
      Differential Revision:  https://reviews.freebsd.org/D8067
  
  306485
      hyperv/hn: Add stubs for OFFLOAD_CURRENT_CONFIG and NETWORK_CHANGE status
  
      Sponsored by:   Microsoft
      Differential Revision:  https://reviews.freebsd.org/D8068

Modified:
  stable/10/sys/dev/hyperv/netvsc/hv_rndis_filter.c
  stable/10/sys/modules/hyperv/vmbus/Makefile
  stable/10/sys/net/rndis.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/hyperv/netvsc/hv_rndis_filter.c
==============================================================================
--- stable/10/sys/dev/hyperv/netvsc/hv_rndis_filter.c   Fri Oct 14 04:53:52 
2016        (r307259)
+++ stable/10/sys/dev/hyperv/netvsc/hv_rndis_filter.c   Fri Oct 14 05:05:23 
2016        (r307260)
@@ -156,6 +156,15 @@ hv_rf_receive_indicate_status(struct hn_
                netvsc_linkstatus_callback(sc, 0);
                break;
 
+       case RNDIS_STATUS_TASK_OFFLOAD_CURRENT_CONFIG:
+               /* Not really useful; ignore. */
+               break;
+
+       case RNDIS_STATUS_NETWORK_CHANGE:
+               /* TODO */
+               if_printf(sc->hn_ifp, "network changed\n");
+               break;
+
        default:
                /* TODO: */
                if_printf(sc->hn_ifp, "unknown RNDIS status 0x%08x\n",

Modified: stable/10/sys/modules/hyperv/vmbus/Makefile
==============================================================================
--- stable/10/sys/modules/hyperv/vmbus/Makefile Fri Oct 14 04:53:52 2016        
(r307259)
+++ stable/10/sys/modules/hyperv/vmbus/Makefile Fri Oct 14 05:05:23 2016        
(r307260)
@@ -11,6 +11,7 @@ SRCS= hyperv.c \
        vmbus_br.c \
        vmbus_chan.c \
        vmbus_et.c \
+       vmbus_if.c \
        vmbus_xact.c
 SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h vmbus_if.h
 

Modified: stable/10/sys/net/rndis.h
==============================================================================
--- stable/10/sys/net/rndis.h   Fri Oct 14 04:53:52 2016        (r307259)
+++ stable/10/sys/net/rndis.h   Fri Oct 14 05:05:23 2016        (r307260)
@@ -31,6 +31,8 @@
 #define        RNDIS_STATUS_PENDING            0x00000103L
 #define        RNDIS_STATUS_MEDIA_CONNECT      0x4001000BL
 #define        RNDIS_STATUS_MEDIA_DISCONNECT   0x4001000CL
+#define        RNDIS_STATUS_NETWORK_CHANGE     0x40010018L
+#define        RNDIS_STATUS_TASK_OFFLOAD_CURRENT_CONFIG        0x40020006L
 #define        RNDIS_STATUS_BUFFER_OVERFLOW    0x80000005L
 #define        RNDIS_STATUS_FAILURE            0xC0000001L
 #define        RNDIS_STATUS_NOT_SUPPORTED      0xC00000BBL
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to