Major changes to NVR, system initialization (pc.c), and what goes on in the Windows startup (win.c.) Not fully done yet, but good enough for a first commit.

This commit is contained in:
waltje
2017-10-07 00:46:54 -04:00
parent 95fe21b651
commit 2b37b7fbfb
108 changed files with 5628 additions and 5912 deletions

View File

@@ -12,7 +12,7 @@
* it should be malloc'ed and then linked to the NETCARD def.
* Will be done later.
*
* Version: @(#)network.c 1.0.11 2017/09/24
* Version: @(#)network.c 1.0.12 2017/10/04
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
*/
@@ -43,12 +43,12 @@ static netcard_t net_cards[] = {
/* Global variables. */
int network_card;
int network_type;
int network_ndev;
int nic_do_log;
int network_card;
netdev_t network_devs[32];
char network_pcap[512];
int nic_do_log;
/*
@@ -69,10 +69,9 @@ network_init(void)
nic_do_log = 0;
#endif
#if 0
/* Initialize to a known state. */
network_type = NET_TYPE_NONE;
network_card = 0;
#endif
/* Create a first device entry that's always there, as needed by UI. */
strcpy(network_devs[0].device, "none");