PERFORCE change 100687 for review

Scott Long scottl at FreeBSD.org
Thu Jul 6 04:04:51 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100687

Change 100687 by scottl at scottl-wv1u on 2006/07/06 04:04:48

	Drop the lock sooner in ahd_attach so that it doesn't interfere
	with the eventhandler API.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/dev/aic7xxx/aic79xx_osm.c#10 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/dev/aic7xxx/aic79xx_osm.c#10 (text+ko) ====

@@ -179,6 +179,7 @@
 fail:
 	ahd->platform_data->sim = sim;
 	ahd->platform_data->path = path;
+	ahd_unlock(ahd, &s);
 	if (count != 0) {
 		/* We have to wait until after any system dumps... */
 		ahd->platform_data->eh =
@@ -187,7 +188,6 @@
 		ahd_intr_enable(ahd, TRUE);
 	}
 
-	ahd_unlock(ahd, &s);
 
 	return (count);
 }


More information about the p4-projects mailing list