twe_freebsd.c (141492) | twe_freebsd.c (142880) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2003 Paul Saab 4 * Copyright (c) 2003 Vinod Kashyap 5 * Copyright (c) 2000 BSDi 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2003 Paul Saab 4 * Copyright (c) 2003 Vinod Kashyap 5 * Copyright (c) 2000 BSDi 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/dev/twe/twe_freebsd.c 141492 2005-02-08 03:43:02Z scottl $ | 29 * $FreeBSD: head/sys/dev/twe/twe_freebsd.c 142880 2005-03-01 07:50:12Z imp $ |
30 */ 31 32/* 33 * FreeBSD-specific code. 34 */ 35 36#include <dev/twe/twe_compat.h> 37#include <dev/twe/twereg.h> --- 120 unchanged lines hidden (view full) --- 158{ 159 160 debug_called(4); 161 162 if ((pci_get_vendor(dev) == TWE_VENDOR_ID) && 163 ((pci_get_device(dev) == TWE_DEVICE_ID) || 164 (pci_get_device(dev) == TWE_DEVICE_ID_ASIC))) { 165 device_set_desc_copy(dev, TWE_DEVICE_NAME ". Driver version " TWE_DRIVER_VERSION_STRING); | 30 */ 31 32/* 33 * FreeBSD-specific code. 34 */ 35 36#include <dev/twe/twe_compat.h> 37#include <dev/twe/twereg.h> --- 120 unchanged lines hidden (view full) --- 158{ 159 160 debug_called(4); 161 162 if ((pci_get_vendor(dev) == TWE_VENDOR_ID) && 163 ((pci_get_device(dev) == TWE_DEVICE_ID) || 164 (pci_get_device(dev) == TWE_DEVICE_ID_ASIC))) { 165 device_set_desc_copy(dev, TWE_DEVICE_NAME ". Driver version " TWE_DRIVER_VERSION_STRING); |
166 return(0); | 166 return(BUS_PROBE_DEFAULT); |
167 } 168 return(ENXIO); 169} 170 171/******************************************************************************** 172 * Allocate resources, initialise the controller. 173 */ 174static int --- 985 unchanged lines hidden --- | 167 } 168 return(ENXIO); 169} 170 171/******************************************************************************** 172 * Allocate resources, initialise the controller. 173 */ 174static int --- 985 unchanged lines hidden --- |