1. 08 Nov, 2007 4 commits
    • Dale Farnsworth's avatar
      [POWERPC] Fix mv643xx_pci sysfs .read and .write functions · d102c9d5
      Dale Farnsworth authored
      Commit 91a69029 introduced an additional parameter to the .read and .write
      methods for sysfs binary attributes.  Two mv64x60_pci functions
      were missed in that patch, resulting in these errors:
      	/cache/git/linux-2.6/arch/powerpc/sysdev/mv64x60_pci.c:77: warning: initialization from incompatible pointer type
      	/cache/git/linux-2.6/arch/powerpc/sysdev/mv64x60_pci.c:78: warning: initialization from incompatible pointer type
      
      Add the missing "struct bin_attribute *" parameter.
      Signed-off-by: default avatarDale Farnsworth <dale@farnsworth.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      d102c9d5
    • Aurelien Jarno's avatar
      [POWERPC] i8259: Add disable method · 3a800ff5
      Aurelien Jarno authored
      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: default avatarAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      3a800ff5
    • Michael Ellerman's avatar
      [POWERPC] Read back MSI message in rtas_setup_msi_irqs() so restore works · 1db3e890
      Michael Ellerman authored
      There are plans afoot to use pci_restore_msi_state() to restore MSI
      state after a device reset.  In order for this to work for the RTAS MSI
      backend, we need to read back the MSI message from config space after
      it has been setup by firmware.
      
      This should be sufficient for restoring the MSI state after a device
      reset, however we will need to revisit this for suspend to disk if that
      is ever implemented on pseries.
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Acked-by: default avatarLinas Vepstas <linas@austin.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      1db3e890
    • Olof Johansson's avatar
      [POWERPC] Fix build break in arch/ppc/syslib/m8260_setup.c · bdd71eec
      Olof Johansson authored
      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: default avatarOlof Johansson <olof@lixom.net>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      bdd71eec
  2. 02 Nov, 2007 1 commit
  3. 01 Nov, 2007 19 commits
  4. 31 Oct, 2007 16 commits