Deleted Added
full compact
adv_eisa.c (49360) adv_eisa.c (49860)
1/*
2 * Device probe and attach routines for the following
3 * Advanced Systems Inc. SCSI controllers:
4 *
5 * Single Channel Products:
6 * ABP742 - Bus-Master EISA (240 CDB)
7 *
8 * Dual Channel Products:

--- 18 unchanged lines hidden (view full) ---

27 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 *
1/*
2 * Device probe and attach routines for the following
3 * Advanced Systems Inc. SCSI controllers:
4 *
5 * Single Channel Products:
6 * ABP742 - Bus-Master EISA (240 CDB)
7 *
8 * Dual Channel Products:

--- 18 unchanged lines hidden (view full) ---

27 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 *
35 * $Id: adv_eisa.c,v 1.4 1999/05/08 21:59:16 dfr Exp $
35 * $Id: adv_eisa.c,v 1.5 1999/08/01 22:57:08 mdodd Exp $
36 */
37
38#include "eisa.h"
39#if NEISA > 0
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/kernel.h>

--- 129 unchanged lines hidden (view full) ---

173 if (adv_b == NULL)
174 goto bad;
175
176 /*
177 * Allocate a parent dmatag for all tags created
178 * by the MI portions of the advansys driver
179 */
180 /* XXX Should be a child of the PCI bus dma tag */
36 */
37
38#include "eisa.h"
39#if NEISA > 0
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/kernel.h>

--- 129 unchanged lines hidden (view full) ---

173 if (adv_b == NULL)
174 goto bad;
175
176 /*
177 * Allocate a parent dmatag for all tags created
178 * by the MI portions of the advansys driver
179 */
180 /* XXX Should be a child of the PCI bus dma tag */
181 error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/0,
181 error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/1,
182 /*boundary*/0,
183 /*lowaddr*/ADV_EISA_MAX_DMA_ADDR,
184 /*highaddr*/BUS_SPACE_MAXADDR,
185 /*filter*/NULL, /*filterarg*/NULL,
186 /*maxsize*/BUS_SPACE_MAXSIZE_32BIT,
187 /*nsegments*/BUS_SPACE_UNRESTRICTED,
188 /*maxsegsz*/ADV_EISA_MAX_DMA_COUNT,
189 /*flags*/0,

--- 18 unchanged lines hidden (view full) ---

208 goto bad;
209 }
210
211 /*
212 * Allocate a parent dmatag for all tags created
213 * by the MI portions of the advansys driver
214 */
215 /* XXX Should be a child of the PCI bus dma tag */
182 /*boundary*/0,
183 /*lowaddr*/ADV_EISA_MAX_DMA_ADDR,
184 /*highaddr*/BUS_SPACE_MAXADDR,
185 /*filter*/NULL, /*filterarg*/NULL,
186 /*maxsize*/BUS_SPACE_MAXSIZE_32BIT,
187 /*nsegments*/BUS_SPACE_UNRESTRICTED,
188 /*maxsegsz*/ADV_EISA_MAX_DMA_COUNT,
189 /*flags*/0,

--- 18 unchanged lines hidden (view full) ---

208 goto bad;
209 }
210
211 /*
212 * Allocate a parent dmatag for all tags created
213 * by the MI portions of the advansys driver
214 */
215 /* XXX Should be a child of the PCI bus dma tag */
216 error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/0,
216 error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/1,
217 /*boundary*/0,
218 /*lowaddr*/ADV_EISA_MAX_DMA_ADDR,
219 /*highaddr*/BUS_SPACE_MAXADDR,
220 /*filter*/NULL, /*filterarg*/NULL,
221 /*maxsize*/BUS_SPACE_MAXSIZE_32BIT,
222 /*nsegments*/BUS_SPACE_UNRESTRICTED,
223 /*maxsegsz*/ADV_EISA_MAX_DMA_COUNT,
224 /*flags*/0,

--- 128 unchanged lines hidden ---
217 /*boundary*/0,
218 /*lowaddr*/ADV_EISA_MAX_DMA_ADDR,
219 /*highaddr*/BUS_SPACE_MAXADDR,
220 /*filter*/NULL, /*filterarg*/NULL,
221 /*maxsize*/BUS_SPACE_MAXSIZE_32BIT,
222 /*nsegments*/BUS_SPACE_UNRESTRICTED,
223 /*maxsegsz*/ADV_EISA_MAX_DMA_COUNT,
224 /*flags*/0,

--- 128 unchanged lines hidden ---