dc395x.c (f45727d52d1581e9ff4df9d1a12a60789ad2d1eb) dc395x.c (77933d7276ee8fa0e2947641941a6f7a100a327b)
1/*
2 * dc395x.c
3 *
4 * Device Driver for Tekram DC395(U/UW/F), DC315(U)
5 * PCI SCSI Bus Master Host Adapter
6 * (SCSI chip set used Tekram ASIC TRM-S1040)
7 *
8 * Authors:

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

739 if (srb->tag_number < 255) {
740 dcb->tag_mask &= ~(1 << srb->tag_number); /* free tag mask */
741 srb->tag_number = 255;
742 }
743}
744
745
746/* Find cmd in SRB list */
1/*
2 * dc395x.c
3 *
4 * Device Driver for Tekram DC395(U/UW/F), DC315(U)
5 * PCI SCSI Bus Master Host Adapter
6 * (SCSI chip set used Tekram ASIC TRM-S1040)
7 *
8 * Authors:

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

739 if (srb->tag_number < 255) {
740 dcb->tag_mask &= ~(1 << srb->tag_number); /* free tag mask */
741 srb->tag_number = 255;
742 }
743}
744
745
746/* Find cmd in SRB list */
747inline static struct ScsiReqBlk *find_cmd(struct scsi_cmnd *cmd,
747static inline struct ScsiReqBlk *find_cmd(struct scsi_cmnd *cmd,
748 struct list_head *head)
749{
750 struct ScsiReqBlk *i;
751 list_for_each_entry(i, head, list)
752 if (i->cmd == cmd)
753 return i;
754 return NULL;
755}

--- 4197 unchanged lines hidden ---
748 struct list_head *head)
749{
750 struct ScsiReqBlk *i;
751 list_for_each_entry(i, head, list)
752 if (i->cmd == cmd)
753 return i;
754 return NULL;
755}

--- 4197 unchanged lines hidden ---