Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2012 05:46:56 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238787 - head/sys/arm/at91
Message-ID:  <201207260546.q6Q5ku95043253@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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