if_hme.c (93043) | if_hme.c (95533) |
---|---|
1/*- 2 * Copyright (c) 1999 The NetBSD Foundation, Inc. 3 * Copyright (c) 2001 Thomas Moestl <tmm@FreeBSD.org>. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to The NetBSD Foundation 7 * by Paul Kranenburg. 8 * --- 22 unchanged lines hidden (view full) --- 31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35 * POSSIBILITY OF SUCH DAMAGE. 36 * 37 * from: NetBSD: hme.c,v 1.20 2000/12/14 06:27:25 thorpej Exp 38 * | 1/*- 2 * Copyright (c) 1999 The NetBSD Foundation, Inc. 3 * Copyright (c) 2001 Thomas Moestl <tmm@FreeBSD.org>. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to The NetBSD Foundation 7 * by Paul Kranenburg. 8 * --- 22 unchanged lines hidden (view full) --- 31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35 * POSSIBILITY OF SUCH DAMAGE. 36 * 37 * from: NetBSD: hme.c,v 1.20 2000/12/14 06:27:25 thorpej Exp 38 * |
39 * $FreeBSD: head/sys/dev/hme/if_hme.c 93043 2002-03-23 19:37:11Z tmm $ | 39 * $FreeBSD: head/sys/dev/hme/if_hme.c 95533 2002-04-26 22:48:23Z mike $ |
40 */ 41 42/* 43 * HME Ethernet module driver. 44 * 45 * The HME is e.g. part of the PCIO PCI multi function device. 46 * It supports TX gathering and TX and RX checksum offloading. 47 * RX buffers must be aligned at a programmable offset modulo 16. We choose 2 --- 9 unchanged lines hidden (view full) --- 57 */ 58 59#define HMEDEBUG 60#define KTR_HME KTR_CT2 /* XXX */ 61 62#include <sys/param.h> 63#include <sys/systm.h> 64#include <sys/bus.h> | 40 */ 41 42/* 43 * HME Ethernet module driver. 44 * 45 * The HME is e.g. part of the PCIO PCI multi function device. 46 * It supports TX gathering and TX and RX checksum offloading. 47 * RX buffers must be aligned at a programmable offset modulo 16. We choose 2 --- 9 unchanged lines hidden (view full) --- 57 */ 58 59#define HMEDEBUG 60#define KTR_HME KTR_CT2 /* XXX */ 61 62#include <sys/param.h> 63#include <sys/systm.h> 64#include <sys/bus.h> |
65#include <sys/endian.h> |
|
65#include <sys/kernel.h> 66#include <sys/ktr.h> 67#include <sys/mbuf.h> 68#include <sys/malloc.h> 69#include <sys/socket.h> 70#include <sys/sockio.h> 71 72#include <net/ethernet.h> --- 1435 unchanged lines hidden --- | 66#include <sys/kernel.h> 67#include <sys/ktr.h> 68#include <sys/mbuf.h> 69#include <sys/malloc.h> 70#include <sys/socket.h> 71#include <sys/sockio.h> 72 73#include <net/ethernet.h> --- 1435 unchanged lines hidden --- |