ciss.c (142161) | ciss.c (143161) |
---|---|
1/*- 2 * Copyright (c) 2001 Michael Smith 3 * Copyright (c) 2004 Paul Saab 4 * 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: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/*- 2 * Copyright (c) 2001 Michael Smith 3 * Copyright (c) 2004 Paul Saab 4 * 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: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/dev/ciss/ciss.c 142161 2005-02-21 05:17:29Z scottl $ | 27 * $FreeBSD: head/sys/dev/ciss/ciss.c 143161 2005-03-05 18:30:12Z imp $ |
28 */ 29 30/* 31 * Common Interface for SCSI-3 Support driver. 32 * 33 * CISS claims to provide a common interface between a generic SCSI 34 * transport and an intelligent host adapter. 35 * --- 273 unchanged lines hidden (view full) --- 309static int 310ciss_probe(device_t dev) 311{ 312 int i; 313 314 i = ciss_lookup(dev); 315 if (i != -1) { 316 device_set_desc(dev, ciss_vendor_data[i].desc); | 28 */ 29 30/* 31 * Common Interface for SCSI-3 Support driver. 32 * 33 * CISS claims to provide a common interface between a generic SCSI 34 * transport and an intelligent host adapter. 35 * --- 273 unchanged lines hidden (view full) --- 309static int 310ciss_probe(device_t dev) 311{ 312 int i; 313 314 i = ciss_lookup(dev); 315 if (i != -1) { 316 device_set_desc(dev, ciss_vendor_data[i].desc); |
317 return(-10); | 317 return(BUS_PROBE_DEFAULT); |
318 } 319 return(ENOENT); 320} 321 322/************************************************************************ 323 * Attach the driver to this adapter. 324 */ 325static int --- 3787 unchanged lines hidden --- | 318 } 319 return(ENOENT); 320} 321 322/************************************************************************ 323 * Attach the driver to this adapter. 324 */ 325static int --- 3787 unchanged lines hidden --- |