2017-05-09 22:09:55 -04:00
|
|
|
/*
|
2022-10-27 17:08:58 -04:00
|
|
|
* 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.
|
2017-05-09 22:09:55 -04:00
|
|
|
*
|
2022-10-27 17:08:58 -04:00
|
|
|
* This file is part of the 86Box distribution.
|
2017-05-09 22:09:55 -04:00
|
|
|
*
|
2022-10-27 17:08:58 -04:00
|
|
|
* Definitions for the NE2000 ethernet controller.
|
2017-05-09 22:09:55 -04:00
|
|
|
*
|
2020-03-25 00:46:02 +02:00
|
|
|
*
|
2017-05-09 22:09:55 -04:00
|
|
|
*
|
2022-10-27 17:08:58 -04:00
|
|
|
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
2018-03-19 01:02:04 +01:00
|
|
|
*
|
2022-10-27 17:08:58 -04:00
|
|
|
* Copyright 2017,2018 Fred N. van Kempen.
|
2018-03-19 01:02:04 +01:00
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the:
|
|
|
|
|
*
|
|
|
|
|
* Free Software Foundation, Inc.
|
|
|
|
|
* 59 Temple Place - Suite 330
|
|
|
|
|
* Boston, MA 02111-1307
|
|
|
|
|
* USA.
|
2017-05-09 22:09:55 -04:00
|
|
|
*/
|
2022-02-18 19:42:21 -05:00
|
|
|
|
2017-05-06 17:48:33 +02:00
|
|
|
#ifndef NET_NE2000_H
|
2022-09-18 17:15:38 -04:00
|
|
|
#define NET_NE2000_H
|
2017-05-06 17:48:33 +02:00
|
|
|
|
2018-01-28 03:15:01 +01:00
|
|
|
enum {
|
2022-09-18 17:15:38 -04:00
|
|
|
NE2K_NONE = 0,
|
|
|
|
|
NE2K_NE1000 = 1, /* 8-bit ISA NE1000 */
|
|
|
|
|
NE2K_NE2000 = 2, /* 16-bit ISA NE2000 */
|
|
|
|
|
NE2K_ETHERNEXT_MC = 3, /* 16-bit MCA EtherNext/MC */
|
|
|
|
|
NE2K_RTL8019AS = 4, /* 16-bit ISA PnP Realtek 8019AS */
|
|
|
|
|
NE2K_RTL8029AS = 5 /* 32-bit PCI Realtek 8029AS */
|
2018-01-28 03:15:01 +01:00
|
|
|
};
|
2017-05-12 05:05:20 -04:00
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
extern const device_t ne1000_device;
|
|
|
|
|
extern const device_t ne2000_device;
|
|
|
|
|
extern const device_t ethernext_mc_device;
|
|
|
|
|
extern const device_t rtl8019as_device;
|
|
|
|
|
extern const device_t rtl8029as_device;
|
2017-05-12 05:05:20 -04:00
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
#endif /*NET_NE2000_H*/
|