svn commit: r223475 - head/sys/cam/ata

Alexander Motin mav at FreeBSD.org
Thu Jun 23 15:10:45 UTC 2011


Author: mav
Date: Thu Jun 23 15:10:44 2011
New Revision: 223475
URL: http://svn.freebsd.org/changeset/base/223475

Log:
  Fix ATAPI breakage introduced by r223443. It made SCSI commands to ATAPI
  device to never complete, that caused probe process (system boot) stuck.

Modified:
  head/sys/cam/ata/ata_xpt.c

Modified: head/sys/cam/ata/ata_xpt.c
==============================================================================
--- head/sys/cam/ata/ata_xpt.c	Thu Jun 23 12:11:43 2011	(r223474)
+++ head/sys/cam/ata/ata_xpt.c	Thu Jun 23 15:10:44 2011	(r223475)
@@ -1678,7 +1678,8 @@ ata_action(union ccb *start_ccb)
 			xpt_done(start_ccb);
 			break;
 		}
-		/* FALLTHROUGH */
+		xpt_action_default(start_ccb);
+		break;
 	}
 	case XPT_DEV_ADVINFO:
 	{


More information about the svn-src-head mailing list