Displaying 1 result from an estimated 1 matches for "serhnd_com2".
Did you mean:
serhnd_com1
2012 May 24
0
[PATCH RFC 2/9] console: prepare for non-COMn port support
...p;port->tx_lock, flags);
}
@@ -261,10 +271,10 @@ int __init serial_parse_handle(char *con
switch ( conf[3] )
{
case ''1'':
- handle = 0;
+ handle = SERHND_COM1;
break;
case ''2'':
- handle = 1;
+ handle = SERHND_COM2;
break;
default:
goto fail;
@@ -365,6 +375,8 @@ void serial_start_sync(int handle)
port->driver->putc(
port, port->txbuf[mask_serial_txbuf_idx(port->txbufc++)]);
}
+ if ( port->driver->flush )
+ port-&...