Author: cgutman
Date: Fri Jul 5 05:48:08 2013
New Revision: 59428
URL:
http://svn.reactos.org/svn/reactos?rev=59428&view=rev
Log:
[RTL8139]
- Fix PCH in CMake file
- Fix broken failure path in MiniportInitialize
Modified:
trunk/reactos/drivers/network/dd/rtl8139/CMakeLists.txt
trunk/reactos/drivers/network/dd/rtl8139/ndis.c
Modified: trunk/reactos/drivers/network/dd/rtl8139/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/rtl8139…
==============================================================================
--- trunk/reactos/drivers/network/dd/rtl8139/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/rtl8139/CMakeLists.txt [iso-8859-1] Fri Jul 5
05:48:08 2013
@@ -12,7 +12,7 @@
rtl8139.rc)
add_library(rtl8139 SHARED ${SOURCE})
-add_pch(rtl8139 pcnet.h)
+add_pch(rtl8139 nic.h)
set_module_type(rtl8139 kernelmodedriver)
add_importlibs(rtl8139 ndis ntoskrnl hal)
add_cd_file(TARGET rtl8139 DESTINATION reactos/system32/drivers FOR all)
Modified: trunk/reactos/drivers/network/dd/rtl8139/ndis.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/rtl8139…
==============================================================================
--- trunk/reactos/drivers/network/dd/rtl8139/ndis.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/rtl8139/ndis.c [iso-8859-1] Fri Jul 5 05:48:08 2013
@@ -356,6 +356,7 @@
if (adapter->ReceiveBuffer == NULL)
{
NDIS_DbgPrint(MIN_TRACE, ("Unable to allocate receive buffer\n"));
+ status = NDIS_STATUS_RESOURCES;
goto Cleanup;
}
@@ -367,6 +368,7 @@
if (adapter->RuntTxBuffers == NULL)
{
NDIS_DbgPrint(MIN_TRACE, ("Unable to allocate runt TX buffer\n"));
+ status = NDIS_STATUS_RESOURCES;
goto Cleanup;
}