1. 27 Apr, 2003 15 commits
  2. 25 Apr, 2003 1 commit
  3. 24 Apr, 2003 24 commits
    • Michael Hunold's avatar
      [PATCH] Fix mxb.c stack usage · 4971461f
      Michael Hunold authored
      This does the following:
       - make initialization data for helper chipsets (saa7111 and saa7740)
         static and with file scope
      
      Additionally fixes:
       - don't use irq driven i2c transfer when saa7740 is present (this screws
         up the i2c bus and may hang the computer)
       - add MODULE_DEVICE_TABLE to allow /sbin/hotplug to handle the device
      4971461f
    • Andrew Morton's avatar
      [PATCH] jiffy type warning fixes · ad6d2e6d
      Andrew Morton authored
      Fix various places which aren't using unsigned long for jiffies.
      
      Also other warnings and compilation errors as encountered.
      ad6d2e6d
    • Andrew Morton's avatar
      [PATCH] bttv warning fix · bcf1f7c6
      Andrew Morton authored
      Fix a bttv compile warning
      bcf1f7c6
    • Andrew Morton's avatar
      [PATCH] watchdog driver compile fixes · 55824fe1
      Andrew Morton authored
      The header file cleanups bite.  All these watchdog drivers need fs.h for
      struct inode, struct file, etc.
      55824fe1
    • Andrew Morton's avatar
      [PATCH] parkbd.c jiffies fix · 8af14887
      Andrew Morton authored
      - jiffies is unsigned long
      
      - don't zero-init BSS.
      8af14887
    • Andrew Morton's avatar
      [PATCH] various irqreturn_t fixes · 87282629
      Andrew Morton authored
      Basically a mop-up of missed bits.  Also fix various warnings and compilation
      errors.
      87282629
    • Andrew Morton's avatar
      [PATCH] CPU flags fixes · a8ebd4db
      Andrew Morton authored
      teach various drivers that the CPU flags require unsigned long
      a8ebd4db
    • Andrew Morton's avatar
      [PATCH] sound driver fixes · 6e2069a6
      Andrew Morton authored
      All these drivers have a return hidden in a macro and I missed the lot in the
      first pass due to some config option not begin set.
      6e2069a6
    • Andrew Morton's avatar
      [PATCH] irqs: scsi · 07cb9c97
      Andrew Morton authored
      Update SCSI drivers for the new IRQ API.  Also fix warnings and compilation
      errors as encountered.
      07cb9c97
    • Andrew Morton's avatar
      [PATCH] irqs: char drivers · 72743970
      Andrew Morton authored
      Fix up various char drivers for the IRQ API change.  Also IDE, ISDN and i2o
      bits.  Fix various warnings and compilation errors.
      72743970
    • Andrew Morton's avatar
      [PATCH] irqs: drivers/block · 437ce181
      Andrew Morton authored
      Mop up various block and cdrom drivers.  Also fix a bunch of warnings and
      compilation failures.
      437ce181
    • Andrew Morton's avatar
      [PATCH] irqs: ATM · a688bf88
      Andrew Morton authored
      Update ATM drivers to new IRQ API
      a688bf88
    • Andrew Morton's avatar
      [PATCH] Fix IRQ_NONE clash · 153dec02
      Andrew Morton authored
      Several scsi drivers are already using an IRQ_NONE.  Rename that to
      SCSI_IRQ_NONE.
      153dec02
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] fix mismatched access_ok() checks in sg_io() · 72e471e7
      Bartlomiej Zolnierkiewicz authored
      I found this while doing bio_map_user() changes.
      
      Acked by Jens.
      72e471e7
    • Jens Axboe's avatar
      [PATCH] cleanup bio_map_user and helper · 3bec8a5a
      Jens Axboe authored
      Bart did this patch, I changed it a bit. Basically it cleans the mapping
      interface up a bit, and adds a little helper to set up the request from
      the bio.
      
      In addition, it fixes a long standing bug where bio_map_user() would
      call blk_queue_bounce() without the direction bit being set, auch.
      
       - Abstract out bio request preparation
       - Have bio_map_user() set data direction (fixes bug where blk_queue_bounce()
         is called without it set)
       - Split bio_map_user() in two
      3bec8a5a
    • Christoph Hellwig's avatar
      [PATCH] use file->private_data in ide-tape · 2f2ba9da
      Christoph Hellwig authored
      So we don't have to lookup the private data everytime.
      2f2ba9da
    • Christoph Hellwig's avatar
      [PATCH] kill <linux/wrapper.h> · 0d3db480
      Christoph Hellwig authored
      Kill one user of mem_map_reserve/mem_map_unreserve I missed the
      last time and it can go away.
      0d3db480
    • Anton Blanchard's avatar
      [PATCH] ppc64 needs setup-bus.c · 17029636
      Anton Blanchard authored
      17029636
    • Alexander Viro's avatar
      [PATCH] ppc boot device selection cleanup · e8618032
      Alexander Viro authored
      	PPC logics for choice of default boot device number switched to
      dev_t.  Rationale: it belongs to userland; we notice partitions with
      certain properties and choose one of them as the best candidate for
      being a root fs; then we put the resulting device number into ROOT_DEV,
      which has only one use - it's passed to mknod(2) to create a device node
      on rootfs and allow mount(2) get us the final root.
      
      	IOW, all that code has nothing whatsoever with kernel internals
      of any description - the value we are generating will be passed to
      mknod(2) anyway.  Switched to dev_t.
      
      	Note: that code should eventually be moved to early userland.
      e8618032
    • Alexander Viro's avatar
      [PATCH] invalidate_device()/check_disk_change() fixes · 91b58109
      Alexander Viro authored
      	* bogus calls of invalidate_buffers() gone from floppy_open()
      	* invalidate_buffers() killed.
      
      	* new helper - __invalidate_device(bdev, do_sync).  invalidate_device()
      is calling it.
      
      	* fixed races between floppy_open()/floppy_open and
      floppy_open()/set_geometry():
      	a) floppy_open()/floppy_release() is done under a semaphore.  That
      closes the races between simultaneous open() on /dev/fd0foo and /dev/fd0bar.
      	b) pointer to struct block_device is kept as long as floppy is
      opened (per-drive, non-NULL when number of openers is non-zero, does not
      contribute to block_device refcount).
      	c) set_geometry() grabs the same semaphore and invalidates the
      devices directly instead of messing with setting fake "it had changed"
      and calling __check_disk_change().
      
      	* __check_disk_change() killed - no remaining callers
      	* full_check_disk_change() killed - ditto.
      91b58109
    • Alexander Viro's avatar
      [PATCH] capifs cleanup · 45065e10
      Alexander Viro authored
      	capifs switched to ramfs-style tree and cleaned up; it's the same
      changes that had been done its prototype (devpts) + stuff needed to
      deal with unload (devpts is non-modular and always internally mounted).
      45065e10
    • Alexander Viro's avatar
      [PATCH] fbdev cleanup · 18f26566
      Alexander Viro authored
      	fbdev.node converted from kdev_t to int - all of its users
      have register_framebuffer() which sets .node to mk_kdev(FB_MAJOR, index)
      already called and all of them start with applying minor().  IOW, what
      they actually want is framebuffer number.
      
      	* type of ->node changed to int
      	* register_framebuffer() sets it to index instead of mk_kdev(...)
      	* users converted from minor(foo.node) to foo.node
      	* useless assignments (typically to NODEV) removed - we never
      look at that field before register_framebuffer() overwrites it and thus
      any assignments prior to register_framebuffer() call are dead code.
      18f26566
    • Alexander Viro's avatar
      [PATCH] console cleanup (2/2) · 4310d2e1
      Alexander Viro authored
      	Console drivers cleanup.  In current tree interaction between
      console and tty layer sits in the ->device() method of struct console.
      It takes a pointer to console and returns device number of its tty
      device.  open(2) on /dev/console goes through the list of registered
      consoles, picks the first one that has ->device() and remaps the device
      number to console->device(console).  Then it proceeds with normal
      opening of tty.  This is the only caller of ->device().
      
      	Cleanup: let ->device() return a pair (pointer to tty_driver, index
      of tty in question) instead of device number.  Note that
      	a) the first thing tty_open() does with remapped device number is
      conversion to such pair.
      	b) console driver _knows_ which tty_driver we want - one that
      implements tty interface to the same physical device (i.e. the part of
      the same driver).
      	c) current code expects the result of ->device() to be a device
      number of tty device - anything else is immediate -ENODEV from tty_open();
      might as well have NULL ->device in that driver.
      
      	Console drivers converted, (the only) caller updated.
      4310d2e1
    • Alexander Viro's avatar
      [PATCH] console cleanup (1/2) · b7d752fb
      Alexander Viro authored
      	Preparation to console->device() cleanup: serial drivers converted
      to common helper for their ->device() methods.
      b7d752fb