Author: jmallett
Date: Wed Jan 19 07:06:28 2011
New Revision: 217573
URL: http://svn.freebsd.org/changeset/base/217573

Log:
  Don't do a device_identify to add uart0, it's already hinted.
  
  Reported by:  imp

Modified:
  head/sys/mips/cavium/uart_bus_octeonusart.c

Modified: head/sys/mips/cavium/uart_bus_octeonusart.c
==============================================================================
--- head/sys/mips/cavium/uart_bus_octeonusart.c Wed Jan 19 05:13:40 2011        
(r217572)
+++ head/sys/mips/cavium/uart_bus_octeonusart.c Wed Jan 19 07:06:28 2011        
(r217573)
@@ -63,7 +63,6 @@ extern struct uart_class uart_oct16550_c
 
 
 static int uart_octeon_probe(device_t dev);
-static void octeon_uart_identify(driver_t * drv, device_t parent);
 
 extern struct uart_class octeon_uart_class;
 
@@ -72,7 +71,6 @@ static device_method_t uart_octeon_metho
        DEVMETHOD(device_probe, uart_octeon_probe),
        DEVMETHOD(device_attach, uart_bus_attach),
        DEVMETHOD(device_detach, uart_bus_detach),
-       DEVMETHOD(device_identify, octeon_uart_identify),
        {0, 0}
 };
 
@@ -113,10 +111,4 @@ uart_octeon_probe(device_t dev)
        return (uart_bus_probe(dev, sc->sc_bas.regshft, 0, 0, unit));
 }
 
-static void
-octeon_uart_identify(driver_t * drv, device_t parent)
-{
-       BUS_ADD_CHILD(parent, 0, "uart", 0);
-}
-
 DRIVER_MODULE(uart, obio, uart_octeon_driver, uart_devclass, 0, 0);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to