15 Oct, 2007

1 commit


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

    Kay Sievers
     

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

    David Woodhouse
     
  • 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

    David Woodhouse
     
  • 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

    Geoff Levand
     

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 used

    Signed-off-by: Stephen Rothwell
    Acked-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Stephen Rothwell
     

10 Mar, 2007

1 commit


10 Feb, 2007

1 commit


07 Feb, 2007

2 commits