[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <8bd0f97a0708031659o1e32722cq99b1c248367d6da6@mail.gmail.com>
Date: Fri, 3 Aug 2007 19:59:51 -0400
From: "Mike Frysinger" <vapier.adi@...il.com>
To: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: custom baud rates with serial core
is there a method for setting custom baud rates that doesnt cause a
"deprecated" message from showing up ? for example:
# setserial -a /dev/ttyBF0 divisor 9 spd_cust
setserial sets custom speed on ttyBF0. This is deprecated.
my reading of the serial core code is that the only way to specify a
baud rate that does not appear in the B* define list is by setting
your baud to B38400 and utilizing UPF_SPD_CUST. this ends up in the
deprecated warning code though in uart_set_info().
if it's deprecated in favor of something nicer, that's fine, but i
cant find out what that "nicer" thing is ...
-mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists