isp_pci.c (65b024e1bf428221758f23a003a0dd61f60a5258) | isp_pci.c (003a310f5fc7d7da6e49993c4cca3fcc26db79f6) |
---|---|
1/* $FreeBSD$ */ 2/* 3 * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. 4 * FreeBSD Version. 5 * 6 *--------------------------------------- 7 * Copyright (c) 1997, 1998, 1999 by Matthew Jacob 8 * NASA/Ames Research Center --- 1634 unchanged lines hidden (view full) --- 1643 isp->isp_name); 1644 mp->error = EINVAL; 1645 } else { 1646 /* Just use the segments provided */ 1647 segs = (struct bus_dma_segment *) csio->data_ptr; 1648 (*eptr)(mp, segs, csio->sglist_cnt, 0); 1649 } 1650 } | 1/* $FreeBSD$ */ 2/* 3 * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. 4 * FreeBSD Version. 5 * 6 *--------------------------------------- 7 * Copyright (c) 1997, 1998, 1999 by Matthew Jacob 8 * NASA/Ames Research Center --- 1634 unchanged lines hidden (view full) --- 1643 isp->isp_name); 1644 mp->error = EINVAL; 1645 } else { 1646 /* Just use the segments provided */ 1647 segs = (struct bus_dma_segment *) csio->data_ptr; 1648 (*eptr)(mp, segs, csio->sglist_cnt, 0); 1649 } 1650 } |
1651#ifdef ISP_TARGET_MODE |
|
1651exit: | 1652exit: |
1653#endif |
|
1652 if (mp->error) { 1653 int retval = CMD_COMPLETE; 1654 if (mp->error == MUSHERR_NOQENTRIES) { 1655 retval = CMD_EAGAIN; 1656 } else if (mp->error == EFBIG) { 1657 XS_SETERR(csio, CAM_REQ_TOO_BIG); 1658 } else if (mp->error == EINVAL) { 1659 XS_SETERR(csio, CAM_REQ_INVALID); --- 49 unchanged lines hidden --- | 1654 if (mp->error) { 1655 int retval = CMD_COMPLETE; 1656 if (mp->error == MUSHERR_NOQENTRIES) { 1657 retval = CMD_EAGAIN; 1658 } else if (mp->error == EFBIG) { 1659 XS_SETERR(csio, CAM_REQ_TOO_BIG); 1660 } else if (mp->error == EINVAL) { 1661 XS_SETERR(csio, CAM_REQ_INVALID); --- 49 unchanged lines hidden --- |