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) _______________________________________________ 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"