Skip to content

New firewire stack - updated patches

Kristian Høgsberg lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add core firewire stack.drivers/Kconfig drivers/Makefile drivers/firewire/Kconfig +7 more+2235 -01 reply
2/4Add device probing and sysfs integration.drivers/firewire/Makefile drivers/firewire/fw-card.c drivers/firewire/fw-device-cdev.c +7 more+1573 -90 replies
3/4Add driver for OHCI firewire host controllers.drivers/firewire/Kconfig drivers/firewire/Makefile drivers/firewire/fw-ohci.c +1 more+1558 -00 replies
4/4Add SBP-2 protocol driver for storage devices.drivers/firewire/Kconfig drivers/firewire/Makefile drivers/firewire/fw-sbp2.c+1086 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] New firewire stack - updated patches

Hi,

Here's a new set of patches for the new firewire stack. The changes since the last set of patches address the issues that were raised on the list and can be reviewed in detail here:

http://gitweb.freedesktop.org/?p=users/krh/juju.git

but to sum up the changes:

- Got rid of bitfields.

- Tested on ppc, ppc64 x86-64 and x86.

- ioctl interface tested on 32-bit userspace / 64-bit kernels.

- ASCIIfied sources.

- Incorporated Jeff Garziks comments.

- Updated to work with the new workqueue API changes.

- Moved subsystem to drivers/firewire from drivers/fw.

plus a number of bug fixes.

As mentioned last time, the stack still lacks isochronous receive functionality to be on par with the old stack, feature-wise. This is the one remaining piece of feature work kernel-side. When that is done, I have a couple of TODO items in user space:

- Make a libraw1394 compatibility library

- Port libdv1394 to new isochronous API.

which will allow us to move most user space applications to the new stack. That is, even if the new stack provides a new interface for asynchronous and isochronous IO, a lot of applications can still work since the changes are isolated to a couple of libraries. This is still in development and is being discussed on the linux1394-devel list. It will likely require a few changes kernel side in the stack as we figure out how to do this.

It is still work in progress, but at least now it should work across all architectures and endianesses.

Happy Holidays,
Kristian