isp_pci.c (17e318c604bb35b4556b14b90400f05107d8d131) | isp_pci.c (285e230daf964256354bea83a862d4d617cb400a) |
---|---|
1/* $Id: $ */ 2/* release_12_28_98_A */ | 1/* $Id: isp_pci.c,v 1.12 1998/12/28 19:24:23 mjacob Exp $ */ 2/* release_12_28_98_A+ */ |
3/* 4 * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. 5 * FreeBSD Version. 6 * 7 *--------------------------------------- 8 * Copyright (c) 1997, 1998 by Matthew Jacob 9 * NASA/Ames Research Center 10 * All rights reserved. --- 63 unchanged lines hidden (view full) --- 74 isp_pci_dmateardown, 75 NULL, 76 isp_pci_reset1, 77 isp_pci_dumpregs, 78 ISP_RISC_CODE, 79 ISP_CODE_LENGTH, 80 ISP_CODE_ORG, 81 ISP_CODE_VERSION, | 3/* 4 * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. 5 * FreeBSD Version. 6 * 7 *--------------------------------------- 8 * Copyright (c) 1997, 1998 by Matthew Jacob 9 * NASA/Ames Research Center 10 * All rights reserved. --- 63 unchanged lines hidden (view full) --- 74 isp_pci_dmateardown, 75 NULL, 76 isp_pci_reset1, 77 isp_pci_dumpregs, 78 ISP_RISC_CODE, 79 ISP_CODE_LENGTH, 80 ISP_CODE_ORG, 81 ISP_CODE_VERSION, |
82 BIU_BURST_ENABLE, | 82 BIU_BURST_ENABLE|BIU_PCI_CONF1_FIFO_64, |
83 0 84}; 85 86static struct ispmdvec mdvec_2100 = { 87 isp_pci_rd_reg, 88 isp_pci_wr_reg, 89 isp_pci_mbxdma, 90 isp_pci_dmasetup, 91 isp_pci_dmateardown, 92 NULL, 93 isp_pci_reset1, 94 isp_pci_dumpregs, 95 ISP2100_RISC_CODE, 96 ISP2100_CODE_LENGTH, 97 ISP2100_CODE_ORG, 98 ISP2100_CODE_VERSION, | 83 0 84}; 85 86static struct ispmdvec mdvec_2100 = { 87 isp_pci_rd_reg, 88 isp_pci_wr_reg, 89 isp_pci_mbxdma, 90 isp_pci_dmasetup, 91 isp_pci_dmateardown, 92 NULL, 93 isp_pci_reset1, 94 isp_pci_dumpregs, 95 ISP2100_RISC_CODE, 96 ISP2100_CODE_LENGTH, 97 ISP2100_CODE_ORG, 98 ISP2100_CODE_VERSION, |
99 BIU_BURST_ENABLE, | 99 0, /* Irrelevant to the 2100 */ |
100 0 101}; 102 103#ifndef PCIM_CMD_INVEN 104#define PCIM_CMD_INVEN 0x10 105#endif 106#ifndef PCIM_CMD_BUSMASTEREN 107#define PCIM_CMD_BUSMASTEREN 0x0004 --- 819 unchanged lines hidden --- | 100 0 101}; 102 103#ifndef PCIM_CMD_INVEN 104#define PCIM_CMD_INVEN 0x10 105#endif 106#ifndef PCIM_CMD_BUSMASTEREN 107#define PCIM_CMD_BUSMASTEREN 0x0004 --- 819 unchanged lines hidden --- |