if_wi_pci.c (139749) | if_wi_pci.c (142880) |
---|---|
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/wi/if_wi_pci.c 139749 2005-01-06 01:43:34Z imp $ | 32 * $FreeBSD: head/sys/dev/wi/if_wi_pci.c 142880 2005-03-01 07:50:12Z imp $ |
33 */ 34 35/* 36 * Lucent WaveLAN/IEEE 802.11 PCMCIA driver for FreeBSD. 37 * 38 * Written by Bill Paul <wpaul@ctr.columbia.edu> 39 * Electrical Engineering Department 40 * Columbia University, New York City --- 82 unchanged lines hidden (view full) --- 123 int i; 124 125 sc = device_get_softc(dev); 126 for(i=0; pci_ids[i].vendor != 0; i++) { 127 if ((pci_get_vendor(dev) == pci_ids[i].vendor) && 128 (pci_get_device(dev) == pci_ids[i].device)) { 129 sc->wi_bus_type = pci_ids[i].bus_type; 130 device_set_desc(dev, pci_ids[i].desc); | 33 */ 34 35/* 36 * Lucent WaveLAN/IEEE 802.11 PCMCIA driver for FreeBSD. 37 * 38 * Written by Bill Paul <wpaul@ctr.columbia.edu> 39 * Electrical Engineering Department 40 * Columbia University, New York City --- 82 unchanged lines hidden (view full) --- 123 int i; 124 125 sc = device_get_softc(dev); 126 for(i=0; pci_ids[i].vendor != 0; i++) { 127 if ((pci_get_vendor(dev) == pci_ids[i].vendor) && 128 (pci_get_device(dev) == pci_ids[i].device)) { 129 sc->wi_bus_type = pci_ids[i].bus_type; 130 device_set_desc(dev, pci_ids[i].desc); |
131 return (0); | 131 return (BUS_PROBE_DEFAULT); |
132 } 133 } 134 return(ENXIO); 135} 136 137static int 138wi_pci_attach(device_t dev) 139{ --- 136 unchanged lines hidden --- | 132 } 133 } 134 return(ENXIO); 135} 136 137static int 138wi_pci_attach(device_t dev) 139{ --- 136 unchanged lines hidden --- |