PERFORCE change 93223 for review

Marcel Moolenaar marcel at FreeBSD.org
Mon Mar 13 02:37:55 UTC 2006


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

Change 93223 by marcel at marcel_nfs on 2006/03/13 02:37:39

	The ihand() method returns serdev_intr_t instead of
	driver_intr_t.

Affected files ...

.. //depot/projects/uart/kern/serdev_if.m#2 edit

Differences ...

==== //depot/projects/uart/kern/serdev_if.m#2 (text+ko) ====

@@ -27,6 +27,7 @@
 #
 
 #include <sys/bus.h>
+#include <sys/serial.h>
 
 # The serdev interface is used by umbrella drivers and children thereof to
 # establish a more intimate relationship, necessary for efficient handling
@@ -42,7 +43,7 @@
 
 # Default implementations of some methods.
 CODE {
-	static driver_intr_t *
+	static serdev_intr_t *
 	default_ihand(device_t dev, int ipend)
 	{
 		return (NULL);
@@ -60,7 +61,7 @@
 # to interrupt handlers for each individual interrupt source. This allows
 # the umbralla driver to control the servicing of interrupts between the
 # different channels in the most flexible way.
-METHOD driver_intr_t* ihand {
+METHOD serdev_intr_t* ihand {
 	device_t dev;
 	int ipend;
 } DEFAULT default_ihand;


More information about the p4-projects mailing list