1. 22 12月, 2017 1 次提交
  2. 25 5月, 2015 1 次提交
  3. 28 5月, 2014 1 次提交
    • D
      w1: optional bundling of netlink kernel replies · 8a0427d1
      David Fries 提交于
      Applications can submit a set of commands in one packet to the kernel,
      and in some cases it is required such as reading the temperature
      sensor results.  This adds an option W1_CN_BUNDLE to the flags of
      cn_msg to request the kernel to reply in one packet for efficiency.
      
      The cn_msg flags now check for unknown flag values and return an error
      if one is seen.  See "Proper handling of unknown flags in system
      calls" http://lwn.net/Articles/588444/
      
      This corrects the ack values returned as per the protocol standard,
      namely the original ack for status messages and seq + 1 for all others
      such as the data returned from a read.
      
      Some of the common variable names have been standardized as follows.
      struct cn_msg *cn
      struct w1_netlink_msg *msg
      struct w1_netlink_cmd *cmd
      struct w1_master *dev
      
      When an argument and a function scope variable would collide, add req_
      to the argument.
      Signed-off-by: NDavid Fries <David@Fries.net>
      Acked-by: NEvgeniy Polyakov <zbr@ioremap.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8a0427d1
  4. 04 6月, 2013 1 次提交
  5. 23 4月, 2010 1 次提交
  6. 17 10月, 2008 1 次提交
  7. 23 6月, 2006 1 次提交
    • E
      [PATCH] w1: Added default generic read/write operations. · f522d239
      Evgeniy Polyakov 提交于
      Special file in each w1 slave device's directory called "rw" is created
      each time new slave and no appropriate w1 family is registered.
      "rw" file supports read and write operations, which allows to perform
      almost any kind of operations. Each logical operation is a transaction
      in nature, which can contain several (two or one) low-level operations.
      Let's see how one can read EEPROM context:
      1. one must write control buffer, i.e. buffer containing command byte
      and two byte address. At this step bus is reset and appropriate device
      is selected using either W1_SKIP_ROM or W1_MATCH_ROM command.
      Then provided control buffer is being written to the wire.
      2. reading. This will issue reading eeprom response.
      
      It is possible that between 1. and 2. w1 master thread will reset bus for
      searching and slave device will be even removed, but in this case 0xff will
      be read, since no device was selected.
      Signed-off-by: NEvgeniy Polyakov <johnpol@2ka.mipt.ru>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f522d239
  8. 22 6月, 2005 1 次提交
  9. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4