summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_le.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-12-18 18:42:03 +0000
committerphk <phk@FreeBSD.org>1994-12-18 18:42:03 +0000
commit66ba4449a145472c6cdb0b42e9f87ad3b1d8b480 (patch)
treee565967c12f71810b8cb5c319f047d3923537818 /sys/i386/isa/if_le.c
parent09b19ee9f7b319cfaf9ec845a402a3df191f3dc1 (diff)
downloadFreeBSD-src-66ba4449a145472c6cdb0b42e9f87ad3b1d8b480.zip
FreeBSD-src-66ba4449a145472c6cdb0b42e9f87ad3b1d8b480.tar.gz
> ../../i386/isa/if_le.c still has a mountain of warnings.. Anyone keen
> to fix? Sure. How's this? - Reviewed by: phk Submitted by: Mark Murray <mark@grondar.za>
Diffstat (limited to 'sys/i386/isa/if_le.c')
-rw-r--r--sys/i386/isa/if_le.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c
index 68ed29f..1084ce3 100644
--- a/sys/i386/isa/if_le.c
+++ b/sys/i386/isa/if_le.c
@@ -21,9 +21,15 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_le.c,v 1.9 1994/10/23 21:27:22 wollman Exp $
+ * $Id: if_le.c,v 1.10 1994/11/24 14:29:24 davidg Exp $
*
* $Log: if_le.c,v $
+ * Revision 1.10 1994/11/24 14:29:24 davidg
+ * Moved conversion of ether_type to host byte order out of ethernet drivers
+ * and into ether_input(). It was silly to have bpf want this one way and
+ * ether_input want it another way. Ripped out trailer support from the few
+ * remaining drivers that still had it.
+ *
* Revision 1.9 1994/10/23 21:27:22 wollman
* Finished device configuration database work for all ISA devices (except `ze')
* and all SCSI devices (except that it's not done quite the way I want). New
@@ -828,7 +834,7 @@ le_multi_op(
#define LEMAC_32K_MODE(mbase) (((mbase) >= 0x14) && ((mbase) <= 0x1F))
#define LEMAC_2K_MODE(mbase) ( (mbase) >= 0x40)
-static int lemac_probe(le_softc_t *sc, const le_board_t *bd, int *msize);
+/* static int lemac_probe(le_softc_t *sc, const le_board_t *bd, int *msize); */
static void lemac_init(int unit);
static void lemac_start(struct ifnet *ifp);
static void lemac_reset(IF_RESET_ARGS);
@@ -841,10 +847,10 @@ static int lemac_read_eeprom(le_softc_t *sc);
static void lemac_init_adapmem(le_softc_t *sc);
static const le_mcbits_t lemac_allmulti_mctbl[16] = {
- 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU,
- 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU,
- 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU,
- 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU,
+ 0xFFFFU, 0xFFFFU, 0xFFFFU, 0xFFFFU,
+ 0xFFFFU, 0xFFFFU, 0xFFFFU, 0xFFFFU,
+ 0xFFFFU, 0xFFFFU, 0xFFFFU, 0xFFFFU,
+ 0xFFFFU, 0xFFFFU, 0xFFFFU, 0xFFFFU,
};
/*
* An IRQ mapping table. Less space than switch statement.
@@ -1348,7 +1354,7 @@ lemac_init_adapmem(
* Start of DEPCA (DE200/DE201/DE202/DE422 etal) support.
*
*/
-static int depca_probe(le_softc_t *sc, const le_board_t *bd, int *msize);
+/* static int depca_probe(le_softc_t *sc, const le_board_t *bd, int *msize); */
static void depca_intr(le_softc_t *sc);
static int lance_init_adapmem(le_softc_t *sc);
static int lance_init_ring(le_softc_t *sc, ln_ring_t *rp, lance_ring_t *ri,
OpenPOWER on IntegriCloud