1. 24 7月, 2009 1 次提交
  2. 23 6月, 2009 1 次提交
    • H
      can: let SJA1000 driver depend on HAS_IOMEM · fec37ab5
      Heiko Carstens 提交于
      Fixes this compile error on s390:
      
      drivers/net/can/sja1000/sja1000_platform.c: In function 'sp_read_reg':
      drivers/net/can/sja1000/sja1000_platform.c:42: error: implicit declaration of function 'ioread8'
      drivers/net/can/sja1000/sja1000_platform.c: In function 'sp_write_reg':
      drivers/net/can/sja1000/sja1000_platform.c:47: error: implicit declaration of function 'iowrite8'
      drivers/net/can/sja1000/sja1000_platform.c: In function 'sp_probe':
      drivers/net/can/sja1000/sja1000_platform.c:79: error: implicit declaration of function 'ioremap_nocache'
      
      Cc: Wolfgang Grandegger <wg@grandegger.com>
      Cc: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fec37ab5
  3. 01 6月, 2009 1 次提交
    • W
      can: sja1000: generic OF platform bus driver · d1a277c5
      Wolfgang Grandegger 提交于
      This patch adds a generic driver for SJA1000 chips on the OpenFirmware
      platform bus found on embedded PowerPC systems. You need a SJA1000 node
      definition in your flattened device tree source (DTS) file similar to:
      
        can@3,100 {
        	compatible = "nxp,sja1000";
        	reg = <3 0x100 0x80>;
        	interrupts = <2 0>;
        	interrupt-parent = <&mpic>;
        	nxp,external-clock-frequency = <16000000>;
        };
      
      See also Documentation/powerpc/dts-bindings/can/sja1000.txt.
      
      CC: devicetree-discuss@ozlabs.org
      Signed-off-by: NWolfgang Grandegger <wg@grandegger.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d1a277c5
  4. 19 5月, 2009 5 次提交
  5. 29 1月, 2008 1 次提交