Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/pc-lpt/pc-lpt.c

    rbb97118 rb9cc81c6  
    11/*
    2  * Copyright (c) 2018 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    196196}
    197197
     198/** Quiesce pc-lpt device */
     199void 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
    198207/** Write a single byte to the parallel port.
    199208 *
Note: See TracChangeset for help on using the changeset viewer.