PERFORCE change 120729 for review

Paolo Pisati piso at FreeBSD.org
Fri Jun 1 21:43:09 UTC 2007


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

Change 120729 by piso at piso_newluxor on 2007/06/01 21:42:31

	-reduce diff against HEAD
	-p_ih n puc_port seems useless: axe it

Affected files ...

.. //depot/projects/soc2006/intr_filter/dev/puc/puc.c#15 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/dev/puc/puc.c#15 (text+ko) ====

@@ -59,7 +59,6 @@
 
 	int		p_hasintr:1;
 
-	driver_filter_t	*p_ih;
 	serdev_intr_t	*p_ihsrc[PUC_ISRCCNT];
 	void		*p_iharg;
 
@@ -585,8 +584,7 @@
 
 int
 puc_bus_setup_intr(device_t dev, device_t child, struct resource *res,
-    int flags, driver_filter_t *filt, void (*ihand)(void *), void *arg, 
-    void **cookiep)
+    int flags, driver_filter_t *filt, void (*ihand)(void *), void *arg, void **cookiep)
 {
 	struct puc_port *port;
 	struct puc_softc *sc;
@@ -635,7 +633,6 @@
 	sc->sc_serdevs |= 1UL << (port->p_nr - 1);
 
 	port->p_hasintr = 1;
-	port->p_ih = filt;
 	port->p_iharg = arg;
 
 	*cookiep = port;
@@ -676,7 +673,6 @@
 		return (EINVAL);
 
 	port->p_hasintr = 0;
-	port->p_ih = NULL;
 	port->p_iharg = NULL;
 
 	for (i = 0; i < PUC_ISRCCNT; i++)


More information about the p4-projects mailing list