Deleted Added
full compact
if_bfe.c (139944) if_bfe.c (143163)
1/*-
2 * Copyright (c) 2003 Stuart Walsh<stu@ipng.org.uk>
3 * and Duncan Barclay<dmlb@dmlb.org>
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003 Stuart Walsh<stu@ipng.org.uk>
3 * and Duncan Barclay<dmlb@dmlb.org>
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/dev/bfe/if_bfe.c 139944 2005-01-09 19:57:55Z sam $");
29__FBSDID("$FreeBSD: head/sys/dev/bfe/if_bfe.c 143163 2005-03-05 19:06:12Z imp $");
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/sockio.h>
34#include <sys/mbuf.h>
35#include <sys/malloc.h>
36#include <sys/kernel.h>
37#include <sys/module.h>

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

177 bzero(sc, sizeof(struct bfe_softc));
178 sc->bfe_unit = device_get_unit(dev);
179 sc->bfe_dev = dev;
180
181 while(t->bfe_name != NULL) {
182 if ((pci_get_vendor(dev) == t->bfe_vid) &&
183 (pci_get_device(dev) == t->bfe_did)) {
184 device_set_desc_copy(dev, t->bfe_name);
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/sockio.h>
34#include <sys/mbuf.h>
35#include <sys/malloc.h>
36#include <sys/kernel.h>
37#include <sys/module.h>

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

177 bzero(sc, sizeof(struct bfe_softc));
178 sc->bfe_unit = device_get_unit(dev);
179 sc->bfe_dev = dev;
180
181 while(t->bfe_name != NULL) {
182 if ((pci_get_vendor(dev) == t->bfe_vid) &&
183 (pci_get_device(dev) == t->bfe_did)) {
184 device_set_desc_copy(dev, t->bfe_name);
185 return (0);
185 return (BUS_PROBE_DEFAULT);
186 }
187 t++;
188 }
189
190 return (ENXIO);
191}
192
193static int

--- 1407 unchanged lines hidden ---
186 }
187 t++;
188 }
189
190 return (ENXIO);
191}
192
193static int

--- 1407 unchanged lines hidden ---