Add PLIP network device
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#ifndef EMU_LPT_H
|
||||
# define EMU_LPT_H
|
||||
|
||||
typedef struct
|
||||
{
|
||||
const char *name;
|
||||
@@ -58,3 +61,5 @@ extern const lpt_device_t lpt_dac_device;
|
||||
extern const lpt_device_t lpt_dac_stereo_device;
|
||||
|
||||
extern const lpt_device_t dss_device;
|
||||
|
||||
#endif /*EMU_LPT_H*/
|
||||
24
src/include/86box/net_plip.h
Normal file
24
src/include/86box/net_plip.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
||||
* running old operating systems and software designed for IBM
|
||||
* PC systems and compatibles from 1981 through fairly recent
|
||||
* system designs based on the PCI bus.
|
||||
*
|
||||
* This file is part of the 86Box distribution.
|
||||
*
|
||||
* Definitions for the PLIP parallel port network device.
|
||||
*
|
||||
*
|
||||
*
|
||||
* Author: RichardG, <richardg867@gmail.com>
|
||||
* Copyright 2020 RichardG.
|
||||
*/
|
||||
#ifndef NET_PLIP_H
|
||||
# define NET_PLIP_H
|
||||
# include <86box/device.h>
|
||||
# include <86box/lpt.h>
|
||||
|
||||
extern const lpt_device_t lpt_plip_device;
|
||||
extern const device_t plip_device;
|
||||
|
||||
#endif /*NET_PLIP_H*/
|
||||
@@ -101,6 +101,7 @@ extern "C" {
|
||||
/* Global variables. */
|
||||
extern int nic_do_log; /* config */
|
||||
extern int network_ndev;
|
||||
extern int network_rx_pause;
|
||||
extern netdev_t network_devs[32];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user