Deleted Added
full compact
if_an_pccard.c (86382) if_an_pccard.c (86384)
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. 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

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. 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

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/dev/an/if_an_pccard.c 86382 2001-11-15 06:18:06Z imp $
32 * $FreeBSD: head/sys/dev/an/if_an_pccard.c 86384 2001-11-15 06:26:24Z imp $
33 */
34
35/*
36 * Aironet 4500/4800 802.11 PCMCIA/ISA/PCI driver for FreeBSD.
37 *
38 * Written by Bill Paul <wpaul@ctr.columbia.edu>
39 * Electrical Engineering Department
40 * Columbia University, New York City

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

67#include <net/if_media.h>
68
69#include <dev/pccard/pccardvar.h>
70#include <dev/pccard/pccarddevs.h>
71#include "card_if.h"
72
73#ifndef lint
74static const char rcsid[] =
33 */
34
35/*
36 * Aironet 4500/4800 802.11 PCMCIA/ISA/PCI driver for FreeBSD.
37 *
38 * Written by Bill Paul <wpaul@ctr.columbia.edu>
39 * Electrical Engineering Department
40 * Columbia University, New York City

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

67#include <net/if_media.h>
68
69#include <dev/pccard/pccardvar.h>
70#include <dev/pccard/pccarddevs.h>
71#include "card_if.h"
72
73#ifndef lint
74static const char rcsid[] =
75 "$FreeBSD: head/sys/dev/an/if_an_pccard.c 86382 2001-11-15 06:18:06Z imp $";
75 "$FreeBSD: head/sys/dev/an/if_an_pccard.c 86384 2001-11-15 06:26:24Z imp $";
76#endif
77
78#include <dev/an/if_aironet_ieee.h>
79#include <dev/an/if_anreg.h>
80
81/*
82 * Support for PCMCIA cards.
83 */

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

107 sizeof(struct an_softc)
108};
109
110static devclass_t an_pccard_devclass;
111
112DRIVER_MODULE(if_an, pccard, an_pccard_driver, an_pccard_devclass, 0, 0);
113
114static const struct pccard_product an_pccard_products[] = {
76#endif
77
78#include <dev/an/if_aironet_ieee.h>
79#include <dev/an/if_anreg.h>
80
81/*
82 * Support for PCMCIA cards.
83 */

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

107 sizeof(struct an_softc)
108};
109
110static devclass_t an_pccard_devclass;
111
112DRIVER_MODULE(if_an, pccard, an_pccard_driver, an_pccard_devclass, 0, 0);
113
114static const struct pccard_product an_pccard_products[] = {
115 { PCMCIA_STR_AIRONET_PC4800, PCMCIA_VENDOR_AIRONET,
116 PCMCIA_PRODUCT_AIRONET_PC4800, 0,
117 PCMCIA_CIS_AIRONET_PC4800 },
115 { PCMCIA_STR_AIRONET_PC4800, PCMCIA_VENDOR_AIRONET,
116 PCMCIA_PRODUCT_AIRONET_PC4800, 0,
117 PCMCIA_CIS_AIRONET_PC4800 },
118 { PCMCIA_STR_AIRONET_PC4500, PCMCIA_VENDOR_AIRONET,
119 PCMCIA_PRODUCT_AIRONET_PC4500, 0,
120 PCMCIA_CIS_AIRONET_PC4500 },
121 { PCMCIA_STR_AIRONET_350, PCMCIA_VENDOR_AIRONET,
122 PCMCIA_PRODUCT_AIRONET_350, 0,
123 PCMCIA_CIS_AIRONET_350 },
118};
119
120static int
121an_pccard_match(device_t dev)
122{
123 const struct pccard_product *pp;
124
125 if ((pp = pccard_product_lookup(dev, an_pccard_products,

--- 70 unchanged lines hidden ---
124};
125
126static int
127an_pccard_match(device_t dev)
128{
129 const struct pccard_product *pp;
130
131 if ((pp = pccard_product_lookup(dev, an_pccard_products,

--- 70 unchanged lines hidden ---