aic7770.c (65942) | aic7770.c (71390) |
---|---|
1/* 2 * Product specific probe and attach routines for: 3 * 27/284X and aic7770 motherboard SCSI controllers 4 * 5 * Copyright (c) 1994, 1995, 1996, 1997, 1998, 2000 Justin T. Gibbs. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * 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 * Product specific probe and attach routines for: 3 * 27/284X and aic7770 motherboard SCSI controllers 4 * 5 * Copyright (c) 1994, 1995, 1996, 1997, 1998, 2000 Justin T. Gibbs. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * 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 * $Id$ | 29 * $Id: //depot/src/aic7xxx/aic7770.c#4 $ |
30 * | 30 * |
31 * $FreeBSD: head/sys/dev/aic7xxx/aic7770.c 65942 2000-09-16 20:02:28Z gibbs $ | 31 * $FreeBSD: head/sys/dev/aic7xxx/aic7770.c 71390 2001-01-22 21:03:48Z gibbs $ |
32 */ 33 34#ifdef __linux__ 35#include "aic7xxx_linux.h" 36#include "aic7xxx_inline.h" 37#include "aic7xxx_93cx6.h" 38#endif 39 --- 139 unchanged lines hidden (view full) --- 179 /* 180 * Generic aic7xxx initialization. 181 */ 182 error = ahc_init(ahc); 183 if (error != 0) 184 return (error); 185 186 /* | 32 */ 33 34#ifdef __linux__ 35#include "aic7xxx_linux.h" 36#include "aic7xxx_inline.h" 37#include "aic7xxx_93cx6.h" 38#endif 39 --- 139 unchanged lines hidden (view full) --- 179 /* 180 * Generic aic7xxx initialization. 181 */ 182 error = ahc_init(ahc); 183 if (error != 0) 184 return (error); 185 186 /* |
187 * Link this softc in with all other ahc instances. 188 */ 189 ahc_softc_insert(ahc); 190 191 /* |
|
187 * Enable the board's BUS drivers 188 */ 189 ahc_outb(ahc, BCTL, ENABLE); 190 191 return (0); 192} 193 194/* --- 125 unchanged lines hidden --- | 192 * Enable the board's BUS drivers 193 */ 194 ahc_outb(ahc, BCTL, ENABLE); 195 196 return (0); 197} 198 199/* --- 125 unchanged lines hidden --- |