univ8250_console_match(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… univ8250_console_match(9) πŸ’…

okay so welcome to this little Kernel API Manual page, bestie β€” we're talking about univ8250_console_match, and it's giving non-standard console matching energy fr fr ✨


🌸 NAME 🌸

univ8250_console_match β€” non-standard console matching, no cap πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

int univ8250_console_match (struct console *co , char *name , int idx ,
       char *options );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • co β€” the registering console, periodt 🫢
  • name β€” name from console command line, yep that one πŸ’…
  • idx β€” index from console command line, iconic little number ⭐
  • options β€” ptr to option string from console command line, iykyk 🌈

✨ DESCRIPTION ✨

so this function only attempts to match console command lines of the form:

console=uart[8250],io|mmio|mmio16|mmio32,<addr>[,<options>]
console=uart[8250],0x<addr>[,<options>]

This form is used to register an initial earlycon boot console and replace it with the serial8250_console at 8250 driver init. like, that's the whole plot πŸ’€

It performs console setup for a match (as required by interface). If no <options> are specified, then assume the h/w is already setup. lowkey important 🧚

Returns 0 if console matches; otherwise non-zero to use default matching. that's the vibe check right there πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ


okay that's the whole page, bestie β€” source/version: ./drivers/tty/serial/8250, date: October 2026 πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from