source: mainline/uspace/lib/drv/generic/driver.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @b8ab299   7 years Hlavaty.Ondrej libdrv: when the device is freed, it must be also removed from the list lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @133ff9d   7 years Hlavaty.Ondrej libdrv: fix leaking ddf_dev_t reference Even though the permanent … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b7fd2a0   7 years zarevucky.jiri Use errno_t in all uspace and kernel code. Change type of every … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cde999a   7 years zarevucky.jiri Fix comments to stop referring to error codes as negative. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @25a179e   7 years zarevucky.jiri IPC return values are always errno constants. Adjust types to reflect … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @81685dd9   7 years jiri Add devctl unload-drv subcommand to manually unload a driver that is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2fd26bb   7 years jiri Make it simpler to get parent function session repeatedly without … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7b616e2   7 years jiri Name service should communicate using async.h. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @58563585   8 years martin code review and cstyle cleanup (no change in functionality) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b4b534ac   8 years jakub Merge from lp:~jan.vesely/helenos/usb lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b454a22   8 years jakub libdrv: Do proper reference counting on fun in driver_connection_gen() … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1558d85   9 years jakub Remove duplicate includes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @669e9b5   9 years jakub Do not leak device name in delete_device(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @479cc46   9 years jakub Avoid using dev if create_device() fails. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @562a48b   9 years jakub Fix a memory leak in error path in driver_dev_add(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8a637a4   9 years martin remove EEXISTS in favor of EEXIST lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f9b2cb4c   9 years martin unify interface API * introduce new interfaces * unify location … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b688fd8   9 years martin gradually introduce async ports, initial phase The initial phase is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8e7c9fe   10 years jano.vesely merge mainline changes most usb changes were reverted. blink and … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8820544   10 years martin support for kernel notification multiplexing in the async framework * … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a861ccb3   10 years jiri Remove DDF_DATA_IMPLANT feature now that all drivers have been … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @19b3cc6   11 years jano.vesely Merge libdrv-cleanup branch (includes mainline changes) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @facc34d   11 years jano.vesely make pointer to iface array const. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1b973dc   11 years jano.vesely merge libdrv cleanup lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0c322fa   11 years jano.vesely libdrv: Use const pointer to driver structure. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d0ca4c5   11 years jano.vesely libdrv: Make iface pointers const lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3f03199   11 years jano.vesely Merge mainline changes. Major conflicts in USB HC … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @feeac0d   11 years jiri Simplify use of list_foreach. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9e79a2f   12 years jano.vesely libdrv: Check ddf_def pointer before accessing it. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3e6a98c5   12 years jiri Standards-compliant boolean type. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @56fd7cf   12 years jiri Make ddf_dev_t and ddf_fun_t opaque. This further tighthens the DDF … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @77ad86c   13 years martin cstyle (no change in functionality) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bf31e3f   13 years jiri Fix function definitions with extern specifier. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dc9a3ba   13 years jiri Move interrupt handling to a separate source module. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @77a69ea   13 years jiri Allow multiple tasks to register for loc category change events. Open … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f302586   13 years martin make sure the client_connection is explicitly set at most once it is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f044e96   13 years martin use systematic names * register_irq → irq_register * … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0c0f823b   13 years jiri Rename DDF entry point add_device to dev_add. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8a363ab3   13 years jano.vesely Fix: ddf_fun_add_match_id use the provided match score. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @609243f4   13 years martin cherrypick general networking improvements from … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @818fffe   13 years martin cstyle lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @80a96d2   13 years jiri DDF support for surprise removal. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f278930   13 years jiri ISA bridge remove support. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @224c0e7   13 years jiri Supress debugging messages. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5f6e25e   13 years jiri Leave it up to DDF to free driver-specific data. This makes it … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c5be39b   13 years jiri Add interface for allocating driver-specific device and function data. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bfe7867   13 years jiri Make sure ddf_dev_t structure exists as long as any associated … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4d94002d   13 years jiri Grammar nit. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0f0f8bc   13 years jiri Use reference counting to synchronize freeing of ddf_fun_t and … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1a5b252   13 years jiri DDF support for function offlining and onlining. This allows … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @45059d6b   13 years jiri Set connection handler for callback session from devman to driver … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d0dd7b5   13 years jiri Work on device removal: - properly track service memberships in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1dc4a5e   13 years jiri Renaming to reflect classes are gone. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ef9460b   13 years jiri ddf_fun_add_match_id() should copy its string argument. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ff65e91   13 years jiri Implement block device interface in USB mass storage driver. Allow DDF … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b72efe8   14 years jiri Separate list_t typedef from link_t (user-space part). * list_t … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9934f7d   14 years jiri Add extra argument to async connection handlers that can be used for … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @79a141a   14 years martin fix wrong control flow lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @79ae36dd   14 years martin new async framework with integrated exchange tracking * strict … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0d59d0e9   14 years vojtechhorky Fix printf directives lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a9cdca0   14 years lubos.slovak Saving byte size of report to usb_hid_dev_t + removed printf from driver.c lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4e78236   14 years lubos.slovak Fixed mkbd and corresponding library functions. - Fixed linking … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e7079cf   14 years lubos.slovak Some debugging output. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @26fa82bc   14 years jiri Let drivers return task value as soon as they start, returning control … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3ad7b1c   14 years jiri Make devman robust against somebody manually starting a driver. Allow … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @033cbf82   14 years jiri Handle failure to register with device manager. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @28a3e74   14 years jiri Fix comment style. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fc51296   14 years jiri Add logging for device drivers. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2a770a35   14 years jiri Nits. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @af6b5157   14 years jiri Split driver.h into ddf/driver.h and ddf/interrupt.h. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @83a2f43   14 years jiri Rename bunch of stuff so that it starts with 'ddf_'. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @34588a80   14 years jiri Check for function type and bind state when adding match ID or adding … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @659ca07   14 years jiri Remove register_function_wrapper() (this time for real). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cd0684d   14 years jiri Remove register_function_wrapper() since it became practically … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @97a62fe   14 years jiri Refactor create_function(), delete_function() and register_function() … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7df0477e   14 years jiri Drivers never create or destroy devices explicitly. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8b1e15ac   14 years jiri Finish splitting device node: devman client in C library, drv library. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ffa2c8ef   14 years martin do not intermix low-level IPC methods with async framework methods lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5fdd7c3   14 years jiri Say no to static functions. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @36f2b3e   14 years jiri Cstyle cleanup. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d35ac1d   14 years jiri Rename iface to ops in driver.c lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @228e490   14 years martin initial modifications for supporting declarative IPC interfaces lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @96b02eb9   14 years martin more unification of basic types - use sysarg_t and native_t (unsigned … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4006447   14 years jakub Merge from lp:~vojtech-horky/helenos/ddf-fixes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ab3a851   14 years vojtechhorky Merge mainline changes Local changes: fixed printf related warnings lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0ca16307   14 years vojtechhorky Add wrapper for adding child device with single match id The … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0d6915f   14 years vojtechhorky device_t has parent set when in the same driver lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7e752b2   14 years martin * correct printf() formatting strings and corresponding arguments * … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cb819f9   14 years jakub When using async framework, we already know the call is not a … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0b5a4131   14 years jakub Rename device_handle_t to devman_handle_t and make it explicitly clear … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7a252ec8   14 years jakub Cstyle fixes in libdrv. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a6e54c5d   14 years trochtova.lenka fix a little bug lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5159ae9   15 years trochtova.lenka Rename 'device_class' structure to a more appropriate 'device_ops'. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @692c40cb   15 years trochtova.lenka Introduce device classes.Device class specifies functional type of the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c9f3b45c   15 years trochtova.lenka devman, libdrv: replace async_string_receive by async_data_write_accept lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(add) @c47e1a8   15 years trochtova.lenka merge mainline changes (rev. 451) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.