pccard.c (140366) | pccard.c (140488) |
---|---|
1/* $NetBSD: pcmcia.c,v 1.23 2000/07/28 19:17:02 drochner Exp $ */ 2 3/*- 4 * Copyright (c) 1997 Marc Horowitz. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 16 unchanged lines hidden (view full) --- 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> | 1/* $NetBSD: pcmcia.c,v 1.23 2000/07/28 19:17:02 drochner Exp $ */ 2 3/*- 4 * Copyright (c) 1997 Marc Horowitz. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 16 unchanged lines hidden (view full) --- 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/dev/pccard/pccard.c 140366 2005-01-17 06:54:48Z imp $"); | 33__FBSDID("$FreeBSD: head/sys/dev/pccard/pccard.c 140488 2005-01-19 20:21:44Z imp $"); |
34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/malloc.h> 38#include <sys/module.h> 39#include <sys/kernel.h> 40#include <sys/queue.h> 41#include <sys/sysctl.h> --- 425 unchanged lines hidden (view full) --- 467 } 468 if (cfe->num_memspace > 0) { 469 /* 470 * Not implement yet, Fix me. 471 */ 472 DEVPRINTF((bus, "Memory space not yet implemented.\n")); 473 } 474 if (spaces == 0) { | 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/malloc.h> 38#include <sys/module.h> 39#include <sys/kernel.h> 40#include <sys/queue.h> 41#include <sys/sysctl.h> --- 425 unchanged lines hidden (view full) --- 467 } 468 if (cfe->num_memspace > 0) { 469 /* 470 * Not implement yet, Fix me. 471 */ 472 DEVPRINTF((bus, "Memory space not yet implemented.\n")); 473 } 474 if (spaces == 0) { |
475 DEVPRINTF((bus, "Neither memory nor I/O mampped\n")); | 475 DEVPRINTF((bus, "Neither memory nor I/O mapped\n")); |
476 goto not_this_one; 477 } 478 if (cfe->irqmask) { 479 cfe->irqrid = 0; 480 r = cfe->irqres = bus_alloc_resource_any(bus, 481 SYS_RES_IRQ, &cfe->irqrid, 0); 482 if (cfe->irqres == NULL) 483 goto not_this_one; --- 900 unchanged lines hidden --- | 476 goto not_this_one; 477 } 478 if (cfe->irqmask) { 479 cfe->irqrid = 0; 480 r = cfe->irqres = bus_alloc_resource_any(bus, 481 SYS_RES_IRQ, &cfe->irqrid, 0); 482 if (cfe->irqres == NULL) 483 goto not_this_one; --- 900 unchanged lines hidden --- |