10 Jul, 2007
1 commit
-
Here is a straightforward conversion to "struct device". The "struct
class_device" will be removed from the kernel.It seems to work fine for me with and without CONFIG_SYSFS_DEPRECATED
set.Signed-off-by: Stefan Richter
09 May, 2007
1 commit
-
Remove includes of where it is not used/needed.
Suggested by Al Viro.Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).Signed-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Feb, 2007
1 commit
-
Many struct file_operations in the kernel can be "const". Marking them const
moves these to the .rodata section, which avoids false sharing with potential
dirty data. In addition it'll catch accidental writes at compile time to
these shared resources.Signed-off-by: Arjan van de Ven
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 Feb, 2007
1 commit
-
This together with the phys_to_virt fix in lib/swiotlb.c::swiotlb_sync_sg
fixes video1394 DMA on machines with DMA bounce buffers, especially Intel
x86-64 machines with > 3GB RAM.Signed-off-by: Stefan Richter
Signed-off-by: David Moore
Tested-by: Nicolas Turro
08 Dec, 2006
3 commits
-
This patch consolidates some bookkeeping for driver registering. It
closely models what pci_register_driver() does. The main addition is
that the owner of the driver is set, so we get a proper symlink
for /sys/bus/ieee1394/driver/*/module.Also moves setting of name and bus type into nodemgr. Because of this,
we can remove the EXPORT_SYMBOL for ieee1394_bus_type, since it's now
only used in ieee1394.ko.Signed-off-by: Stefan Richter
-
video1394 does not need to take the BKL. The data structures shared between
file_operations and interrupts are already protected through context-specific
spinlocks.The only other danger is video1394_release() being called during another
operation, however this cannot happen because release is only ever invoked
when the last thread has closed the fd.Signed-off-by: Daniel Drake
Signed-off-by: Stefan Richter -
Add some GCC branch prediction optimizations to unlikely error/safety
conditions in the ioctl handling code commonly called during an application's
capture loop.Signed-off-by: Daniel Drake
Signed-off-by: Stefan Richter
18 Sep, 2006
2 commits
-
A deactivated macro, defined as "#define foo(bar)", will result in
silent corruption if somebody forgets a semicolon after a call to foo.
Replace it by "#define foo(bar) do {} while (0)" which will reveal any
respective syntax errors.Signed-off-by: Stefan Richter
-
This patch adds support for the poll file operation to the video1394
driver.Signed-off-by: David Moore
Signed-off-by: Stefan Richter
04 Jul, 2006
1 commit
-
Remove unnecessary includes, add missing includes.
Use forward type declarations for some structs.Signed-off-by: Stefan Richter
Signed-off-by: Ben Collins
01 Jul, 2006
1 commit
-
Signed-off-by: Jörn Engel
Signed-off-by: Adrian Bunk
13 Jun, 2006
1 commit
-
When working with multiple cameras and intensive applications, our logs
get flooded with video1394 information which isn't of much interest.Any objections to demoting these messages to debug messages?
Signed-off-by: Daniel Drake
Signed-off-by: Ben Collins
29 Mar, 2006
1 commit
-
Devfs has been disabled in the last kernel releases, so let's
remove it from ieee1394core, raw1394, video1394, dv1394.Signed-off-by: Stefan Richter
Acked-by: Greg Kroah-Hartman
Cc: Dan Dennedy
Signed-off-by: Jody McIntyre
01 Mar, 2006
1 commit
-
Signed-off-by: Alexey Dobriyan
Cc: Ben Collins
Cc: Jody McIntyre
Cc: Stefan Richter
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
11 Jan, 2006
1 commit
-
These days ioctl32.h is only used for communication of fs/compat.c and
fs/compat_ioctl.c and doesn't contain anything of interest to drivers.Remove inclusion in various drivers.
Signed-off-by: Christoph Hellwig
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Nov, 2005
1 commit
-
This patch fixes the incoherent timestamps generated by video1394 since
the single-buffer patch was applied in 2.6.11. Credits have also been
removed from the header and a "//" comment was changed to "/* */".Signed-off-by: Damien Douxchamps
Signed-off-by: Jody McIntyre
07 Nov, 2005
2 commits
-
dv1394 and video1394.
Signed-off-by: Stefan Richter
Signed-off-by: Jody McIntyre -
dv1394, eth1394, ieee1394, ohci1394, pcilynx, raw1394, sbp2c, video1394:
- use kzalloc
- provide safer size arguments to kmalloc and kzalloc
- omit some castsSigned-off-by: Stefan Richter
Signed-off-by: Jody McIntyre
29 Oct, 2005
1 commit
-
The previous patch adding the ability to nest struct class_device
changed the paramaters to the call class_device_create(). This patch
fixes up all in-kernel users of the function.Signed-off-by: Greg Kroah-Hartman
01 Oct, 2005
1 commit
-
amdtp, dv1394, raw1394, video1394:
Delete legacy module aliases. The macros did not work and the aliases are not
needed nowadays.Signed-off-by: Stefan Richter
Signed-off-by: Ben Collins
Signed-off-by: Jody McIntyre
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
10 Sep, 2005
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
21 Jun, 2005
1 commit
-
Signed-off-by: Greg Kroah-Hartman
17 May, 2005
2 commits
-
Apply and fixup patch from Markus Tavenrath for
video1394 to allow only a single buffer on receive and two buffers on
transmit. Tested with libdc1394 and dvconnect (libdv).Signed-off-by: Dan Dennedy
Signed-off-by: Jody McIntyre
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch removes redundant NULL pointer checks before kfree() in all of
drivers/ieee1394/Signed-off-by: Jesper Juhl
Signed-off-by: Jody McIntyre
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!