1. 03 6月, 2013 1 次提交
  2. 27 3月, 2013 1 次提交
  3. 26 1月, 2013 3 次提交
  4. 19 1月, 2013 1 次提交
    • J
      tty: Added a CONFIG_TTY option to allow removal of TTY · 4f73bc4d
      Joe Millenbach 提交于
      The option allows you to remove TTY and compile without errors. This
      saves space on systems that won't support TTY interfaces anyway.
      bloat-o-meter output is below.
      
      The bulk of this patch consists of Kconfig changes adding "depends on
      TTY" to various serial devices and similar drivers that require the TTY
      layer.  Ideally, these dependencies would occur on a common intermediate
      symbol such as SERIO, but most drivers "select SERIO" rather than
      "depends on SERIO", and "select" does not respect dependencies.
      
      bloat-o-meter output comparing our previous minimal to new minimal by
      removing TTY.  The list is filtered to not show removed entries with awk
      '$3 != "-"' as the list was very long.
      
      add/remove: 0/226 grow/shrink: 2/14 up/down: 6/-35356 (-35350)
      function                                     old     new   delta
      chr_dev_init                                 166     170      +4
      allow_signal                                  80      82      +2
      static.__warned                              143     142      -1
      disallow_signal                               63      62      -1
      __set_special_pids                            95      94      -1
      unregister_console                           126     121      -5
      start_kernel                                 546     541      -5
      register_console                             593     588      -5
      copy_from_user                                45      40      -5
      sys_setsid                                   128     120      -8
      sys_vhangup                                   32      19     -13
      do_exit                                     1543    1526     -17
      bitmap_zero                                   60      40     -20
      arch_local_irq_save                          137     117     -20
      release_task                                 674     652     -22
      static.spin_unlock_irqrestore                308     260     -48
      Signed-off-by: NJoe Millenbach <jmillenbach@gmail.com>
      Reviewed-by: NJamey Sharp <jamey@minilop.net>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4f73bc4d
  5. 16 11月, 2012 1 次提交
  6. 03 2月, 2012 1 次提交
  7. 02 12月, 2011 1 次提交
  8. 01 12月, 2011 1 次提交
  9. 30 11月, 2011 1 次提交
  10. 01 7月, 2011 1 次提交
  11. 29 6月, 2011 1 次提交
  12. 06 6月, 2011 1 次提交
  13. 14 2月, 2011 1 次提交
  14. 30 1月, 2011 1 次提交
  15. 22 1月, 2011 1 次提交
  16. 09 12月, 2010 1 次提交
  17. 26 10月, 2010 1 次提交
  18. 25 10月, 2010 1 次提交
  19. 23 7月, 2010 1 次提交
  20. 28 5月, 2010 1 次提交
  21. 14 12月, 2009 1 次提交
  22. 12 12月, 2009 1 次提交
  23. 17 11月, 2009 1 次提交
  24. 14 11月, 2009 2 次提交
  25. 08 11月, 2009 1 次提交
  26. 08 10月, 2009 1 次提交
  27. 23 9月, 2009 1 次提交
  28. 22 9月, 2009 1 次提交
  29. 04 9月, 2009 1 次提交
    • W
      can: sja1000: legacy SJA1000 ISA bus driver · 2a6ba39a
      Wolfgang Grandegger 提交于
      This patch adds support for legacy SJA1000 CAN controllers on the ISA
      or PC-104 bus. The I/O port or memory address and the IRQ number must
      be specified via module parameters:
      
        insmod sja1000_isa.ko port=0x310,0x380 irq=7,11
      
      for ISA devices using I/O ports or:
      
        insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11
      
      for memory mapped ISA devices.
      
      Indirect access via address and data port is supported as well:
      
        insmod sja1000_isa.ko port=0x310,0x380 indirect=1 irq=7,11
      
      Here is a full list of the supported module parameters:
      
        port:I/O port number (array of ulong)
        mem:I/O memory address (array of ulong)
        indirect:Indirect access via address and data port (array of byte)
        irq:IRQ number (array of int)
        clk:External oscillator clock frequency (default=16000000 [16 MHz])
            (array of int)
        cdr:Clock divider register (default=0x48 [CDR_CBP | CDR_CLK_OFF])
            (array of byte)
        ocr:Output clock register (default=0x18 [OCR_TX0_PUSHPULL])
            (array of byte)
      
      Note: for clk, cdr, ocr, the first argument re-defines the default
      for all other devices, e.g.:
      
       insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11 clk=24000000
      
      is equivalent to
      
       insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11 \
                             clk=24000000,24000000
      Signed-off-by: NWolfgang Grandegger <wg@grandegger.com>
      Tested-by: NOliver Hartkopp <oliver@hartkopp.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2a6ba39a
  30. 24 7月, 2009 1 次提交
  31. 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
  32. 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
  33. 19 5月, 2009 5 次提交