diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-08 12:37:51 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-08 12:37:51 +0000 |
commit | a2c037106ba2761b49aaf0f97c01164c618143e7 (patch) | |
tree | ae0e3cfbf043f1198ac60ee95c45533bd9f2af34 /gcc/ada/g-sercom.ads | |
parent | 55947387f5f345bdcd46338fb969549bf46d9f22 (diff) | |
download | gcc-a2c037106ba2761b49aaf0f97c01164c618143e7.tar.gz |
2008-08-08 Thomas Quinot <quinot@adacore.com>
* g-sercom.ads:
(Name): Document application scope (only legacy PC serial ports on
Linux and Windows).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138873 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-sercom.ads')
-rw-r--r-- | gcc/ada/g-sercom.ads | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/g-sercom.ads b/gcc/ada/g-sercom.ads index e425d9d5550..8b4c5590684 100644 --- a/gcc/ada/g-sercom.ads +++ b/gcc/ada/g-sercom.ads @@ -45,7 +45,11 @@ package GNAT.Serial_Communications is -- A serial com port name function Name (Number : Positive) return Port_Name; - -- Returns the port name for the given port number + -- Returns a possible port name for the given legacy PC architecture serial + -- port number (COM<number>: on Windows, ttyS<number-1> on Linux). + -- Note that this function does not support other kinds of serial ports + -- nor operating systems other than Windows and Linux. For all other + -- cases, an explicit port name can be passed directly to Open. type Data_Rate is (B1200, B2400, B4800, B9600, B19200, B38400, B57600, B115200); |