1. 29 4月, 2008 1 次提交
  2. 21 4月, 2008 2 次提交
  3. 19 4月, 2008 1 次提交
  4. 18 4月, 2008 2 次提交
    • B
      ppc/mpc8xx: remove ppc_ide_md hooks · 2661b13a
      Bartlomiej Zolnierkiewicz 提交于
      * Initialize IDE ports in mpc8xx_ide_probe().
      
      * Remove m8xx_ide_init() and ppc_ide_md hooks - no need for them
        (IDE mpc8xx host driver takes care of all this setup).
      
      * Remove needless 'if (irq)' and 'if (data_port >= MAX_HWIFS)' checks
        from m8xx_ide_init_hwif_ports().
      
      * Remove 'ctrl_port' and 'irq' arguments from m8xx_ide_init_hwif_ports().
      
      * Rename m8xx_ide_init_hwif_ports() to m8xx_ide_init_ports().
      
      * Add __init tag to m8xx_ide_init_ports().
      
      This patch fixes hwif->irq always being overriden to 0 (== auto-probe, is
      this even working on PPC?) because of ide_init_default_irq() call in ide.c.
      
      There should be no other functional changes.
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: NVitaly Bordug <vitb@kernel.crashing.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      2661b13a
    • B
      ppc/ppc4xx: remove ppc_ide_md hooks · e4f7f3a0
      Bartlomiej Zolnierkiewicz 提交于
      There are no "default" IDE ports on PPC4xx so ppc4xx_ide_init_hwif_ports() is
      unnecessary, remove it.  Also remove no longer needed <linux/ide.h> include.
      
      There should be no functional changes caused by this patch.
      
      Cc: Josh Boyer <jwboyer@linux.vnet.ibm.com>
      Cc: Matt Porter <mporter@kernel.crashing.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      e4f7f3a0
  5. 07 4月, 2008 1 次提交
  6. 28 1月, 2008 4 次提交
  7. 27 1月, 2008 1 次提交
  8. 26 1月, 2008 1 次提交
  9. 25 1月, 2008 1 次提交
  10. 24 1月, 2008 1 次提交
  11. 20 12月, 2007 3 次提交
  12. 07 12月, 2007 1 次提交
  13. 19 11月, 2007 1 次提交
  14. 08 11月, 2007 2 次提交
    • A
      [POWERPC] i8259: Add disable method · 3a800ff5
      Aurelien Jarno 提交于
      Since commit 76d21601, the NE2000 card
      is not working anymore on PPC and POWERPC and produces WATCHDOG
      timeouts.
      
      The patch below fixes that the same way it has been done on x86, x86_64
      and MIPS.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3a800ff5
    • O
      [POWERPC] Fix build break in arch/ppc/syslib/m8260_setup.c · bdd71eec
      Olof Johansson 提交于
      Fix build break and warnings in current mainline git:
      
      arch/ppc/syslib/m8260_setup.c: In function 'm8260_setup_arch':
      arch/ppc/syslib/m8260_setup.c:63: error: implicit declaration of function 'identify_ppc_sys_by_name_and_id'
      arch/ppc/syslib/m8260_setup.c:64: warning: passing argument 1 of 'in_be32' makes pointer from integer without a cast
      arch/ppc/syslib/m8260_setup.c: In function 'm8260_show_cpuinfo':
      arch/ppc/syslib/m8260_setup.c:158: warning: format '%08x' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
      arch/ppc/syslib/m8260_setup.c:158: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int'
      arch/ppc/syslib/m8260_setup.c:158: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long unsigned int'
      arch/ppc/syslib/m8260_setup.c:158: warning: format '%u' expects type 'unsigned int', but argument 8 has type 'long unsigned int'
      arch/ppc/syslib/m8260_setup.c:158: warning: format '%u' expects type 'unsigned int', but argument 9 has type 'long unsigned int'
      make[1]: *** [arch/ppc/syslib/m8260_setup.o] Error 1
      make[1]: *** Waiting for unfinished jobs....
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      bdd71eec
  15. 03 10月, 2007 3 次提交
  16. 22 9月, 2007 1 次提交
  17. 25 7月, 2007 1 次提交
  18. 22 7月, 2007 1 次提交
  19. 18 7月, 2007 1 次提交
  20. 12 7月, 2007 1 次提交
    • T
      sysfs: kill unnecessary attribute->owner · 7b595756
      Tejun Heo 提交于
      sysfs is now completely out of driver/module lifetime game.  After
      deletion, a sysfs node doesn't access anything outside sysfs proper,
      so there's no reason to hold onto the attribute owners.  Note that
      often the wrong modules were accounted for as owners leading to
      accessing removed modules.
      
      This patch kills now unnecessary attribute->owner.  Note that with
      this change, userland holding a sysfs node does not prevent the
      backing module from being unloaded.
      
      For more info regarding lifetime rule cleanup, please read the
      following message.
      
        http://article.gmane.org/gmane.linux.kernel/510293
      
      (tweaked by Greg to not delete the field just yet, to make it easier to
      merge things properly.)
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7b595756
  21. 11 7月, 2007 1 次提交
  22. 29 6月, 2007 1 次提交
  23. 09 6月, 2007 1 次提交
  24. 02 6月, 2007 1 次提交
  25. 17 5月, 2007 1 次提交
  26. 12 5月, 2007 1 次提交
  27. 10 5月, 2007 1 次提交
    • T
      [POWERPC] Change rheap functions to use ulongs instead of pointers · 4c35630c
      Timur Tabi 提交于
      The rheap allocation functions return a pointer, but the actual value is based
      on how the heap was initialized, and so it can be anything, e.g. an offset
      into a buffer.  A ulong is a better representation of the value returned by
      the allocation functions.
      
      This patch changes all of the relevant rheap functions to use a unsigned long
      integers instead of a pointer.  In case of an error, the value returned is
      a negative error code that has been cast to an unsigned long.  The caller can
      use the IS_ERR_VALUE() macro to check for this.
      
      All code which calls the rheap functions is updated accordingly.  Macros
      IS_MURAM_ERR() and IS_DPERR(), have been deleted in favor of IS_ERR_VALUE().
      
      Also added error checking to rh_attach_region().
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      4c35630c
  28. 09 5月, 2007 2 次提交
  29. 07 5月, 2007 1 次提交