1. 02 Apr, 2002 7 commits
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 28a · 5be8243b
      Martin Dalecki authored
      - Apply Pavel Macheks suspend resume double resume fix.
      
      - Finally remove the busy field for ata_operations and replace it with
         MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT.
      
      - Fix ali15xx chipset support by removing initialization differences,
         apparently caused by mislead interpretation of the specs or a mismatch
         between the specification and reality.
      
      - Guard calls to ide_set_handler with checks to see whatever the previously
         installed IRQ handler already served it's purpose.
      
      - Convert timeout checks on poll_timeout to the time_before() interface.
      
      - Consolidate the two different IRQ handlers for multi mode PIO writes into
         one. The problems remain the same but at least now we will only have to
         tangle one single problem.
      5be8243b
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 27 · ff3c2cbb
      Martin Dalecki authored
      - Make for less terse error messages in ide-tape.c.
      
      - Replaced all timecomparisions done by hand with all the proper timer_after()
         commands.
      
      - Remove the drive niec1 mechanisms alltogether. There are several reasons for
         this:
      
         1. The code implementing it is nonintelliglible and therefore propably
         broken.
      
         2. If we have to invent somethig about sceduling drive IO, it should be done
         on the BIO level.
      
         3. We may in fact interleave with the IO sceduling on the upper layers and
         the results of two overlapping signal filters overlapped with each other can
         be disasterous to the overall throughput. (In fact they *are* most of the
         time.)
      
         4. It was not working if you had intermixed modes on different drives
         DMA versus PIO.
      
         5. Our goal is to have a driver which is able to share the badwidth
         properly and shouldn't needing this kind of "tuning".
      
      - Remove unused nice2 from disk struct.
      
      - Rename channel member of ata_channel to unit and device to dev to
         just prevent wrong interpretations. This prevents constructs like
         channel->channel...
      ff3c2cbb
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 26 · d1372f76
      Martin Dalecki authored
      - Mark all members of structures, which get jiffies assigned or involved in
         ugly timeout calculations with the prefix PADAM_  for easy spotting. This is
         Polish for "I'm falling down" or "This brings me to the knees" or slag
         comment for "What a sh..". Please be assured that it doesn't sound vulgar.
      
         Please grep for it to see immediately why this nomenclature is justified.
      
      - Rename hwifs_s to ata_channel and eliminate ide_hwifs_t as well as the HWIF
         macro. OK this step makes this patch rather big.
      d1372f76
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 25 · e07a6a66
      Martin Dalecki authored
      - Replace the task_io_reg_t with the simple u8. There is no need to obfuscate
         the code more then necessary.
      
      - kill some unnecessary type definitions out from hdreg.h.
      
      - Add proper attributes to register files in hdreg.h.
      
      - Don't use raw arrays for tfRegister and hobRegister in ide_task_s.  Use out
         nice global structures describing the fields in them.  This allows to kill
         the following defines:
      
           IDE_DATA_OFFSET
           IDE_FEATURE_OFFSET
           IDE_NSECTOR_OFFSET
           IDE_SECTOR_OFFSET
           IDE_LCYL_OFFSET
           IDE_HCYL_OFFSET
           IDE_SELECT_OFFSET
           IDE_COMMAND_OFFSET
      
         and many many others.
      
      - Please have a look at the following in pdc4030.c. It couldn't have worked!
         This has been fixed in one go with the above change:
      
         memcpy(args.hobRegister, NULL, sizeof(struct hd_drive_hob_hdr));
      
      - Kill the redundant *_REG_HOB definitions. They don't help readability in any
         way.
      e07a6a66
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 24 · 4772b236
      Martin Dalecki authored
      - Push BAD_DMA_DRIVE and GOOD_DMA_DRIVE to the ide-pmac.c file, since this is
         the only place where those get used.
      
      - Kill unused fields from the ide_task_s structure. In esp. we pass a task
         attached to a request and not the other way around!
      
      - Rename hwif field to channel in struct ide_drive_s.
      
      - Move the request queue to the level where proper serialization has to happen
         anyway - the channel structure.
      4772b236
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 23 · 869cc357
      Martin Dalecki authored
      - Support for additional Promise controller id's (PDC20276).
      
      - Remove code duplication between do_rw_taskfile and do_taskfile.
         This will evolve into a more reasonable ata_command() function
         finally. The ata_taskfile function has far too many arguments, but
         I favour this over having two different code paths for getting
         actual data to the drive.
      869cc357
    • Alexander Viro's avatar
      [PATCH] initrd issue · 4c1da7a7
      Alexander Viro authored
      Fix initrd problem that appeared back in 2.5.2-pre6 when kdev_t type
      changed and comparison function was incorrectly converted..
      4c1da7a7
  2. 18 Mar, 2002 18 commits
    • Linus Torvalds's avatar
      Update version · 085c9a18
      Linus Torvalds authored
      085c9a18
    • Linus Torvalds's avatar
      51331cc8
    • Hirofumi Ogawa's avatar
      [PATCH] cleanup FAT stuff (2/2) · 695f66cf
      Hirofumi Ogawa authored
      This patch remove unused variable/function/define, and small indent
      cleanup.
      695f66cf
    • Hirofumi Ogawa's avatar
      [PATCH] Fix linux/msdos_fs.h for userland (1/2) · 9285a3a7
      Hirofumi Ogawa authored
      The following patch moves MSDOS_SB() and MSDOS_I() into #define
      __KERNEL__.
      9285a3a7
    • Martin Dalecki's avatar
      [PATCH] 2.5.7-pre2 IDE 22a · 198231a8
      Martin Dalecki authored
      - Apply more patches from Vojtech Pavlik for the handling of host chip setup.
         Hopefully they are settled now.
      
      - Kill unused CONFIG_BLK_DEV_MODES
      
      - Push register addressing down in to task_vlb_sync.
      
      - Make the taskfile parsing stuff actually readable. This is compressing the
         code by an incredible amount. We use just one function doing the whole
         scanning right now. This should make sure that the IRQ handler used by a
         particular command is always right.  I didn't introduce typos hopefully
         here.
      
      - Don't call ide_handler_parser as argument for do_taskfile() any longer. We
         have killed this function by coalescing it's functionality with
         ide_cmd_type_parser() anyway.
      
      - Kill unused SLC90E66 code, which Vojtech apparently missed in his patch.
      
      - sync up with 2.5.7-pre2
      
      Once again the actual patch is rather big mostly due to the removal of
      some default configuration variables which are not used anylonger. So time for
      the next patch stage.
      198231a8
    • Jaroslav Kysela's avatar
      [PATCH] for 2.5.7pre2 · ed0e83f5
      Jaroslav Kysela authored
      - add joystick support for CS46xx driver
      - Audigy code updates
      - fix sound/core/Config.in (wrong dep_tristate usage)
      - rawmidi interface fixes (memory leak)
      - chang spinlock to rwlock in pcm_native.c (streams linking)
      - further fixes of dependencies in Makefiles
      - remove experimental time-sync support from sequencer
      - fix/update for 32-bit -> 64-bit ioctl converter code
      - wavefront driver cleanups
      - CMIPCI driver updates
      - update joystick support in CS4281
      - add detection (not support) of M Audio Delta1010LT
      - add AMD768 PCI ID to intel8x0 driver
      - add joystick code to trident driver
      - remove static variable initialization to zero
      ed0e83f5
    • Andrey Panin's avatar
      [PATCH] driverfs support for ISAPNP driver · 1f19b987
      Andrey Panin authored
      This adds initial driverfs support to ISAPNP driver.  It was approved by
      the ISAPNP maintainer (Jaroslav Kysela).
      1f19b987
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - affs · fe3c9239
      Brian Gerst authored
      Seperates affs_sb_info from struct super_block.
      fe3c9239
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - hfs · e368ea0b
      Brian Gerst authored
      Seperates hfs_sb_info from struct super_block.
      e368ea0b
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - shmem · 4758c319
      Brian Gerst authored
      Seperates shmem_sb_info from struct super_block.
      4758c319
    • Linus Torvalds's avatar
      Automerge · 5326862d
      Linus Torvalds authored
      5326862d
    • Alexander Viro's avatar
      [PATCH] moving stuff to fs/filesystems.c · cfc632c8
      Alexander Viro authored
      	file_system_typer-related code moved from fs/super.c to
      fs/filesystems.c
      cfc632c8
    • Linus Torvalds's avatar
      Merge http://linuxusb.bkbits.net/linus-2.5 · 20f2ef0b
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      20f2ef0b
    • Linus Torvalds's avatar
      Automerge · c3d7ae3b
      Linus Torvalds authored
      c3d7ae3b
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - udf · 27033215
      Brian Gerst authored
      Seperates udf_sb_info from struct super_block.
      27033215
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - isofs · 7d42ccf3
      Brian Gerst authored
      Seperates isofs_sb_info from struct super_block.
      7d42ccf3
    • David Brownell's avatar
      [PATCH] PATCH -- pci_pool and CONFIG_DEBUG_SLAB · b286bd16
      David Brownell authored
      I got burnt one too many time by mismatches between
      the pci_pool and "real" slabs... something changed in
      mm/slab.c and broke a driver, so I'm going for the real
      fix this time.  Having poisoning that _works_ is a huge
      help in the innards of the USB host controller drivers.
      
      This patch gets rid of some #ifdefs and makes the pci_pool
      code poison memory if CONFIG_DEBUG_SLAB is set.
      The functionality has always been there, but this makes
      it simpler to get at.
      b286bd16
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc · ccd6307f
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      ccd6307f
  3. 19 Mar, 2002 2 commits
  4. 18 Mar, 2002 1 commit
  5. 17 Mar, 2002 10 commits
    • David Woodhouse's avatar
      Switch cramfs and zisofs from zlib_fs to common zlib. · a2f1b7bc
      David Woodhouse authored
      Remove remnants of zlib_fs.
      a2f1b7bc
    • David Woodhouse's avatar
      Remove jffs2_sb from struct super_block union. · 5bb3575c
      David Woodhouse authored
      Remove FS_REQUIRES_DEV from JFFS2. We never really used the block device anyway.
      5bb3575c
    • David S. Miller's avatar
      Make wanpipe build again after struct sock cleanups. · 5942e595
      David S. Miller authored
      From Arnaldo Carvalho de Melo.
      5942e595
    • David S. Miller's avatar
      Fix netfilter IPv4 conntrack build. · e2a2533d
      David S. Miller authored
      e2a2533d
    • Taisuke Yamada's avatar
      USB printer patch · 90b49267
      Taisuke Yamada authored
      added NEC printer to quirks list
      90b49267
    • Vojtech Pavlik's avatar
      USB HID driver · a0e5d52b
      Vojtech Pavlik authored
        
      Workaround for the ATEN switches
      a0e5d52b
    • Ganesh Varadarajan's avatar
      USB serial drivers · c3cdeb68
      Ganesh Varadarajan authored
      Several functions in the serial drivers can be called from bottom
      half or interrupt context. They must use the GFP_ATOMIC flag for
      calls to kmalloc() and usb_submit_urb().
        
      Functions which must use GFP_ATOMIC:
      1. All *_callback() functions.
      2. Any code which is inside a spinlock.
      3. write(), throttle(), unthrottle(), which may be called by
         the line discipline in bottom half context.
        
      Functions which can use GFP_KERNEL:
      1. open(), close(), startup(), shutdown(), set_termios().
      c3cdeb68
    • Simon Evans's avatar
      USB catc driver · 869de8b7
      Simon Evans authored
        
      Here is a patch to add support for F5U011 to catc.c driver. The
      patch has been compile tested against 2.5.6 and 2.5.7pre1
      (and tested against 2.5.5-dj1) and should apply cleanly.
      869de8b7
    • Paul Stewart's avatar
      USB Urefs for hid-core/hiddev · 36a9bab9
      Paul Stewart authored
        I've written a patch Vojtech and I discussed for enhancing the
      hiddev code to optionally provide more detailed output on read().
      The old functionality is still supported by default, and in
      situations where HID usage codes are unique across reports, the
      old method is still preferable due to its terseness.
          
        The new method provides the ability to determine exactly which
      value has changed, in cases where the HID usage codes are not  
      unique.  It also provides a means to optionally receive notification
      when input reports are received from the device, whether or not
      any of the values in the report have changed.
      
        The details of the changes are as follows:
        
        - All current code behaves identically
      
        - A new ioctl pair HIDIOCGFLAG/HIDIOCSFLAG gets and clears
          flags on the hiddev device.                             
      
        - If you set the flag HIDDEV_FLAG_UREF, the read() call switches
          from reading hiddev_event structures to hiddev_usage_ref
          structures.  The change takes effect immediately, even to
          already queued events that haven't been read() yet.  Here's
          an example of enabling FLAG_UREF:                          
      
          {
              int flag = HIDDEV_FLAG_UREF;
              if (ioctl(fd, HIDIOCSFLAG, &flag) != 0) {
                      perror("ioctl");
                      exit(1);
              }
          }
        
        - With the HIDDEV_FLAG_REPORT set (which is only allowed if
          HIDDEV_FLAG_UREF is also set), there is a special uref that
          will be read() in addition to the ones corresponding to
          changes in the device state: when uref.field_index is set to
          HID_FIELD_INDEX_NONE, this uref is a notification that the
          report referred to by report_type and report_id has been
          received from the device.  This can be useful in situations
          when the notification of the arrival of a report is useful
          even if there is no change in state.
      36a9bab9
    • David Paschal's avatar
      USB printer update · bb94ccec
      David Paschal authored
      - bind to 7/1/2 alternate setting by default, to fix printing with HP
        LaserJet 1200 and 2200
      - ioctls needed by the GPL user-mode IEEE 1284.4 driver which is part of
        the HP OfficeJet Linux driver (http://hpoj.sourceforge.net):
        - dynamic switching between 7/1/[123] alternate settings
        - sending HP vendor-specific channel-change-request to support
          memory card readers on HP PhotoSmart printers
        - inquire more information about the peripheral, including
          /proc/bus/usb/xx/yy linkage to get even more information
      - fix apparent array overflow (by 1 entry) in usblp_probe when more than
        the maximum number of USB printers are connected
      - for the 2.2 version, added MODULE_{INC,DEC}_USE_COUNT to prevent rmmoding
        of printer.o (and subsequent OOPSes) while a USB printer device is open
      - cleaned up the code in a few places by consolidating duplicated code
      bb94ccec
  6. 16 Mar, 2002 2 commits