mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
Support --base-clock for serial command to handle weird cards with
non-standard base clock.
This commit is contained in:
1 parent
eb03ede014
commit
89295a0628
4 files changed
+64
-48
No files matched your search
@@ -67,6 +67,7 @@ struct grub_serial_config
|
||||
int word_len;
|
||||
grub_serial_parity_t parity;
|
||||
grub_serial_stop_bits_t stop_bits;
|
||||
grub_uint64_t base_clock;
|
||||
};
|
||||
|
||||
struct grub_serial_port
|
||||
@@ -163,7 +164,8 @@ grub_serial_config_defaults (struct grub_serial_port *port)
|
||||
#endif
|
||||
.word_len = 8,
|
||||
.parity = GRUB_SERIAL_PARITY_NONE,
|
||||
.stop_bits = GRUB_SERIAL_STOP_BITS_1
|
||||
.stop_bits = GRUB_SERIAL_STOP_BITS_1,
|
||||
.base_clock = 0
|
||||
};
|
||||
|
||||
return port->driver->configure (port, &config);
|
||||
|
||||
Reference in new issue
Block a user