Messages in this thread | | | Date | Thu, 16 Apr 1998 08:27:32 -0400 | Subject | Re: 2.1.95 patch for serial consoles | From | tytso@MIT ... |
| |
From: Keith Owens <kaos@ocs.com.au> Date: Sat, 11 Apr 1998 23:29:29 +1000
Also a paranoia patch to the serial console setup code, the hardware should have started with DLAB off but just in case ...
For your information, that patch isn't strictly necessary, since there's no problem initializing the IER and MCR registers even if DLAB is set. It's harmless, but there doesn't cause a problem. (It does add a few extra CPU cycles to the initialization, but most people don't care about that. :-)
In the set of patches that I'm going to be sending to Linus, I've taken out the extra paranoia line you added reordered the initialization of the IER and MCR registers so it's a bit more obvious that when you set and clear DLAB isn't a problem.
- Ted
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |