Changeset ff65e91 in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2011-07-06T19:45:55Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
38c9505
Parents:
5e2aa83
Message:

Implement block device interface in USB mass storage driver.
Allow DDF driver to provide its own connection handler for a function.
Fix bug in ata_bd, comm_size is per-connection, not global.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r5e2aa83 rff65e91  
    314314                    " %" PRIun " was found.\n", driver->name, handle);
    315315                async_answer_0(iid, ENOENT);
     316                return;
     317        }
     318       
     319        if (fun->conn_handler != NULL) {
     320                /* Driver has a custom connection handler. */
     321                (*fun->conn_handler)(iid, icall, (void *)fun);
    316322                return;
    317323        }
Note: See TracChangeset for help on using the changeset viewer.