Deleted Added
full compact
if_de.c (137402) if_de.c (142398)
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 137402 2004-11-08 19:21:57Z phk $");
39__FBSDID("$FreeBSD: head/sys/dev/de/if_de.c 142398 2005-02-24 21:32:56Z imp $");
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>

--- 4941 unchanged lines hidden (view full) ---

4989 if (pci_get_revid(dev) >= 0x20)
4990 name = "Digital 21143 Fast Ethernet";
4991 else
4992 name = "Digital 21142 Fast Ethernet";
4993 break;
4994 }
4995 if (name) {
4996 device_set_desc(dev, name);
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>

--- 4941 unchanged lines hidden (view full) ---

4989 if (pci_get_revid(dev) >= 0x20)
4990 name = "Digital 21143 Fast Ethernet";
4991 else
4992 name = "Digital 21142 Fast Ethernet";
4993 break;
4994 }
4995 if (name) {
4996 device_set_desc(dev, name);
4997 return -200;
4997 return BUS_PROBE_LOW_PRIORITY;
4998 }
4999 return ENXIO;
5000}
5001
5002static int
5003tulip_shutdown(device_t dev)
5004{
5005 tulip_softc_t * const sc = device_get_softc(dev);

--- 229 unchanged lines hidden ---
4998 }
4999 return ENXIO;
5000}
5001
5002static int
5003tulip_shutdown(device_t dev)
5004{
5005 tulip_softc_t * const sc = device_get_softc(dev);

--- 229 unchanged lines hidden ---