1. 22 May, 2002 8 commits
    • Martin Dalecki's avatar
      [PATCH] 2.5.17 IDE 66 · 6b4fef7a
      Martin Dalecki authored
       - Move ll_10byte_cmd_build to the only place where it's used: ide-cd.  The SCSI
         layer does have it's own implementation which additionally it's messing
         around with the hard_nr_sectors struct request value.  One should *not*
         provide "infrastructure" until its really used as such.
      
         If anywhere this should reside in a file called ATAPI.
      
       - Unfold the INIT_REQUEST macro from blk.h. This showed up plenty of duplicate
         checks for QUEUE_EMPTY. Clean them as well. Remove the over cautious
         major(CURRENT->rq_dev != MAJOR_NR) checks. During the last several years I
         never saw any report about it. Looking at the !CURRENT->bio it is clear that
         dereferencing NULL will provide the same kind of panic as the check.  Some
         comments around the code in question show nicely that indeed INIT_REQUEST
         was a good example of code obfuscation.
      
       - A short look at RQ_INACTIVE shows that it is only used inside the scsi.c file
         and during the removal of devices. This shows that the many checks for
         RQ_INACTIVE are not necessary. Looking closer even shows that some of them
         did happen before checks for an empty queue. Plenty of drivers didn't care
         about it and the CD-ROM ones should be handled properly, because the
         most common drivers would fail as well. Comments indicate that this
         was an leftover from 1.3 days...
      6b4fef7a
    • Martin Dalecki's avatar
      [PATCH] 2.5.17 IDE 65 · 69479390
      Martin Dalecki authored
       - Apply cleanup of host chip drivers by Bartomiej Zonierkiewicz:
      
           affected drivers - aec62xx.c, alim15x3.c, cmd64x.c, hpt34x.c, sis5513.c
      
           new tuning scheme (wip) part 1:
      	- introduce ratemask()
      	- use ata_timing_mode()
      	- use ide_config_drive_speed() return value
      
           forward port from convert.10:
      	- support for AEC6280, AEC6280R
      	- misc cleanups
      
           I had to fix a small typo in sis5513 code...
      
       - Add a new entry for an old VIA cell hiding as something new.
         (Pointed out by Kees Bakker.)
      
       - Make the synchronization token active resident on the same level as the
         spin lock. They interact with each other.
      
       - Synchronize with linux-2.5.17.
      
       - HPT366 driver typo fix by Andries Brouwer.
      
       - Export udma_tcq_enable() symbol right now. The blk_get_request() is undefined
         as well.
      69479390
    • Alexander Viro's avatar
      [PATCH] rd.c blocksize handling · d8479cd9
      Alexander Viro authored
      	Unlike other drivers, rd.c wants block size to be set once an
      forever (for everybody else setting block size as high as possible and
      letting filesystems change it with set_blocksize() is OK; rd.c treats
      invalidate_buffers() as "kill the ramdisk contents".
      d8479cd9
    • Alexander Viro's avatar
      [PATCH] new helpers for /proc · ec3a47e7
      Alexander Viro authored
      new helpers for seq_file - for cases where we don't have a non-trivial
      iterator and just want to use seq_{printf,putc,...}.
      ec3a47e7
    • Alexander Viro's avatar
      [PATCH] clean up readdir() for in-memory · c6e6354f
      Alexander Viro authored
      sane readdir() for ramfs-style filesystems
      c6e6354f
    • Alexander Viro's avatar
      [PATCH] kill ->i_op->revalidate() · cc41b90f
      Alexander Viro authored
      kill ->i_op->revalidate()
      cc41b90f
    • Alexander Viro's avatar
      [PATCH] remove s390 procfs abuses · e3b08ca8
      Alexander Viro authored
      massive crapectomy in s390 code - removed procfs abuses
      e3b08ca8
    • Alexander Viro's avatar
      [PATCH] add proper ->getattr() · 1d13173b
      Alexander Viro authored
       add proper ->getattr(), clean up do_getattr() and friends.
      1d13173b
  2. 21 May, 2002 32 commits