win-pvdrivers

changeset 428:7ff73a450370

Fixed interrupt ack in xennet
author James Harper <james.harper@bendigoit.com.au>
date Mon Sep 08 22:12:05 2008 +1000 (2008-09-08)
parents 599061042271
children c3fd610dc60c
files xennet/xennet.c xenpci/evtchn.c
line diff
     1.1 --- a/xennet/xennet.c	Mon Sep 08 22:10:30 2008 +1000
     1.2 +++ b/xennet/xennet.c	Mon Sep 08 22:12:05 2008 +1000
     1.3 @@ -137,7 +137,7 @@ XenNet_InterruptIsr(
     1.4    else
     1.5    {
     1.6      *QueueMiniportHandleInterrupt = (BOOLEAN)!!xi->connected;
     1.7 -    *InterruptRecognized = TRUE;
     1.8 +    *InterruptRecognized = FALSE;
     1.9    }
    1.10  
    1.11    //FUNCTION_EXIT();
     2.1 --- a/xenpci/evtchn.c	Mon Sep 08 22:10:30 2008 +1000
     2.2 +++ b/xenpci/evtchn.c	Mon Sep 08 22:12:05 2008 +1000
     2.3 @@ -94,7 +94,7 @@ to CPU != 0, but we should always use vc
     2.4    BOOLEAN deferred = FALSE;
     2.5    int i;
     2.6  
     2.7 -  //KdPrint((__DRIVER_NAME " --> " __FUNCTION__ " (cpu = %d)\n", cpu));
     2.8 +  //KdPrint((__DRIVER_NAME " --> " __FUNCTION__ " (cpu = %d)\n", KeGetCurrentProcessorNumber()));
     2.9  
    2.10    if (xpdd->interrupts_masked)
    2.11    {