Ignore:
Timestamp:
2024-05-17T12:25:26Z (7 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
60744cb
Parents:
59c0f478
git-author:
Jiri Svoboda <jiri@…> (2024-05-16 19:25:07)
git-committer:
Jiri Svoboda <jiri@…> (2024-05-17 12:25:26)
Message:

Handle both IDE channels in the same driver instance

We need to work around libdrv not allowing us to distinguish
between two interrupts registered with the same device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/ddf/interrupt.h

    r59c0f478 r646849b3  
    11/*
     2 * Copyright (c) 2024 Jiri Svoboda
    23 * Copyright (c) 2010 Lenka Trochtova
    34 * All rights reserved.
     
    5253extern errno_t register_interrupt_handler(ddf_dev_t *, int, interrupt_handler_t *,
    5354    const irq_code_t *, cap_irq_handle_t *);
     55extern errno_t register_interrupt_handler_arg(ddf_dev_t *, int,
     56    interrupt_handler_t *, void *, const irq_code_t *, cap_irq_handle_t *);
    5457extern errno_t unregister_interrupt_handler(ddf_dev_t *, cap_irq_handle_t);
    5558
Note: See TracChangeset for help on using the changeset viewer.