1. 22 Jun, 2006 2 commits
    • Evgeniy Polyakov's avatar
      [PATCH] w1: Added default generic read/write operations. · f522d239
      Evgeniy Polyakov authored
      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: default avatarEvgeniy Polyakov <johnpol@2ka.mipt.ru>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      f522d239
    • Linus Torvalds's avatar
      Merge git://oss.sgi.com:8090/xfs-2.6 · 52ab3f3d
      Linus Torvalds authored
      * git://oss.sgi.com:8090/xfs-2.6: (43 commits)
        [XFS] Remove files from the build that are now unused.
        [XFS] Fix a Makefile issue related to exports.o handling.
        [XFS] Remove version 1 directory code.	Never functioned on Linux, just
        [XFS] Map EFSCORRUPTED to an actual error code, not just a made up one
        [XFS] Kill direct access to ->count in valusema(); all we ever use it for
        [XFS] Remove unneeded conditional code on NFS export interface related
        [XFS] Remove an incorrect use of unlikely() on a relatively likely code
        [XFS] Push some common code out of write path into core XFS code for
        [XFS] Remove unnecessary local from open_exec dmapi path.
        [XFS] Minor XFS documentation updates.
        [XFS] Fix broken const use inside local suffix_strtoul routine.
        [XFS] Fix nused counter.  It's currently getting set to -1 rather than
        [XFS] Fix mismerge of the fs_writable cleanup patch causing a freeze/thaw
        [XFS] Fix up debug code so that bulkstat wont generate thousands of
        [XFS] Remove unused parameter from di2xflags routine.
        [XFS] Cleanup a missed porting conversion, and freezing.
        [XFS] Resolve a namespace collision on remaining vtypes for FreeBSD
        [XFS] Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
        [XFS] Resolve a namespace collision on vfs/vfsops for FreeBSD porters.
        [XFS] statvfs component of directory/project quota support, code
        ...
      52ab3f3d
  2. 21 Jun, 2006 38 commits