[lkml]   [2002]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 3 Serial issues up for discussion (was: Re: Serial core problems on embedded PPC)
On Monday 29 July 2002 12:09, Dan Malek wrote:
> or a mix of both. The problems to solve are drivers fighting over minor
> device numbers and assumptions about the system console.

Drivers need not fight about minor numbers. That can be simply handled:

int get_new_serial_minor()
static int minor;

return minor++;

Any serial driver can call this when it initializes a new uart.
Hot pluggable drivers have to hang on to their minors, and

Remco Treffkorn (RT445)
HAM DC2XT (831) 685-1201
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.146 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site