mirror of
https://github.com/ipxe/ipxe
synced 2026-02-04 23:19:30 +03:00
[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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user