A possible intermediate solution would be a "generic" driver, with its
own major number, which is a run-time configurable thin wrapper around
"real" serial driver syscalls.
The implementation should be fairly simple... all syscalls to devices
with the "generic" major would get multiplexed (based upon their
minor) to the "real" major handler, possible with the minor number
offset or mapped in some other way. This could be applied in general
to any character device, or even block devices for that matter...
(another way of looking at the SCSI numbering problem?)
Of course, there's added overhead on every syscall using the "generic"
device. But that's a trade-off some might be willing to make... (so,
_how_ often do you change serial boards?)
Just an idea.
Adam
-- Things look so bad everywhere Adam D. Bradley artdodge@cs.bu.edu In this whole world what is fair Boston University Computer Science We walk blind and we try to see Ph.D. student and Linux hacker Falling behind in what could be ----> Bring me a Higher Love ----> <><