Rev 4350 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4350 | Rev 4756 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
19 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
20 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
20 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
21 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
21 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
22 | * |
22 | * |
23 | * Changes: |
23 | * Changes: |
24 | * 2009 Lukas Mejdrech ported to HelenOS |
24 | * 2009 ported to HelenOS, Lukas Mejdrech |
25 | */ |
25 | */ |
26 | 26 | ||
27 | /** @addtogroup dp8390 |
27 | /** @addtogroup dp8390 |
28 | * @{ |
28 | * @{ |
29 | */ |
29 | */ |
30 | 30 | ||
- | 31 | /** @file |
|
- | 32 | * Network interface probe functions. |
|
- | 33 | */ |
|
- | 34 | ||
31 | #ifndef __NET_NETIF_DP8390_CONFIG_H__ |
35 | #ifndef __NET_NETIF_DP8390_CONFIG_H__ |
32 | #define __NET_NETIF_DP8390_CONFIG_H__ |
36 | #define __NET_NETIF_DP8390_CONFIG_H__ |
33 | 37 | ||
34 | #include "dp8390_port.h" |
38 | #include "dp8390_port.h" |
35 | 39 | ||
36 | /* |
40 | /* |
37 | local.h |
41 | local.h |
38 | */ |
42 | */ |
39 | 43 | ||
- | 44 | /** WDETH switch. |
|
- | 45 | */ |
|
40 | #define ENABLE_WDETH 0 |
46 | #define ENABLE_WDETH 0 |
- | 47 | ||
- | 48 | /** NE2000 switch. |
|
- | 49 | */ |
|
41 | #define ENABLE_NE2000 1 |
50 | #define ENABLE_NE2000 1 |
- | 51 | ||
- | 52 | /** 3C503 switch. |
|
- | 53 | */ |
|
42 | #define ENABLE_3C503 0 |
54 | #define ENABLE_3C503 0 |
- | 55 | ||
- | 56 | /** PCI support switch. |
|
- | 57 | */ |
|
43 | #define ENABLE_PCI 0 |
58 | #define ENABLE_PCI 0 |
44 | 59 | ||
45 | struct dpeth; |
60 | struct dpeth; |
46 | 61 | ||
47 | /* 3c503.c */ |
62 | /* 3c503.c */ |
- | 63 | /* * Probes a 3C503 network interface. |
|
- | 64 | * @param[in] dep The network interface structure. |
|
- | 65 | * @returns 1 if the NE2000 network interface is present. |
|
- | 66 | * @returns 0 otherwise. |
|
- | 67 | */ |
|
48 | _PROTOTYPE( int el2_probe, (struct dpeth* dep) ); |
68 | //_PROTOTYPE( int el2_probe, (struct dpeth* dep) ); |
49 | 69 | ||
50 | /* ne2000.c */ |
70 | /* ne2000.c */ |
- | 71 | /** Probes a NE2000 or NE1000 network interface. |
|
- | 72 | * @param[in] dep The network interface structure. |
|
- | 73 | * @returns 1 if the NE2000 network interface is present. |
|
- | 74 | * @returns 0 otherwise. |
|
- | 75 | */ |
|
- | 76 | int ne_probe( struct dpeth * dep ); |
|
51 | _PROTOTYPE( int ne_probe, (struct dpeth *dep) ); |
77 | //_PROTOTYPE( int ne_probe, (struct dpeth *dep) ); |
52 | //_PROTOTYPE( void ne_init, (struct dpeth *dep) ); |
78 | //_PROTOTYPE( void ne_init, (struct dpeth *dep) ); |
53 | 79 | ||
54 | /* rtl8029.c */ |
80 | /* rtl8029.c */ |
- | 81 | /* * Probes a RTL8029 network interface. |
|
- | 82 | * @param[in] dep The network interface structure. |
|
- | 83 | * @returns 1 if the NE2000 network interface is present. |
|
- | 84 | * @returns 0 otherwise. |
|
- | 85 | */ |
|
55 | _PROTOTYPE( int rtl_probe, (struct dpeth *dep) ); |
86 | //_PROTOTYPE( int rtl_probe, (struct dpeth *dep) ); |
56 | 87 | ||
57 | /* wdeth.c */ |
88 | /* wdeth.c */ |
- | 89 | /* * Probes a WDETH network interface. |
|
- | 90 | * @param[in] dep The network interface structure. |
|
- | 91 | * @returns 1 if the NE2000 network interface is present. |
|
- | 92 | * @returns 0 otherwise. |
|
- | 93 | */ |
|
58 | _PROTOTYPE( int wdeth_probe, (struct dpeth* dep) ); |
94 | //_PROTOTYPE( int wdeth_probe, (struct dpeth* dep) ); |
59 | 95 | ||
60 | #endif |
96 | #endif |
61 | 97 | ||
62 | /** @} |
98 | /** @} |
63 | */ |
99 | */ |