1. 07 Jul, 2002 7 commits
  2. 06 Jul, 2002 1 commit
  3. 05 Jul, 2002 17 commits
    • Greg Kroah-Hartman's avatar
    • David Brownell's avatar
      [PATCH] usb driverfs, +misc · dcc98433
      David Brownell authored
      This fixes a couple issues I noted when I finally spent some time
      looking at the first version of driverfs support for usb:
      
      - "name" fields (really descriptions) aren't very useful.
      
           * for devices, they always said "USB device 0000:0000"
               --> Now they'll only say that when there's
                   nothing better to be said ...
               --> ... and it's really device 0000:0000!  It was
                   using device descriptor fields before they were
                   fetched from the device.
               --> Uses product and/or manufacturer strings, which
                   most devices have, much like PCI uses the PCI ID
                   database (when it's compiled in)
      
           * for interfaces, it was "figure out some name..."
               --> Now it combines the strings used in the
                   usb_make_path() call with interface number
               --> Or in the remote chance a device provides
                   an interface string, that's preferred.
               --> In general, I think the driver for each
                   interface is best suited to describe it;
                   I modified the hub driver to do so.
      
      - "bus_id" field
      
           * For hub ports, it was wasting code: we know the port
             already, no need to search for it.  Plus, it used
             0-index ids not the 1-index ones matching physical
             labels on hubs, and other user-visible diagnostics.
      
           * For interfaces, it mixed the device address with the
             interface number ... producing unstable IDs that were
             moreover rather cryptic.  Changed:  "if0" now, using
             the interface ID (not index).
      
           * For busses, left "usb_bus" alone ... :)
      
      - Adds two files exposing current configuration (for devices)
         and altsetting (for interfaces).
      
      - I was getting a useless diagnostic from the hub driver,
         now it's less useless (it fully identifies the hub)
      dcc98433
    • Linus Torvalds's avatar
      Linux v2.5.25 · 7970f12d
      Linus Torvalds authored
      7970f12d
    • Petr Vandrovec's avatar
      [PATCH] drivers/ide/probe.c leaks memory · 3bb19dd4
      Petr Vandrovec authored
        drivers/ide/probe.c initializes gd->de_arr and gd->flags twice. Except that
      it is unnecessary it also leaks memory.
      3bb19dd4
    • Mark Kettenis's avatar
      [PATCH] Fix note sections in ELF core dumps · e1d16022
      Mark Kettenis authored
      Edition 4.1 of the System V Application Binary Interface says that
      "The first namesz bytes in name contains a null-terminated
      representation of the entry's owner or originator".  This implies that
      the terminating null is included in namesz, which is corroborated by
      the example that follows the description.  However, this is not what
      the Linux kernel does when it writes its notes into an ELF core dump.
      The attached patch fixes this.
      e1d16022
    • Linus Torvalds's avatar
      Disable ReiserFS bh usage count testing for now. · b131b195
      Linus Torvalds authored
      HACK ALERT! This needs to be fixed to do what reiserfs
      actually thinks it _should_ do.
      b131b195
    • Linus Torvalds's avatar
      x86 "make clean" missed some new targets · 4c61c23a
      Linus Torvalds authored
      4c61c23a
    • Orjan Friberg's avatar
      USB: bluetty.c allocation bug fix · 40a05707
      Orjan Friberg authored
      In usb_bluetooth_probe, the transfer buffers for the write pool urbs
      are allocated with size 0, because bluetooth->bulk_out_buffer_size isn't set
      until after the loop.
      40a05707
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
      USB: removed file ops from usb device structure · 112b9631
      Greg Kroah-Hartman authored
      Moved the file ops and minor number stuff out of the usb structure,
      Now usb_register_dev() and usb_deregister_dev() must be called if 
      you want to use the USB major number.
      112b9631
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/linux/linux/BK/bleeding-2.5 · 9cfc20f1
      Greg Kroah-Hartman authored
      into kroah.com:/home/linux/linux/BK/gregkh-2.5
      9cfc20f1
    • Linus Torvalds's avatar
      Merge · 8263f8c5
      Linus Torvalds authored
      8263f8c5
    • Paul Menage's avatar
      [PATCH] Shift BKL into ->statfs() · 0aa838c6
      Paul Menage authored
      This patch removes BKL protection from the invocation of the
      super_operations ->statfs() method, and shifts it into the filesystems
      where necessary. Any out-of-tree filesystems may need to take the BKL in
      their statfs() methods if they were relying on it for synchronisation.
      
      All ->statfs() implementations have been modified to take the BKL,
      except for those that don't reference any external mutable data or that
      already have their own locking.
      
      Additionally, capifs is changed to use simple_statfs rather than its
      own home-grown version.
      
      The BKL change has been flagged at the end of
      Documentation/filesystems/porting, along with the recent change to
      ->permission BKL usage.
      0aa838c6
    • Linus Torvalds's avatar
      Merge http://linux-ntfs.bkbits.net/ntfs-tng-2.5 · 2d4d6186
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      2d4d6186
    • Linus Torvalds's avatar
      Merge bk://linux-input.bkbits.net/linux-input · e21a85a7
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e21a85a7
    • Kai Germaschewski's avatar
      Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make · d1de9834
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      d1de9834
  4. 04 Jul, 2002 15 commits
    • Petko Manolov's avatar
      [PATCH] pegasus & rtl8150 · 9dbfec80
      Petko Manolov authored
      I chose a little bit more restrictive license for my drivers.
      Rx skb pool introduced in pegasus driver and the pool locking in rtl8150
      is refined.
      9dbfec80
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/viro · 75eead62
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      75eead62
    • Alexander Viro's avatar
      [PATCH] ->i_dev switched to dev_t · 88cc0d3e
      Alexander Viro authored
      	* ->i_dev followed the example of ->s_dev - it's dev_t now.  All
      remaining uses of ->i_dev either outright want dev_t (stat()) or couldn't
      care less (printing major:minor in /proc/<pid>/maps, etc.)
      88cc0d3e
    • Alexander Viro's avatar
      [PATCH] assorted kdev_t cleanups in filesystems · c9add9b8
      Alexander Viro authored
      	* JFS uses its ->logdev only twice - one of the places assigns
      it to_kdev_t(le32_to_cpu(...)), another uses kdev_t_to_nr() of it.
      Switched to u32 - it's just a place where we store device number we'd got
      from superblock.
      	* several reiserfs_fs.h function prototypes removed - functions
      in question don't exist anymore.
      	* smbfs doesn't support device nodes; ->f_rdev removed.
      c9add9b8
    • Alexander Viro's avatar
      [PATCH] ex_dev switched to dev_t · ab6a5810
      Alexander Viro authored
      	* svc_export ->ex_dev turned into dev_t.  It's a pure search
      key and all places that set it actually do to_kdev_t(some_dev_t_expression).
      ab6a5810
    • Alexander Viro's avatar
      [PATCH] raid kdev_t cleanups - part 3 · dc5d0e46
      Alexander Viro authored
      	* ->dev killed for md/linear.c (same as previous parts)
      dc5d0e46
    • Alexander Viro's avatar
      [PATCH] md_import_device() cleanup · b60f0c2b
      Alexander Viro authored
      	* md_import_device() returns resulting rdev or ERR_PTR(error)
      instead of returning 0 or error an letting caller find rdev.
      b60f0c2b
    • Alexander Viro's avatar
      [PATCH] raid kdev_t cleanups - part 2 · 881c3bc1
      Alexander Viro authored
      	* a bunch of callers of partition_name() are calling
      bdev_partition_name(),
      	* the last users of raid1 and multipath ->dev are gone; so are
      the fields in question.
      881c3bc1
    • Alexander Viro's avatar
      [PATCH] raid ->diskop() splitup · f3ddcd6b
      Alexander Viro authored
      	* ->diskop() split into individual methods; prototypes cleaned
      up.  In particular, handling of hot_add_disk() gets mdk_rdev_t * of
      the component we are adding as an argument instead of playing the games
      with major/minor.  Code cleaned up.
      f3ddcd6b
    • Alexander Viro's avatar
      [PATCH] raid kdev_t cleanups (part 1) · 480f4106
      Alexander Viro authored
      	* ->error_handler() switched to struct block_device *.
      	* md_sync_acct() switched to struct block_device *.
      	* raid5 struct disk_info ->dev is gone - we use ->bdev everywhere.
      	* bunch of kdev_same() when we have corresponding struct block_device *
      and can simply compare them is removed from drivers/md/*.c
      480f4106
    • Alexander Viro's avatar
      [PATCH] kdev_t crapectomy · a99f1593
      Alexander Viro authored
      	* since the last caller of is_read_only() is gone, the function
      itself is removed.
      	* destroy_buffers() is not used anymore; gone.
      	* fsync_dev() is gone; the only user is (broken) lvm.c and first
      step in fixing lvm.c will consist of propagating struct block_device *
      anyway; at that point we'll just use fsync_bdev() in there.
      	* prototype of bio_ioctl() removed - function doesn't exist
      anymore.
      a99f1593
    • Alexander Viro's avatar
      [PATCH] cdrom.c cleanups · 67addbac
      Alexander Viro authored
      	* Bunch of functions in cdrom.c used to get kdev_t and use it
      only to do cdrom_find_device(dev), even though their callers already
      had struct cdrom_device_info * in question.  Switched to passing
      said pointer directly.
      	* useless exports removed; stuff not used outside of cdrom.c
      made static.
      67addbac
    • Alexander Viro's avatar
      [PATCH] (md.c) block device size cleanups · 123caef2
      Alexander Viro authored
      	* calc_dev_sboffset() and calc_dev_size() in md.c are getting
      mk_rdev_t instead of kdev_t.  Callers updated.
      	* calls of blkdev_size_in_bytes() in md.c replaced with use
      of rdev->bdev->bd_inode->i_size.
      123caef2
    • Alexander Viro's avatar
      [PATCH] devpts cleanup · 2aa85937
      Alexander Viro authored
      	* devpts "upcalls" eliminated.
      	* instead of playing games with revalidation we simply use
      ramfs-style tree and kill dentries upon devpts_pty_kill().  That
      allows to get rid of a lot of code in fs/devpts/*.c.
      	* devpts_fs.h cleaned up.
      	* devpts/root.c and devpts/devpts_i.h removed.
      	* array of pointers to devpts inodes killed; with ramfs-style tree
      it's not needed anymore.
      	* devpts/inode.c cleaned up.
      	* devpts_pty_new() used to get mk_kdev() only to convert it to
      dev_t (hardly a surprise, since it's mknod() in disguise).  Now it gets
      dev_t as an argument.
      2aa85937
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/akpm · 78f1f626
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      78f1f626