PERFORCE change 59352 for review

Scott Long scottl at FreeBSD.org
Tue Aug 10 16:04:19 PDT 2004


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

Change 59352 by scottl at scottl-wv1u on 2004/08/10 23:03:41

	Revert the driver interrupt prototype change.  That work is not going
	to happen in this branch, if at all.

Affected files ...

.. //depot/projects/newint/sys/sys/bus.h#3 edit

Differences ...

==== //depot/projects/newint/sys/sys/bus.h#3 (text+ko) ====

@@ -88,14 +88,7 @@
 typedef struct devclass		*devclass_t;
 #define device_method_t		kobj_method_t
 
-enum intr_rtn {
-	INTR_RTN_NONE = 0,	/* No action.  Default compat for now */
-	INTR_RTN_OWNER = 1,	/* Driver hardware generated the interrupt */
-	INTR_RTN_HANDLED = 2,	/* Driver acknowledged the interrupt */
-	INTR_RTN_ITHREAD = 4	/* Driver wants to run its ithread */
-};
-
-typedef int driver_intr_t(void*);
+typedef void driver_intr_t(void*);
 
 /*
  * Interrupt type bits.  These flags are used both by newbus interrupt


More information about the p4-projects mailing list