Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/uart/uart_cpu_acpi.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* If your UART driver implements uart_class and custom device layer, | * If your UART driver implements uart_class and custom device layer, | ||||
* then use UART_ACPI_CLASS for its declaration | * then use UART_ACPI_CLASS for its declaration | ||||
*/ | */ | ||||
SET_DECLARE(uart_acpi_class_set, struct acpi_uart_compat_data); | SET_DECLARE(uart_acpi_class_set, struct acpi_uart_compat_data); | ||||
#define UART_ACPI_CLASS(data) \ | #define UART_ACPI_CLASS(data) \ | ||||
DATA_SET(uart_acpi_class_set, data) | DATA_SET(uart_acpi_class_set, data) | ||||
/* Try to initialize UART device from SPCR data. */ | |||||
int uart_cpu_acpi_spcr(int devtype, struct uart_devinfo *di); | |||||
#endif /* _DEV_UART_CPU_ACPI_H_ */ | #endif /* _DEV_UART_CPU_ACPI_H_ */ |