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

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @fafb8e5   6 years zarevucky.jiri Mechanically lowercase IPC_SET_*/IPC_GET_* lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eb13ef8   6 years zarevucky.jiri Change IPC_GET_* and IPC_SET_* to accept pointer instead of lvalue lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d836630   6 years jakub Add missing calls to refcount_init() lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9df0f64   6 years jakub Fix function reference counting After commit 498ced1, a function is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b10e9367   6 years jakub Fix device reference counting After commit 498ced1, a device is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @beb83c1   6 years jakub Add async_accept_0() for accepting connections lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6769005   6 years jakub Use user-defined labels instead of phone hashes This commit changes … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @889cdb1   6 years jakub Always answer the IPC_M_PHONE_HUNGUP message lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4122410   6 years jakub Improve Doxygen documentaion This is stil WiP. A number of libraries, … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @498ced1   6 years jiri.zarevucky Unify reference counting and remove some unnecessary instances of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @984a9ba   6 years martin do not expose the call capability handler from the async framework … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a46e56b   7 years jakub Prefer handle over ID in naming handle variables lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3be9d10   7 years jakub Get rid of ipc_callid_t lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a35b458   7 years zarevucky.jiri style: Remove trailing whitespace on _all_ lines, including empty … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @45457265   7 years jenda.jzqk73 errno_t all the things! lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5a6cc679   7 years jenda.jzqk73 Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @132ab5d1   7 years jenda.jzqk73 Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @702729e   7 years aearsis 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) @203b80c   7 years aearsis 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) @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   13 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   13 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   13 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
Note: See TracRevisionLog for help on using the revision log.