aic.c (92739) | aic.c (104094) |
---|---|
1/*- 2 * Copyright (c) 1999 Luoqi Chen. 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * | 1/*- 2 * Copyright (c) 1999 Luoqi Chen. 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * $FreeBSD: head/sys/dev/aic/aic.c 92739 2002-03-20 02:08:01Z alfred $ | 26 * $FreeBSD: head/sys/dev/aic/aic.c 104094 2002-09-28 17:15:38Z phk $ |
27 */ 28 29#include <sys/param.h> 30#include <sys/systm.h> 31#include <sys/kernel.h> 32#include <sys/bus.h> 33 34#include <machine/bus_pio.h> --- 459 unchanged lines hidden (view full) --- 494 !(aic_inb(aic, SSTAT0) & SPIORDY)) 495 ; 496 return !(aic_inb(aic, DMASTAT) & INTSTAT); 497} 498 499/* 500 * Reestablish a disconnected nexus. 501 */ | 27 */ 28 29#include <sys/param.h> 30#include <sys/systm.h> 31#include <sys/kernel.h> 32#include <sys/bus.h> 33 34#include <machine/bus_pio.h> --- 459 unchanged lines hidden (view full) --- 494 !(aic_inb(aic, SSTAT0) & SPIORDY)) 495 ; 496 return !(aic_inb(aic, DMASTAT) & INTSTAT); 497} 498 499/* 500 * Reestablish a disconnected nexus. 501 */ |
502void | 502static void |
503aic_reconnect(struct aic_softc *aic, int tag) 504{ 505 struct aic_scb *scb; 506 struct ccb_hdr *ccb_h; 507 508 CAM_DEBUG_PRINT(CAM_DEBUG_TRACE, ("aic_reconnect\n")); 509 510 /* Find the nexus */ --- 1071 unchanged lines hidden --- | 503aic_reconnect(struct aic_softc *aic, int tag) 504{ 505 struct aic_scb *scb; 506 struct ccb_hdr *ccb_h; 507 508 CAM_DEBUG_PRINT(CAM_DEBUG_TRACE, ("aic_reconnect\n")); 509 510 /* Find the nexus */ --- 1071 unchanged lines hidden --- |