Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 23:04:17 GMT
From:      Scott Long <scottl@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 59352 for review
Message-ID:  <200408102304.i7AN4Hg6038133@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=59352

Change 59352 by scottl@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408102304.i7AN4Hg6038133>