|
|
@8d2dd7f2
|
8 years |
jakub |
Reduce the number of files that include <sys/types.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58563585
|
9 years |
martin |
code review and cstyle cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4b534ac
|
9 years |
jakub |
Merge from lp:~jan.vesely/helenos/usb
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f97f5cc2
|
10 years |
jiri |
Enable partition support with all disk drivers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a1757e
|
10 years |
jano.vesely |
usbmast: downgrade cmd_fail to warning
set debug level explicitly
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce25903
|
10 years |
jano.vesely |
ubsmast: Add Test Unit Ready command
Fixes my two flash drive
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6abe20
|
10 years |
jano.vesely |
usbmast: Sanitize logging
Report the error condition.
Don't use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83062ff
|
11 years |
jano.vesely |
usbmast: bit more cleanup and some const love
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c53b58e
|
11 years |
jano.vesely |
usbmast: Fix cache sync command
the code was obviously never run, let …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e7c9fe
|
11 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
|
|
|
@dd8b6a8
|
11 years |
jiri |
Add synchronize cache operation to block layer and usbmast.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3cc55b47
|
12 years |
jano.vesely |
usbmast: Set bulk pipes before probing the device
Fixes usbmast segfault
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db71e2a
|
12 years |
jano.vesely |
merge mainline changes.
usb hc macro changes from mainline were …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acdb5bac
|
12 years |
jiri |
Replace usage of bzero() with C standard memset().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e23316
|
13 years |
jano.vesely |
usbmast: Don't access mapped endpoints directly.
Use provided functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e10ef4
|
13 years |
jano.vesely |
libusbdev: Interface number and alternate interfaces wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c69861
|
13 years |
jano.vesely |
usbmast: Don't access ddf_dev member directly, use provided wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c39e9fb
|
13 years |
jano.vesely |
usb, drivers: Use usb_device_* wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e6a98c5
|
13 years |
jiri |
Standards-compliant boolean type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@920d0fc
|
13 years |
vojtechhorky |
USB logging functions are only macros to standard logging
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d5a540
|
13 years |
jiri |
Merge DDF interface tightening.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56fd7cf
|
13 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
|
|
|
@f73b291
|
13 years |
martin |
libblock.{c|h} → block.{c|h}
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@135486d
|
13 years |
jiri |
Allow more than one client connection to block device.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4802dd7
|
13 years |
jiri |
Factor out client and server IPC stubs for block devices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@faba839
|
13 years |
martin |
use symbolic values for address space constants
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbcdeb8
|
14 years |
martin |
Remove the two-phase way of creating virtual memory areas (first …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d176b1d
|
14 years |
jano.vesely |
usbmast: Use pipe_t structure to get max_packet_size information.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b77931d
|
14 years |
jano.vesely |
usb: usb_pipe_t was always allocated in usb_endpoint_mapping_t, embed it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dcc10b8d
|
14 years |
jano.vesely |
usbhid: Fix usbhid dev_remove.
Leave as not supported right now, we …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9871bca
|
14 years |
jano.vesely |
usbmast: Add device_remove stub.
Add const qualifiers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f131fb9
|
14 years |
jano.vesely |
Minor USB changes.
Add more const qualifiers where possible.
Do not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@721d4b6e
|
14 years |
jakub |
Remove an out-of-date comment introduced in the previous commit.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a044f71
|
14 years |
jakub |
Device driver data cannot be freed by the driver itself.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b803845
|
14 years |
jano.vesely |
usb: Make endpoint descriptions const.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@065064e6
|
14 years |
jano.vesely |
usb: Add and use usb_device_data_alloc.
Inspired by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3002434
|
14 years |
jano.vesely |
usbmast: Implement device_gone.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@87037cc9
|
14 years |
jano.vesely |
usbmast: Keep track of pointers to created LUN functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96fde65
|
14 years |
jano.vesely |
usbmast: don't use ddf_dev_t driver_data for soft-state.
That is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1a4ea01d
|
14 years |
jano.vesely |
usb: Rename add_device ⇒ device_add
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6c953e9
|
14 years |
jakub |
Do not interfere with DDF deallocating device driver data.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d79f5b
|
14 years |
jiri |
Allocate usbmast device soft state using ddf_dev_data_alloc().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d95f02ff
|
14 years |
jiri |
Fix bug usbmast soft state allocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@60c6fe0
|
14 years |
jakub |
Fix a possible use-after-free.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c21ff31
|
14 years |
jakub |
Fix a possible double free().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f6e25e
|
14 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
|
|
|
@132a6073
|
14 years |
jiri |
Repeat SCSI command in case of unit attention condition.
Use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@de3432b
|
14 years |
jiri |
Allow simpler passing around / processing of SCSI commands by creating …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@582fe388
|
14 years |
jiri |
Display sense key in string form.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45cae6b
|
14 years |
jiri |
Work on USB mass storage:
* handle pipe stalls when transferring data …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2aceec5
|
14 years |
jiri |
Support multiple LUNs in mass storage driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6b32a8
|
14 years |
jiri |
Prepare for supporting multiple LUNs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7190bbc
|
14 years |
jiri |
Use usbmast_fun_t in more parts of the driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89d3f3c7
|
14 years |
jiri |
Rename mass storage sources to be more fitting.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@026793d
|
14 years |
jiri |
Increase message verbosity levels so that I/O is not normally logged. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38c9505
|
14 years |
jiri |
Write support in USB mass storage driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff65e91
|
14 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
|
|
|
@f7a55f9
|
14 years |
jiri |
Implement Read and Request Sense commands for USB mass storage. In …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@71fa44c
|
14 years |
jiri |
Implement Read Capacity command for USB mass storage.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6430ac6
|
14 years |
jiri |
Refactor inquiry.c a little.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f08fd2b
|
14 years |
jiri |
Deinline usb_massstor_cbw_prepare().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b361bdd
|
14 years |
jiri |
More redundant arguments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec62681
|
14 years |
jiri |
Remove redundant arguments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64e6945d
|
14 years |
jiri |
Factor out bit operations from usbmast to bitops.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dcb74c0a
|
14 years |
jiri |
Add function to str.c to convert space-padded ASCII to standard string …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2fac08c
|
14 years |
jiri |
More removal of magic numbers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b2c17c
|
14 years |
jiri |
Structure for SCSI standard inquiry data. Also fixes decoding of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@239e7e10
|
14 years |
jiri |
Revert accidental change.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0feaae4
|
14 years |
jiri |
Factor out standard SCSI code from usbmast to a separate SCSI library.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5203e256
|
14 years |
martin |
keep the drivers source tree tidy by using logical subdirectories
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|