11 May, 2007
1 commit
-
This will add the CRC calculation according
to the CRC ITU-T V.41 to the kernel lib/ folder.This code has been derived from the rt2x00 driver,
currently found only in the wireless-dev tree, but
this library is generic and could be used by more
drivers who currently use their own implementation.Signed-off-by: Ivo van Doorn
Also useful for the new firewire stack.
Signed-off-by: Kristian Hoegsberg
Signed-off-by: Stefan Richter
01 May, 2007
3 commits
-
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Currently create context always returns 0 and the other iso
ioctls will expect user space to pass that in for subsequent ioctls.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Also, with this change, refactor ioctl dispatch code to do the
copying from and to user space as indicated by the IOC annotations.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter
27 Apr, 2007
2 commits
-
Make firewire entry points not 'extern':
drivers/firewire/fw-device.c:160:25: warning: function 'fw_device_get' with external linkage has definition
drivers/firewire/fw-device.c:167:13: warning: function 'fw_device_put' with external linkage has definitionSigned-off-by: Randy Dunlap
Signed-off-by: Stefan Richter -
You don't know what type is used to implement u64.
Signed-off-by: Andrew Morton
Signed-off-by: Stefan Richter
18 Apr, 2007
1 commit
-
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter
12 Apr, 2007
5 commits
-
Signed-off-by: Kristian Høgsberg
(Reverted part which moved it from eh_abort_handler to eh_host_reset_handler)
Signed-off-by: Stefan Richter
-
In some situations we can receive the ORB status write before we
have received the ORB pointer write response. When this happens,
we assume that the fw_transaction is finished and free the ORB
struct containing the fw_transaction.This fix make the status write logic only accept status writes
for ORBs where the initial ORB pointer write transaction finished.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Or the SAM status codes from the device sense data into the
command error code.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Doh, bad typo...
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter
29 Mar, 2007
9 commits
-
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter (renamed a variable) -
Some devices have a really long power-on cycle, and we fail to
successfully probe these if they're plugged in and then turned on.There's really no down-side to bumping the number of retries and the
retry delay, and most devices will get picked up within the first couple
of retries anyway.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
In case the topology build fails, we want to retain the old topology
info until another reset finishes and results in a valid new tree. If
we clear card->irm_node to NULL and the topology build fails, we end up
dereferencing a NULL pointer in a few places.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Generalize the way we keep track of the various resources and
assign a unique handle to each resource.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter (fixed whitespace) -
Make event struct layout common part include the closure and add a
union for all event types; provide a mechanism for setting the
bus reset event closure.Shuffle struct fw_cdev_queue_iso fields around to be 64-bit safe.
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
We dynamically create an attribute group for the key present on the
device in hand and point device->group to it. This way the device
core adds the sysfs attributes for us as the device is added.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter
25 Mar, 2007
1 commit
-
Signed-off-by: Marc Butler
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter (added whitespace)
22 Mar, 2007
3 commits
-
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
We export the entire config rom, so this is technically redundant,
but should make udev rules and HAL integration easier.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
The device_type struct is useful for setting attributes for a device
and overriding .release and .uevent for a group of devices. This patch
uses it this way to clean up the sysfs code a bit.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter
21 Mar, 2007
5 commits
-
Puts a stray endian annotation down.
Signed-off-by: Stefan Richter
-
Signed-off-by: Stefan Richter
Signed-off-by: Kristian Høgsberg -
as a precaution.
Signed-off-by: Stefan Richter
-
This serializes the update callback with the probe and remove callback from
the driver core and prevents remove from being called while update is
running for the same device.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
to avoid confusion with CONFIG_FW_LOADER.
Signed-off-by: Stefan Richter
Acked-by: Kristian Høgsberg
16 Mar, 2007
6 commits
-
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Setting these at create_context time or start_iso time doesn't matter
much, but raw1394 sets them at start_iso time so that will be easier to
emulate this way.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
The dualbuffer DMA setup did not account for the iso trailer word
and thus didn't work correctly. With this fixed we can drop the
dual buffer fallback mode.Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter
10 Mar, 2007
4 commits
-
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter -
Signed-off-by: Kristian Høgsberg
Signed-off-by: Stefan Richter