Re: High speed serial ports

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Wed, 12 May 1999 13:04:58 +0200


Hi!

> 3) Is the probing instructions timing sensitive? i.e., can we do all
> of this in a user-mode program, and if it succeeds in enabling the
> high-speed port, just simply use the standard ioctl to set the
> baud_base, and thus not requiring any serial driver changes at all.
> This has the advantage of not loading down kernel memory with one-time
> initialization code. It also means that all of these tables can be
> more easily updated, and kept separate from the kernel, which would be a
> good thing. It also satisfies a concern I have about what to do when
> the next motherboard/chipset manufacture comes along, needing to do the
> same thing but in a subtlely incompatible manner.... basically, this is
> a scaling issue.

You mean putting this kind of detection into setserial instead of
kernel? Well, that might work... We'll still need to create new
serial-chip type "hispeed" (because bank selection has to be done in
other way or chip failsback into compatibility mode). I just thought
that doing detection automatically on boot is nicer...

Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/