21,7 → 21,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* |
* Changes: |
* 2009 Lukas Mejdrech ported to HelenOS |
* 2009 ported to HelenOS, Lukas Mejdrech |
*/ |
|
/** @addtogroup dp8390 |
28,6 → 28,10 |
* @{ |
*/ |
|
/** @file |
* Network interface probe functions. |
*/ |
|
#ifndef __NET_NETIF_DP8390_CONFIG_H__ |
#define __NET_NETIF_DP8390_CONFIG_H__ |
|
37,25 → 41,57 |
local.h |
*/ |
|
/** WDETH switch. |
*/ |
#define ENABLE_WDETH 0 |
|
/** NE2000 switch. |
*/ |
#define ENABLE_NE2000 1 |
|
/** 3C503 switch. |
*/ |
#define ENABLE_3C503 0 |
|
/** PCI support switch. |
*/ |
#define ENABLE_PCI 0 |
|
struct dpeth; |
|
/* 3c503.c */ |
_PROTOTYPE( int el2_probe, (struct dpeth* dep) ); |
/* * Probes a 3C503 network interface. |
* @param[in] dep The network interface structure. |
* @returns 1 if the NE2000 network interface is present. |
* @returns 0 otherwise. |
*/ |
//_PROTOTYPE( int el2_probe, (struct dpeth* dep) ); |
|
/* ne2000.c */ |
_PROTOTYPE( int ne_probe, (struct dpeth *dep) ); |
/** Probes a NE2000 or NE1000 network interface. |
* @param[in] dep The network interface structure. |
* @returns 1 if the NE2000 network interface is present. |
* @returns 0 otherwise. |
*/ |
int ne_probe( struct dpeth * dep ); |
//_PROTOTYPE( int ne_probe, (struct dpeth *dep) ); |
//_PROTOTYPE( void ne_init, (struct dpeth *dep) ); |
|
/* rtl8029.c */ |
_PROTOTYPE( int rtl_probe, (struct dpeth *dep) ); |
/* * Probes a RTL8029 network interface. |
* @param[in] dep The network interface structure. |
* @returns 1 if the NE2000 network interface is present. |
* @returns 0 otherwise. |
*/ |
//_PROTOTYPE( int rtl_probe, (struct dpeth *dep) ); |
|
/* wdeth.c */ |
_PROTOTYPE( int wdeth_probe, (struct dpeth* dep) ); |
/* * Probes a WDETH network interface. |
* @param[in] dep The network interface structure. |
* @returns 1 if the NE2000 network interface is present. |
* @returns 0 otherwise. |
*/ |
//_PROTOTYPE( int wdeth_probe, (struct dpeth* dep) ); |
|
#endif |
|