* grub-core/term/ns8250.c (do_real_config): Set port->broken to 0.

(serial_hw_put): Wait based on real time rather than port reads. Don't
	roken ports.
	* include/grub/serial.h (grub_serial_port): New field broken.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-10-16 17:29:12 +02:00
parent 5f8b440b6b
commit 24977b4451
3 changed files with 31 additions and 5 deletions

View file

@ -72,7 +72,11 @@ struct grub_serial_port
*/
union
{
grub_port_t port;
struct
{
grub_port_t port;
int broken;
};
struct
{
grub_usb_device_t usbdev;