svn commit: r188127 - head/sys/dev/ae

Warner Losh imp at FreeBSD.org
Wed Feb 4 12:35:23 PST 2009


Author: imp
Date: Wed Feb  4 20:35:22 2009
New Revision: 188127
URL: http://svn.freebsd.org/changeset/base/188127

Log:
  detach doesn't return an unsinged int, but returns an int.

Modified:
  head/sys/dev/ae/if_ae.c

Modified: head/sys/dev/ae/if_ae.c
==============================================================================
--- head/sys/dev/ae/if_ae.c	Wed Feb  4 20:26:27 2009	(r188126)
+++ head/sys/dev/ae/if_ae.c	Wed Feb  4 20:35:22 2009	(r188127)
@@ -105,7 +105,7 @@ static void	ae_phy_init(ae_softc_t *sc);
 static int	ae_reset(ae_softc_t *sc);
 static void	ae_init(void *arg);
 static int	ae_init_locked(ae_softc_t *sc);
-static unsigned	int	ae_detach(device_t dev);
+static int	ae_detach(device_t dev);
 static int	ae_miibus_readreg(device_t dev, int phy, int reg);
 static int	ae_miibus_writereg(device_t dev, int phy, int reg, int val);
 static void	ae_miibus_statchg(device_t dev);
@@ -746,7 +746,7 @@ ae_init_locked(ae_softc_t *sc)
 	return (0);
 }
 
-static unsigned int
+static int
 ae_detach(device_t dev)
 {
 	struct ae_softc *sc;


More information about the svn-src-head mailing list