Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2014 21:41:16 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274452 - head/sys/dev/uart
Message-ID:  <201411122141.sACLfGED012436@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zbb
Date: Wed Nov 12 21:41:15 2014
New Revision: 274452
URL: https://svnweb.freebsd.org/changeset/base/274452

Log:
  Make uart_bus_fdt a decendant of ofwbus
  
  This will allow to attach UART drivers lying directly on the root node
  instead of simple-bus compatible bus only.
  
  Obtained from:   Semihalf
  Sponsored by:    The FreeBSD Foundation

Modified:
  head/sys/dev/uart/uart_bus_fdt.c

Modified: head/sys/dev/uart/uart_bus_fdt.c
==============================================================================
--- head/sys/dev/uart/uart_bus_fdt.c	Wed Nov 12 21:38:31 2014	(r274451)
+++ head/sys/dev/uart/uart_bus_fdt.c	Wed Nov 12 21:41:15 2014	(r274452)
@@ -157,3 +157,4 @@ uart_fdt_probe(device_t dev)
 }
 
 DRIVER_MODULE(uart, simplebus, uart_fdt_driver, uart_devclass, 0, 0);
+DRIVER_MODULE(uart, ofwbus, uart_fdt_driver, uart_devclass, 0, 0);



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