Changeset 07039850 in mainline for uspace/drv/block/pci-ide/pci-ide.c


Ignore:
Timestamp:
2025-03-05T21:41:03Z (16 hours ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Parents:
a64970e1
Message:

Implement quiesce in ISA and PCI IDE and in PC Floppy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/pci-ide/pci-ide.c

    ra64970e1 r07039850  
    331331}
    332332
     333/** Quiesce PCI IDE channel. */
     334void pci_ide_channel_quiesce(pci_ide_channel_t *chan)
     335{
     336        ddf_msg(LVL_DEBUG, ": pci_ide_channel_quiesce()");
     337
     338        fibril_mutex_lock(&chan->lock);
     339        ata_channel_quiesce(chan->channel);
     340        fibril_mutex_unlock(&chan->lock);
     341}
     342
    333343/** Enable device I/O. */
    334344static errno_t pci_ide_init_io(pci_ide_channel_t *chan)
Note: See TracChangeset for help on using the changeset viewer.