Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/uart/uart_cpu_arm64.c
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | uart_cpu_acpi_probe(struct uart_class **classp, bus_space_tag_t *bst, | ||||
default: | default: | ||||
goto out; | goto out; | ||||
} | } | ||||
err = acpi_map_addr(&spcr->SerialPort, bst, bsh, PAGE_SIZE); | err = acpi_map_addr(&spcr->SerialPort, bst, bsh, PAGE_SIZE); | ||||
if (err != 0) | if (err != 0) | ||||
goto out; | goto out; | ||||
*classp = cd->clas; | *classp = cd->class; | ||||
andrew: This is missing the `cd_` | |||||
*rclk = 0; | *rclk = 0; | ||||
*shiftp = 2; | *shiftp = 2; | ||||
*iowidthp = spcr->SerialPort.BitWidth / 8; | *iowidthp = spcr->SerialPort.BitWidth / 8; | ||||
out: | out: | ||||
acpi_unmap_table(spcr); | acpi_unmap_table(spcr); | ||||
return (err); | return (err); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |
This is missing the cd_