sym_hipd.c (163896) | sym_hipd.c (166165) |
---|---|
1/*- 2 * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010 3 * PCI-SCSI controllers. 4 * 5 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 6 * 7 * This driver also supports the following Symbios/LSI PCI-SCSI chips: 8 * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895, --- 42 unchanged lines hidden (view full) --- 51 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 52 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 53 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 54 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 55 * SUCH DAMAGE. 56 */ 57 58#include <sys/cdefs.h> | 1/*- 2 * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010 3 * PCI-SCSI controllers. 4 * 5 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 6 * 7 * This driver also supports the following Symbios/LSI PCI-SCSI chips: 8 * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895, --- 42 unchanged lines hidden (view full) --- 51 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 52 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 53 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 54 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 55 * SUCH DAMAGE. 56 */ 57 58#include <sys/cdefs.h> |
59__FBSDID("$FreeBSD: head/sys/dev/sym/sym_hipd.c 163896 2006-11-02 00:54:38Z mjacob $"); | 59__FBSDID("$FreeBSD: head/sys/dev/sym/sym_hipd.c 166165 2007-01-21 19:32:51Z marius $"); |
60 61#define SYM_DRIVER_NAME "sym-1.6.5-20000902" 62 63/* #define SYM_DEBUG_GENERIC_SUPPORT */ 64 65#include <sys/param.h> 66 67/* --- 8418 unchanged lines hidden (view full) --- 8486 u_short command; 8487 u_char cachelnsz; 8488 struct sym_hcb *np = 0; 8489 struct sym_nvram nvram; 8490 struct sym_fw *fw = 0; 8491 int i; 8492 bus_dma_tag_t bus_dmat; 8493 | 60 61#define SYM_DRIVER_NAME "sym-1.6.5-20000902" 62 63/* #define SYM_DEBUG_GENERIC_SUPPORT */ 64 65#include <sys/param.h> 66 67/* --- 8418 unchanged lines hidden (view full) --- 8486 u_short command; 8487 u_char cachelnsz; 8488 struct sym_hcb *np = 0; 8489 struct sym_nvram nvram; 8490 struct sym_fw *fw = 0; 8491 int i; 8492 bus_dma_tag_t bus_dmat; 8493 |
8494 /* 8495 * I expected to be told about a parent 8496 * DMA tag, but didn't find any. 8497 */ 8498 bus_dmat = NULL; | 8494 bus_dmat = bus_get_dma_tag(dev); |
8499 8500 /* 8501 * Only probed devices should be attached. 8502 * We just enjoy being paranoid. :) 8503 */ 8504 chip = sym_find_pci_chip(dev); 8505 if (chip == NULL || (fw = sym_find_firmware(chip)) == NULL) 8506 return (ENXIO); --- 1208 unchanged lines hidden --- | 8495 8496 /* 8497 * Only probed devices should be attached. 8498 * We just enjoy being paranoid. :) 8499 */ 8500 chip = sym_find_pci_chip(dev); 8501 if (chip == NULL || (fw = sym_find_firmware(chip)) == NULL) 8502 return (ENXIO); --- 1208 unchanged lines hidden --- |