View | Details | Raw Unified | Return to bug 299090
Collapse All | Expand All

(-)b/stand/efi/loader/main.c (-1 / +8 lines)
Lines 974-979 check_acpi_spcr(void) Link Here
974
	spcr = acpi_find_table(ACPI_SIG_SPCR);
974
	spcr = acpi_find_table(ACPI_SIG_SPCR);
975
	if (spcr == NULL || spcr->SerialPort.Address == 0)
975
	if (spcr == NULL || spcr->SerialPort.Address == 0)
976
		return (0);
976
		return (0);
977
978
	/*
979
	 * We're called again whenever the console mode changes, after
980
	 * loader.conf has been read.  Don't replace the user's setting.
981
	 */
982
	if (getenv("hw.uart.console") != NULL)
983
		return (RB_SERIAL);
984
977
	dt = acpi_uart_type(spcr->InterfaceType);
985
	dt = acpi_uart_type(spcr->InterfaceType);
978
	if (dt == NULL)	{ 	/* Kernel can't use unknown types */
986
	if (dt == NULL)	{ 	/* Kernel can't use unknown types */
979
		printf("UART Type %d not known\n", spcr->InterfaceType);
987
		printf("UART Type %d not known\n", spcr->InterfaceType);
980
- 

Return to bug 299090