Deleted Added
full compact
if_ep_pccard.c (147256) if_ep_pccard.c (147580)
1/*-
2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca>
3 * All rights reserved.
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

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

30
31/*
32 * Pccard support for 3C589 by:
33 * HAMADA Naoki
34 * nao@tom-yam.or.jp
35 */
36
37#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca>
3 * All rights reserved.
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

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

30
31/*
32 * Pccard support for 3C589 by:
33 * HAMADA Naoki
34 * nao@tom-yam.or.jp
35 */
36
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_pccard.c 147256 2005-06-10 16:49:24Z brooks $");
38__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_pccard.c 147580 2005-06-24 14:36:54Z imp $");
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>
43#include <sys/socket.h>
44#include <sys/module.h>
45#include <sys/bus.h>
46

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

247 }
248 return (0);
249bad:
250 ep_free(dev);
251 return (error);
252}
253
254static const struct pccard_product ep_pccard_products[] = {
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>
43#include <sys/socket.h>
44#include <sys/module.h>
45#include <sys/bus.h>
46

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

247 }
248 return (0);
249bad:
250 ep_free(dev);
251 return (error);
252}
253
254static const struct pccard_product ep_pccard_products[] = {
255 PCMCIA_CARD(3COM, 3C1, 0),
256 PCMCIA_CARD(3COM, 3C562, 0),
257 PCMCIA_CARD(3COM, 3C574, 0), /* ROADRUNNER */
258 PCMCIA_CARD(3COM, 3C589, 0),
259 PCMCIA_CARD(3COM, 3CCFEM556BI, 0), /* ROADRUNNER */
260 PCMCIA_CARD(3COM, 3CXEM556, 0),
261 PCMCIA_CARD(3COM, 3CXEM556INT, 0),
255 PCMCIA_CARD(3COM, 3C1),
256 PCMCIA_CARD(3COM, 3C562),
257 PCMCIA_CARD(3COM, 3C574), /* ROADRUNNER */
258 PCMCIA_CARD(3COM, 3C589),
259 PCMCIA_CARD(3COM, 3CCFEM556BI), /* ROADRUNNER */
260 PCMCIA_CARD(3COM, 3CXEM556),
261 PCMCIA_CARD(3COM, 3CXEM556INT),
262 {NULL}
263};
264
265static int
266ep_pccard_match(device_t dev)
267{
268 const struct pccard_product *pp;
269 int error;

--- 41 unchanged lines hidden ---
262 {NULL}
263};
264
265static int
266ep_pccard_match(device_t dev)
267{
268 const struct pccard_product *pp;
269 int error;

--- 41 unchanged lines hidden ---