15 Oct, 2007
1 commit
-
Kill unused variables
Signed-off-by: Geert Uytterhoeven
Signed-off-by: Linus Torvalds
13 Oct, 2007
1 commit
-
This changes the uevent buffer functions to use a struct instead of a
long list of parameters. It does no longer require the caller to do the
proper buffer termination and size accounting, which is currently wrong
in some places. It fixes a known bug where parts of the uevent
environment are overwritten because of wrong index calculations.Many thanks to Mathieu Desnoyers for finding bugs and improving the
error handling.Signed-off-by: Kay Sievers
Cc: Mathieu Desnoyers
Cc: Cornelia Huck
Signed-off-by: Greg Kroah-Hartman
28 Jun, 2007
3 commits
-
Add modinfo attribute to ps3_system_bus devices. Also make them all
children of the same ps3_system_bus 'device' so they appear in a
corresponding subdirectory under /sys/devices.Signed-off-by: David Woodhouse
Signed-off-by: Geoff Levand
Signed-off-by: Paul Mackerras -
To allow userspace to automatically load modules, we need to hook up
uevent for ps3_system_bus devices. I've used the form 'ps3:%d' with
the ps3_match_id, since that's what we use for matching drivers.Signed-off-by: David Woodhouse
Signed-off-by: Geoff Levand
Signed-off-by: Paul Mackerras -
Rework the PS3 system bus to unify device support.
- DMA region sizes must be a power of two
- storage bus DMA updates:
- Small fixes for the PS3 DMA core:
o fix alignment bug
o kill superfluous test
o indentation
o spelling
o export ps3_dma_region_{create,free}()
- ps3_dma_region_init():
o Add `addr' and `len' parameters, so you can create a DMA region that
does not cover all memory (use `NULL' and `0' to cover all memory).
This is needed because there are not sufficient IOMMU resources to have
all DMA regions cover all memory.
o Uninline
- Added remove and shutdown routines to all drivers.
- Added loadable module support to all drivers.
- Added HV calls for iopte management (needed by sound driver).Signed-off-by: MOKUNO Masakazu
Signed-off-by: Geert Uytterhoeven
Signed-off-by: Geoff Levand
Signed-off-by: Paul Mackerras
12 May, 2007
1 commit
-
Fixes warnings:
arch/powerpc/platforms/ps3/system-bus.c: In function 'ps3_map_sg':
arch/powerpc/platforms/ps3/system-bus.c:278: warning: unused variable 'i'
arch/powerpc/platforms/ps3/system-bus.c:277: warning: unused variable 'dev'
arch/powerpc/platforms/ps3/setup.c:103: warning: 'prealloc' defined but not usedSigned-off-by: Stephen Rothwell
Acked-by: Geoff Levand
Signed-off-by: Paul Mackerras
10 Mar, 2007
1 commit
-
Add missing checks to PS3 specific drivers ps3av and sys-manager to verify that
we are actually running on a PS3 (pointed out by Arnd).Correct existing checks in other subsystems/drivers to return -ENODEV instead
of zero.Signed-off-by: Geert Uytterhoeven
Signed-off-by: Arnd Bergmann
10 Feb, 2007
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
07 Feb, 2007
2 commits
-
Add the missing pieces to support DMA scatter-gather on the PS3 system bus.
Signed-off-by: Geoff Levand
Acked-by: Benjamin Herrenschmidt
Signed-off-by: Paul Mackerras -
Move the PS3 system bus routines from drivers/ps3 to
arch/powerpc/platforms/ps3.Signed-off-by: Geoff Levand
Acked-by: Benjamin Herrenschmidt
Acked-by: Arnd Bergmann
Signed-off-by: Paul Mackerras