mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +00:00
[RTL8139]
- Fix PCH in CMake file - Fix broken failure path in MiniportInitialize svn path=/trunk/; revision=59428
This commit is contained in:
parent
50c8f14805
commit
7630a9f60a
2 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,7 @@ list(APPEND SOURCE
|
|||
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)
|
||||
|
|
|
@ -356,6 +356,7 @@ MiniportInitialize (
|
|||
if (adapter->ReceiveBuffer == NULL)
|
||||
{
|
||||
NDIS_DbgPrint(MIN_TRACE, ("Unable to allocate receive buffer\n"));
|
||||
status = NDIS_STATUS_RESOURCES;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
|
@ -367,6 +368,7 @@ MiniportInitialize (
|
|||
if (adapter->RuntTxBuffers == NULL)
|
||||
{
|
||||
NDIS_DbgPrint(MIN_TRACE, ("Unable to allocate runt TX buffer\n"));
|
||||
status = NDIS_STATUS_RESOURCES;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue