Question:
Can the serial port set up in a driver be edited at run time?
Solution:
Yes. To do so, you must edite the IO.Serial.Port tag.
To force the IOKit to use these new settings, you must set the driver to OFFLINE mode (IO.WorkOnline = 0), and then set it back to ONLINE mode (IO.WorkOnline = 1).
These tags can be inserted in the application via TagBrowser.