svn commit: r238787 - head/sys/arm/at91
Warner Losh
imp at FreeBSD.org
Thu Jul 26 05:46:57 UTC 2012
Author: imp
Date: Thu Jul 26 05:46:56 2012
New Revision: 238787
URL: http://svn.freebsd.org/changeset/base/238787
Log:
Some models have 6 USARTS + DBGU. Set a consistent name.
Modified:
head/sys/arm/at91/uart_bus_at91usart.c
Modified: head/sys/arm/at91/uart_bus_at91usart.c
==============================================================================
--- head/sys/arm/at91/uart_bus_at91usart.c Thu Jul 26 05:37:36 2012 (r238786)
+++ head/sys/arm/at91/uart_bus_at91usart.c Thu Jul 26 05:46:56 2012 (r238787)
@@ -95,6 +95,12 @@ usart_at91_probe(device_t dev)
case 4:
device_set_desc(dev, "USART3");
break;
+ case 5:
+ device_set_desc(dev, "USART4");
+ break;
+ case 6:
+ device_set_desc(dev, "USART5");
+ break;
}
sc->sc_class = &at91_usart_class;
if (sc->sc_class->uc_rclk == 0)
More information about the svn-src-head
mailing list