Deleted Added
full compact
isp_target.c (167403) isp_target.c (172568)
1/*-
2 * Copyright (c) 1997-2007 by Matthew Jacob
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

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

35 * Include header file appropriate for platform we're building on.
36 */
37
38#ifdef __NetBSD__
39#include <dev/ic/isp_netbsd.h>
40#endif
41#ifdef __FreeBSD__
42#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1997-2007 by Matthew Jacob
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

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

35 * Include header file appropriate for platform we're building on.
36 */
37
38#ifdef __NetBSD__
39#include <dev/ic/isp_netbsd.h>
40#endif
41#ifdef __FreeBSD__
42#include <sys/cdefs.h>
43__FBSDID("$FreeBSD: head/sys/dev/isp/isp_target.c 167403 2007-03-10 02:39:54Z mjacob $");
43__FBSDID("$FreeBSD: head/sys/dev/isp/isp_target.c 172568 2007-10-12 06:03:46Z kevlo $");
44#include <dev/isp/isp_freebsd.h>
45#endif
46#ifdef __OpenBSD__
47#include <dev/ic/isp_openbsd.h>
48#endif
49#ifdef __linux__
50#include "isp_linux.h"
51#endif

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

1327 }
1328 break;
1329
1330 case CT_BDR_MSG:
1331 /*
1332 * Bus Device Reset message received or the SCSI Bus has
1333 * been Reset; the firmware has gone to Bus Free.
1334 *
44#include <dev/isp/isp_freebsd.h>
45#endif
46#ifdef __OpenBSD__
47#include <dev/ic/isp_openbsd.h>
48#endif
49#ifdef __linux__
50#include "isp_linux.h"
51#endif

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

1327 }
1328 break;
1329
1330 case CT_BDR_MSG:
1331 /*
1332 * Bus Device Reset message received or the SCSI Bus has
1333 * been Reset; the firmware has gone to Bus Free.
1334 *
1335 * The firmware generates an async mailbox interupt to
1335 * The firmware generates an async mailbox interrupt to
1336 * notify us of this and returns outstanding CTIOs with this
1337 * status. These CTIOs are handled in that same way as
1338 * CT_ABORTED ones, so just fall through here.
1339 */
1340 fmsg = "Bus Device Reset";
1341 /*FALLTHROUGH*/
1342 case CT_RESET:
1343 if (fmsg == NULL)

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

1481 */
1482
1483 break;
1484
1485 case CT_BDR_MSG:
1486 /*
1487 * Target Reset function received.
1488 *
1336 * notify us of this and returns outstanding CTIOs with this
1337 * status. These CTIOs are handled in that same way as
1338 * CT_ABORTED ones, so just fall through here.
1339 */
1340 fmsg = "Bus Device Reset";
1341 /*FALLTHROUGH*/
1342 case CT_RESET:
1343 if (fmsg == NULL)

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

1481 */
1482
1483 break;
1484
1485 case CT_BDR_MSG:
1486 /*
1487 * Target Reset function received.
1488 *
1489 * The firmware generates an async mailbox interupt to
1489 * The firmware generates an async mailbox interrupt to
1490 * notify us of this and returns outstanding CTIOs with this
1491 * status. These CTIOs are handled in that same way as
1492 * CT_ABORTED ones, so just fall through here.
1493 */
1494 fmsg = "TARGET RESET";
1495 /*FALLTHROUGH*/
1496 case CT_RESET:
1497 if (fmsg == NULL)

--- 270 unchanged lines hidden ---
1490 * notify us of this and returns outstanding CTIOs with this
1491 * status. These CTIOs are handled in that same way as
1492 * CT_ABORTED ones, so just fall through here.
1493 */
1494 fmsg = "TARGET RESET";
1495 /*FALLTHROUGH*/
1496 case CT_RESET:
1497 if (fmsg == NULL)

--- 270 unchanged lines hidden ---