Author: cgutman
Date: Sun Mar 1 08:11:53 2015
New Revision: 66512
URL: http://svn.reactos.org/svn/reactos?rev=66512&view=rev
Log:
[NDIS]
- Always call MiniportISR if the interrupt is shared
- Call MiniportHandleInterrupt even if MiniportInitialize is running
- This commit and r66511 fix the Broadcom 57XX NIC (CORE-9295)
Modified:
trunk/reactos/drivers/network/ndis/ndis/io.c
Modified: trunk/reactos/drivers/network/ndis/ndis/io.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] Sun Mar 1 08:11:53 2015
@@ -71,7 +71,7 @@
NDIS_DbgPrint(MAX_TRACE, ("MiniportInitialize executing: %s\n", (Initializing ? "yes" : "no")));
/* MiniportISR is always called for interrupts during MiniportInitialize */
- if ((Initializing) || (NdisInterrupt->IsrRequested)) {
+ if ((Initializing) || (NdisInterrupt->IsrRequested) || (NdisInterrupt->SharedInterrupt)) {
NDIS_DbgPrint(MAX_TRACE, ("Calling MiniportISR\n"));
(*NdisMiniportBlock->DriverHandle->MiniportCharacteristics.ISRHandler)(
&InterruptRecognized,
@@ -86,8 +86,9 @@
InterruptRecognized = TRUE;
}
- /* MiniportHandleInterrupt is never called for an interrupt during MiniportInitialize */
- if ((QueueMiniportHandleInterrupt) && (!Initializing))
+ /* TODO: Figure out if we should call this or not if Initializing is true. It appears
+ * that calling it fixes some NICs, but documentation is contradictory on it. */
+ if (QueueMiniportHandleInterrupt)
{
NDIS_DbgPrint(MAX_TRACE, ("Queuing DPC.\n"));
KeInsertQueueDpc(&NdisInterrupt->InterruptDpc, NULL, NULL);
Author: hbelusca
Date: Sun Mar 1 00:28:17 2015
New Revision: 66508
URL: http://svn.reactos.org/svn/reactos?rev=66508&view=rev
Log:
[KBSWITCH]
Add keyboard switcher to startup, per-user. Since we currently do not support expandable string values for shell run startup, just use a normal string. Also there's currently a bug in our explorer that makes the icon of kbswitch not appearing when it is launched at startup.
See CORE-6787 for more information.
Modified:
trunk/reactos/boot/bootdata/hivedef.inf
trunk/reactos/boot/bootdata/hivesft.inf
Modified: trunk/reactos/boot/bootdata/hivedef.inf
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/hivedef.inf?…
==============================================================================
--- trunk/reactos/boot/bootdata/hivedef.inf [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/hivedef.inf [iso-8859-1] Sun Mar 1 00:28:17 2015
@@ -1851,6 +1851,10 @@
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",,0x00000012
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony",,0x00000012
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall",,0x00000012
+
+; Keyboard layout switcher
+;HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","kbswitch.exe",0x00020000,"%SystemRoot%\system32\kbswitch.exe"
+HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","kbswitch.exe",2,"kbswitch.exe"
HKCU,"SOFTWARE\Microsoft\Windows NT",,0x00000012
HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion",,0x00000012
Modified: trunk/reactos/boot/bootdata/hivesft.inf
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/hivesft.inf?…
==============================================================================
--- trunk/reactos/boot/bootdata/hivesft.inf [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/hivesft.inf [iso-8859-1] Sun Mar 1 00:28:17 2015
@@ -1608,9 +1608,6 @@
HKLM,"SOFTWARE\Microsoft\Ole","EnableDCOM",0x00000000,"Y"
HKLM,"SOFTWARE\Microsoft\Ole","EnableRemoteConnect",0x00000000,"N"
-
-; Keyboard layout switcher
-;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","kbswitch",0x00000000,"kbswitch.exe"
; SvcHost services
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost",,0x00000012