fdc_pccard.c (140469) | fdc_pccard.c (147580) |
---|---|
1/*- 2 * Copyright (c) 2004-2005 M. Warner Losh. 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) 2004-2005 M. Warner Losh. 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/fdc/fdc_pccard.c 140469 2005-01-19 07:46:38Z imp $"); | 28__FBSDID("$FreeBSD: head/sys/dev/fdc/fdc_pccard.c 147580 2005-06-24 14:36:54Z imp $"); |
29 30#include <sys/param.h> 31#include <sys/bio.h> 32#include <sys/bus.h> 33#include <sys/kernel.h> 34#include <sys/lock.h> 35#include <sys/module.h> 36#include <sys/mutex.h> --- 6 unchanged lines hidden (view full) --- 43#include <dev/fdc/fdcvar.h> 44#include <dev/pccard/pccardvar.h> 45#include "pccarddevs.h" 46 47static int fdc_pccard_probe(device_t); 48static int fdc_pccard_attach(device_t); 49 50static const struct pccard_product fdc_pccard_products[] = { | 29 30#include <sys/param.h> 31#include <sys/bio.h> 32#include <sys/bus.h> 33#include <sys/kernel.h> 34#include <sys/lock.h> 35#include <sys/module.h> 36#include <sys/mutex.h> --- 6 unchanged lines hidden (view full) --- 43#include <dev/fdc/fdcvar.h> 44#include <dev/pccard/pccardvar.h> 45#include "pccarddevs.h" 46 47static int fdc_pccard_probe(device_t); 48static int fdc_pccard_attach(device_t); 49 50static const struct pccard_product fdc_pccard_products[] = { |
51 PCMCIA_CARD(YEDATA, EXTERNAL_FDD, 0), | 51 PCMCIA_CARD(YEDATA, EXTERNAL_FDD), |
52}; 53 54static int 55fdc_pccard_alloc_resources(device_t dev, struct fdc_data *fdc) 56{ 57 struct resource *res; 58 int rid, i; 59 --- 86 unchanged lines hidden --- | 52}; 53 54static int 55fdc_pccard_alloc_resources(device_t dev, struct fdc_data *fdc) 56{ 57 struct resource *res; 58 int rid, i; 59 --- 86 unchanged lines hidden --- |