|
Message
From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
Date: Fri Apr 22 16:44:10 CEST 2005
Subject: [openrisc] [or1ksim #76] Wording fix
Hi,The phrase `UART has problems with channel' can be taken to mean that the channel failed to be opened (or something else that's wrong with the users config), but it can also be interprited (as I origionally did) that with this specific channel configuration the uart inherently has problems ie. There are known bugs that make this config not always work. From the code it's obvious that the first interpretation is correct.
ChangeLog: * Change the wording of error messages to more acuretly reflect the error they are talking about.
nog. -------------- next part -------------- diff -uPr --unidirectional-new-file ./peripheral/16450.c /home/nog/or1ksim-ac/peripheral/16450.c --- ./peripheral/16450.c 2005-03-31 16:34:02.000000000 +0200 +++ /home/nog/or1ksim-ac/peripheral/16450.c 2005-03-29 16:57:11.000000000 +0200 @@ -587,11 +587,12 @@ else uart->channel = channel_init(uart->channel_str); if(channel_open(uart->channel) < 0) { - WARN ("WARNING: UART has problems with channel \"%s\".\n", uart->channel_str); + WARN ("WARNING: problem with channel \"%s\" detected.\n", uart->channel_str); } else if (config.sim.verbose) PRINTF("UART at 0x%"PRIxADDR" uses ", uart->baseaddr); } else { - WARN ("WARNING: UART at %"PRIxADDR" has no vapi nor channel specified\n", uart->baseaddr); + WARN ("WARNING: UART at %"PRIxADDR" has no vapi nor channel specified\n", + uart->baseaddr); } if (uart->uart16550)
|
 |