Deleted Added
full compact
aic_pccard.c (146734) aic_pccard.c (147580)
1/*-
2 * Copyright (c) 1999 Luoqi Chen.
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 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1999 Luoqi Chen.
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 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/aic/aic_pccard.c 146734 2005-05-29 04:42:30Z nyan $");
28__FBSDID("$FreeBSD: head/sys/dev/aic/aic_pccard.c 147580 2005-06-24 14:36:54Z imp $");
29
30#include <sys/param.h>
31#include <sys/kernel.h>
32#include <sys/module.h>
33#include <sys/bus.h>
34
35#include <machine/bus.h>
36#include <machine/resource.h>

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

51
52static int aic_pccard_alloc_resources(device_t);
53static void aic_pccard_release_resources(device_t);
54static int aic_pccard_match(device_t);
55static int aic_pccard_probe(device_t);
56static int aic_pccard_attach(device_t);
57
58const struct pccard_product aic_pccard_products[] = {
29
30#include <sys/param.h>
31#include <sys/kernel.h>
32#include <sys/module.h>
33#include <sys/bus.h>
34
35#include <machine/bus.h>
36#include <machine/resource.h>

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

51
52static int aic_pccard_alloc_resources(device_t);
53static void aic_pccard_release_resources(device_t);
54static int aic_pccard_match(device_t);
55static int aic_pccard_probe(device_t);
56static int aic_pccard_attach(device_t);
57
58const struct pccard_product aic_pccard_products[] = {
59 PCMCIA_CARD(ADAPTEC, APA1460, 0),
60 PCMCIA_CARD(ADAPTEC, APA1460A, 0),
61 PCMCIA_CARD(NEWMEDIA, BUSTOASTER, 0),
62 PCMCIA_CARD(NEWMEDIA, BUSTOASTER2, 0),
63 PCMCIA_CARD(NEWMEDIA, BUSTOASTER3, 0),
59 PCMCIA_CARD(ADAPTEC, APA1460),
60 PCMCIA_CARD(ADAPTEC, APA1460A),
61 PCMCIA_CARD(NEWMEDIA, BUSTOASTER),
62 PCMCIA_CARD(NEWMEDIA, BUSTOASTER2),
63 PCMCIA_CARD(NEWMEDIA, BUSTOASTER3),
64 { NULL }
65};
66
67#define AIC_PCCARD_PORTSIZE 0x20
68
69static int
70aic_pccard_alloc_resources(device_t dev)
71{

--- 143 unchanged lines hidden ---
64 { NULL }
65};
66
67#define AIC_PCCARD_PORTSIZE 0x20
68
69static int
70aic_pccard_alloc_resources(device_t dev)
71{

--- 143 unchanged lines hidden ---