if_de.c (131455) | if_de.c (131575) |
---|---|
1/* $NetBSD: if_de.c,v 1.86 1999/06/01 19:17:59 thorpej Exp $ */ 2/*- 3 * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com) 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 22 unchanged lines hidden (view full) --- 31 * Written by Matt Thomas 32 * BPF support code stolen directly from if_ec.c 33 * 34 * This driver supports the DEC DE435 or any other PCI 35 * board which support 21040, 21041, or 21140 (mostly). 36 */ 37 38#include <sys/cdefs.h> | 1/* $NetBSD: if_de.c,v 1.86 1999/06/01 19:17:59 thorpej Exp $ */ 2/*- 3 * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com) 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 22 unchanged lines hidden (view full) --- 31 * Written by Matt Thomas 32 * BPF support code stolen directly from if_ec.c 33 * 34 * This driver supports the DEC DE435 or any other PCI 35 * board which support 21040, 21041, or 21140 (mostly). 36 */ 37 38#include <sys/cdefs.h> |
39__FBSDID("$FreeBSD: head/sys/dev/de/if_de.c 131455 2004-07-02 12:16:02Z mlaier $"); | 39__FBSDID("$FreeBSD: head/sys/dev/de/if_de.c 131575 2004-07-04 16:11:03Z stefanf $"); |
40 41#define TULIP_HDR_DATA 42 43#include <sys/param.h> 44#include <sys/systm.h> 45#include <sys/endian.h> 46#include <sys/mbuf.h> 47#include <sys/socket.h> --- 1461 unchanged lines hidden (view full) --- 1509 sc->tulip_dbg.dbg_events[event]++; 1510#endif 1511#if defined(DIAGNOSTIC) 1512 printf("%s: botch(media_poll) at line %d\n", 1513 sc->tulip_xname, __LINE__); 1514#endif 1515} 1516 | 40 41#define TULIP_HDR_DATA 42 43#include <sys/param.h> 44#include <sys/systm.h> 45#include <sys/endian.h> 46#include <sys/mbuf.h> 47#include <sys/socket.h> --- 1461 unchanged lines hidden (view full) --- 1509 sc->tulip_dbg.dbg_events[event]++; 1510#endif 1511#if defined(DIAGNOSTIC) 1512 printf("%s: botch(media_poll) at line %d\n", 1513 sc->tulip_xname, __LINE__); 1514#endif 1515} 1516 |
1517__inline__ static void | 1517__inline static void |
1518tulip_21140_mediainit( 1519 tulip_softc_t * const sc, 1520 tulip_media_info_t * const mip, 1521 tulip_media_t const media, 1522 unsigned gpdata, 1523 unsigned cmdmode) 1524{ 1525 sc->tulip_mediums[media] = mip; --- 3723 unchanged lines hidden --- | 1518tulip_21140_mediainit( 1519 tulip_softc_t * const sc, 1520 tulip_media_info_t * const mip, 1521 tulip_media_t const media, 1522 unsigned gpdata, 1523 unsigned cmdmode) 1524{ 1525 sc->tulip_mediums[media] = mip; --- 3723 unchanged lines hidden --- |