Deleted Added
full compact
isp_freebsd.c (71094) isp_freebsd.c (72200)
1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.c 71094 2001-01-16 07:15:36Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.c 72200 2001-02-09 06:11:45Z bmilekic $ */
2/*
3 * Platform (FreeBSD) dependent common attachment code for Qlogic adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999, 2000 by Matthew Jacob
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

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

1987 untimeout(isp_watchdog, (caddr_t)sccb, sccb->ccb_h.timeout_ch);
1988 if (XS_CMD_GRACE_P(sccb)) {
1989 isp_prt(isp, ISP_LOGDEBUG2,
1990 "finished command on borrowed time");
1991 }
1992 XS_CMD_S_CLEAR(sccb);
1993 ISP_UNLOCK(isp);
1994#ifdef ISP_SMPLOCK
2/*
3 * Platform (FreeBSD) dependent common attachment code for Qlogic adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999, 2000 by Matthew Jacob
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

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

1987 untimeout(isp_watchdog, (caddr_t)sccb, sccb->ccb_h.timeout_ch);
1988 if (XS_CMD_GRACE_P(sccb)) {
1989 isp_prt(isp, ISP_LOGDEBUG2,
1990 "finished command on borrowed time");
1991 }
1992 XS_CMD_S_CLEAR(sccb);
1993 ISP_UNLOCK(isp);
1994#ifdef ISP_SMPLOCK
1995 mtx_enter(&Giant, MTX_DEF);
1995 mtx_lock(&Giant);
1996 xpt_done((union ccb *) sccb);
1996 xpt_done((union ccb *) sccb);
1997 mtx_exit(&Giant, MTX_DEF);
1997 mtx_unlock(&Giant);
1998#else
1999 xpt_done((union ccb *) sccb);
2000#endif
2001 ISP_LOCK(isp);
2002 }
2003}
2004
2005int

--- 308 unchanged lines hidden ---
1998#else
1999 xpt_done((union ccb *) sccb);
2000#endif
2001 ISP_LOCK(isp);
2002 }
2003}
2004
2005int

--- 308 unchanged lines hidden ---