Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 02:37:54 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 93223 for review
Message-ID:  <200603130237.k2D2bsm3068097@repoman.freebsd.org>

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

Change 93223 by marcel@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;



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