I'll leave this hack to you.. The serial code confuses me too much, but the basic idea is to have a [hijack]serial_rate=38400 parameter in config.ini for this. Just declare a variable "hijack_serial_rate" in hijack.c for it, initialize to 0, and add an entry to hijack_option_table[].

No other changes in hijack.c

Then, look at drivers/char/serial_sa1100.c --> there is a routine called "change_speed", which is where you should add code to replace whatever rate is specified with your own "hijack_serial_rate", but only if it is non-zero.

This should work, but if not, the reason would be that we are reading config.ini just a little bit too late in the init sequence -- not sure about that yet.

Cheers

-ml