Changeset b9cc81c6 in mainline for uspace/drv/char/pc-lpt/pc-lpt.c
- Timestamp:
- 2025-03-06T17:35:07Z (3 days ago)
- Branches:
- master
- Children:
- 797ab95
- Parents:
- 870841cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/pc-lpt/pc-lpt.c
r870841cf rb9cc81c6 1 1 /* 2 * Copyright (c) 20 18Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 196 196 } 197 197 198 /** Quiesce pc-lpt device */ 199 void pc_lpt_quiesce(pc_lpt_t *lpt) 200 { 201 uint8_t control; 202 203 control = 0; /* nINIT=0, IRQ_ENABLE=0 */ 204 pio_write_8(&lpt->regs->control, control); 205 } 206 198 207 /** Write a single byte to the parallel port. 199 208 *
Note:
See TracChangeset
for help on using the changeset viewer.