Deleted Added
full compact
if_cs_pccard.c (140927) if_cs_pccard.c (147580)
1/*-
2 * Copyright (c) 1999 M. Warner Losh <imp@village.org>
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

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

20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1999 M. Warner Losh <imp@village.org>
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

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

20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/cs/if_cs_pccard.c 140927 2005-01-28 06:45:42Z imp $");
28__FBSDID("$FreeBSD: head/sys/dev/cs/if_cs_pccard.c 147580 2005-06-24 14:36:54Z imp $");
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/kernel.h>
33#include <sys/socket.h>
34
35#include <sys/module.h>
36#include <sys/bus.h>

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

46#include <dev/cs/if_csreg.h>
47#include <dev/pccard/pccardvar.h>
48#include <dev/pccard/pccard_cis.h>
49
50#include "card_if.h"
51#include "pccarddevs.h"
52
53static const struct pccard_product cs_pccard_products[] = {
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/kernel.h>
33#include <sys/socket.h>
34
35#include <sys/module.h>
36#include <sys/bus.h>

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

46#include <dev/cs/if_csreg.h>
47#include <dev/pccard/pccardvar.h>
48#include <dev/pccard/pccard_cis.h>
49
50#include "card_if.h"
51#include "pccarddevs.h"
52
53static const struct pccard_product cs_pccard_products[] = {
54 PCMCIA_CARD(IBM, ETHERJET, 0),
54 PCMCIA_CARD(IBM, ETHERJET),
55 { NULL }
56};
57static int
58cs_pccard_match(device_t dev)
59{
60 const struct pccard_product *pp;
61 int error;
62 uint32_t fcn = PCCARD_FUNCTION_UNSPEC;

--- 76 unchanged lines hidden ---
55 { NULL }
56};
57static int
58cs_pccard_match(device_t dev)
59{
60 const struct pccard_product *pp;
61 int error;
62 uint32_t fcn = PCCARD_FUNCTION_UNSPEC;

--- 76 unchanged lines hidden ---