[uart] Allow for dynamically registered 16550 UARTs

Use the generic UART driver-private data pointer, rather than
embedding the generic UART within the 16550 UART structure.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-06-21 23:11:56 +01:00
parent 71b4bfb6b2
commit cca1cfd49e
5 changed files with 21 additions and 29 deletions

View File

@@ -78,8 +78,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/** A 16550-compatible UART */
struct ns16550_uart {
/** Generic UART */
struct uart uart;
/** Register base address */
void *base;
/** Register shift */