1. 19 10月, 2005 4 次提交
    • R
      [PATCH] Initialize the .owner field the tty_ldisc structure. · 74cfe03f
      Ralf Baechle 提交于
      If .owner isn't set the module can be unloaded even while still active.
      Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      74cfe03f
    • R
      [PATCH] SMACK support for mkiss · 5793f4be
      Ralf Baechle 提交于
      SMACK (Stuttgart Modified Amateurradio CRC KISS) is a KISS variant that
      uses CRC16 checksums to secure data transfers between the modem and host.
      It's also used to communicate over a pty to applications such as Wampes.
      
      Patches for Linux 2.4 by Thomas Osterried DL9SAU, upgraded to the latest
      mkiss 2.6 mkiss driver by me.
      Signed-off-by: NThomas Osterried DL9SAU <thomas@x-berg.in-berlin.de>
      Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      5793f4be
    • R
      [PATCH] rcu in bpqether driver. · bc0a7438
      Ralf Baechle 提交于
      From Suzanne Wood <suzannew@cs.pdx.edu>:
      
      Clarify RCU implementation in bpqether.c.
      
      Because bpq_new_device() calls list_add_rcu() and bpq_free_device() calls
      list_del_rcu(), substitute list_for_each_entry_rcu() for
      list_for_each_entry() in bpq_get_ax25_dev() and in bpq_seq_start().
      
      Add rcu dereference protection in bpq_seq_next().
      
      The rcu_read_lock()/unlock() in bpq_device_event() are removed because
      netdev event handlers are called with RTNL locking in place.
      
      FYI: bpq_free_device() calls list_del_rcu() which, per list.h, requires
      synchronize_rcu() which can block or call_rcu() or call_rcu_bh() which
      cannot block.  Herbert Xu notes that synchronization is done here by
      unregister_netdevice().  This calls synchronize_net() which in turn uses
      synchronize_rcu().
      Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      bc0a7438
    • R
      [PATCH] S2io: Offline diagnostics fixes · ad4ebed0
      ravinandan.arakali@neterion.com 提交于
      This patch fixes the following bugs with offline diagnostics
      code(run with "ethtool -t").
      
      1. After running offline diagnostics, adapter would report
      corrupted packets on receive. This was because of adapter not
      being brought out of "RLDRAM test mode".
      2. Current EEPROM test works only for Xframe I. Since Xframe II
      uses different interface(SPI), support for this interface has
      been added. Also, since SPI supports write access to all areas
      of EEPROM, negative testing is done only for Xframe I.
      3. Return values from subfunctions of offline diagnostics have
      been corrected.
      4. In register test, expected value from rx_queue_cfg register
      is made to depend on adapter type.
      5. After the test, need to restore values at EEPROM offsets
      0x4F0 and 0x7F0. These locations were modified as part of test.
      6. Use macro SPECIAL_REG_WRITE for write access to mc_rldram_test_ctrl
      register. Also, couple of unnecessary writes to mc_rldram_test_ctrl
      have been removed.
      Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      ad4ebed0
  2. 14 10月, 2005 6 次提交
  3. 13 10月, 2005 21 次提交
  4. 12 10月, 2005 9 次提交