Changeset 8f5e2527 in mainline for uspace/srv/hw/netif/dp8390/local.h
- Timestamp:
- 2011-01-06T13:58:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 95ff5c4
- Parents:
- 4765152
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/local.h
r4765152 r8f5e2527 1 /*2 * Copyright (c) 1987,1997, 2006, Vrije Universiteit, Amsterdam, The Netherlands All rights reserved. Redistribution and use of the MINIX 3 operating system in source and binary forms, with or without modification, are permitted provided that the following conditions are met:3 *4 * * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.5 * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.6 * * Neither the name of the Vrije Universiteit nor the names of the software authors or contributors may be used to endorse or promote products derived from this software without specific prior written permission.7 * * Any deviations from these conditions require written permission from the copyright holder in advance8 *9 *10 * Disclaimer11 *12 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS, AUTHORS, AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR13 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES14 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.15 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ANY AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,16 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT17 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,18 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY19 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT20 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF21 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.22 *23 * Changes:24 * 2009 ported to HelenOS, Lukas Mejdrech25 */26 27 1 /** @addtogroup dp8390 28 2 * @{ … … 38 12 #include "dp8390_port.h" 39 13 40 /*41 local.h42 */43 44 /** WDETH switch.45 */46 #define ENABLE_WDETH 047 48 /** NE2000 switch.49 */50 #define ENABLE_NE2000 151 52 /** 3C503 switch.53 */54 #define ENABLE_3C503 055 56 /** PCI support switch.57 */58 #define ENABLE_PCI 059 60 14 struct dpeth; 61 15 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 */68 //_PROTOTYPE(int el2_probe, (struct dpeth*dep) );69 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 16 int ne_probe(struct dpeth * dep); 77 //_PROTOTYPE(int ne_probe, (struct dpeth *dep) );78 //_PROTOTYPE(void ne_init, (struct dpeth *dep) );79 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 */86 //_PROTOTYPE(int rtl_probe, (struct dpeth *dep) );87 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 */94 //_PROTOTYPE(int wdeth_probe, (struct dpeth*dep) );95 17 96 18 #endif
Note:
See TracChangeset
for help on using the changeset viewer.