win-pvdrivers

changeset 33:b0870e38eaab

xennet: go into the right state after backend enters InitWait
author Andy Grover <andy.grover@oracle.com>
date Tue Dec 04 23:20:11 2007 -0800 (2007-12-04)
parents d5df0038627d
children 464d62db9cff
files xennet/xennet.c
line diff
     1.1 --- a/xennet/xennet.c	Tue Dec 04 17:29:26 2007 -0800
     1.2 +++ b/xennet/xennet.c	Tue Dec 04 23:20:11 2007 -0800
     1.3 @@ -362,10 +362,10 @@ XenNet_BackEndStateHandler(char *Path, P
     1.4  
     1.5      /* TODO: prepare tx and rx rings */
     1.6  
     1.7 -    KdPrint((__DRIVER_NAME "     Set Frontend state to Initialised\n"));
     1.8 +    KdPrint((__DRIVER_NAME "     Set Frontend state to Connected\n"));
     1.9      RtlStringCbPrintfA(TmpPath, ARRAY_SIZE(TmpPath), "%s/state", xi->Path);
    1.10      xi->XenBusInterface.Printf(xi->XenBusInterface.InterfaceHeader.Context,
    1.11 -      XBT_NIL, TmpPath, "%d", XenbusStateInitialised);
    1.12 +      XBT_NIL, TmpPath, "%d", XenbusStateConnected);
    1.13  
    1.14      /* send fake arp? */
    1.15  
    1.16 @@ -772,7 +772,7 @@ XenNet_QueryInformation(
    1.17        temp_data = 0; /* no mcast support */
    1.18        break;
    1.19      default:
    1.20 -      KdPrint(("Unknown OID 0x%x\n", Oid));
    1.21 +      //KdPrint(("Unknown OID 0x%x\n", Oid));
    1.22        status = NDIS_STATUS_NOT_SUPPORTED;
    1.23    }
    1.24