Updated NE2000 driver (cleaned up, especially PCI), new location for ROM files! Cross-tested with SLiRP and PCap for NE2000 and RTL8029 on DOS, NT 3.51.5, W2K.4, Debian 3.1 and 7.6. NT and Deb 3.1 don't like the RTL, and never will.

This commit is contained in:
waltje
2017-05-26 13:12:31 -04:00
parent a6ae4da9ae
commit 94680da416
2 changed files with 349 additions and 232 deletions

View File

@@ -8,7 +8,7 @@
*
* Try to load a support DLL.
*
* Version: @(#)win_dynld.c 1.0.1 2017/05/21
* Version: @(#)win_dynld.c 1.0.2 2017/05/24
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
* Copyright 2017 Fred N. van Kempen
@@ -26,7 +26,7 @@
void *
dynld_module(const char *name, dllimp_t *table)
{
HANDLE h;
HMODULE h;
dllimp_t *imp;
void *func;
char **foo;
@@ -60,5 +60,5 @@ void
dynld_close(void *handle)
{
if (handle != NULL)
CloseHandle((HANDLE *)handle);
FreeLibrary((HMODULE)handle);
}