1. 24 Apr, 2003 3 commits
  2. 23 Apr, 2003 37 commits
    • Stephen Hemminger's avatar
      520372a5
    • Stephen Hemminger's avatar
      6eb563a4
    • Andrew Morton's avatar
      [PATCH] fix typo in m68k mm code · 4974e6fc
      Andrew Morton authored
      Looks like my finger fell off the control key..
      4974e6fc
    • Andrew Morton's avatar
      [PATCH] warning fixes · de9dbbe7
      Andrew Morton authored
      Fix some warnings from the new code-patching stuff.
      de9dbbe7
    • Andrew Morton's avatar
      [PATCH] print IRQ handler addresses · f1cd7ffc
      Andrew Morton authored
      - Fix printk bug in the diagnostic code.
      
      - If an error occurs, print the address of all the offending action
        handlers.  Also the symbol name if CONFIG_KALLSYMS.
      f1cd7ffc
    • Christoph Hellwig's avatar
      [PATCH] fix dasd open/release · 110748e8
      Christoph Hellwig authored
      The invalidate_buffers in ->release is wrong, get a reference to the
      discipline in the beginning of ->open.
      110748e8
    • Christoph Hellwig's avatar
      [PATCH] remove a wrong invalidate_bdev from ide-disk.c · 8bdd4c06
      Christoph Hellwig authored
      This one probably crept in during an ide merge from 2.4..
      8bdd4c06
    • Christoph Hellwig's avatar
      [PATCH] update s390 tape_block for 2.5 APIs · e7599517
      Christoph Hellwig authored
      It looks like no one even tried to use it on 2.5..
      e7599517
    • Christoph Hellwig's avatar
      [PATCH] fix devfs_mk_dir prototype · 188858aa
      Christoph Hellwig authored
      Return an error code instead of a devfs_handle_t.  The handle isn't
      useful for anything and the !CONFIG_DEVFS_FS stub in fact returned
      NULL which made it entirely useless.  Thus only one driver is actually
      checking the retval in the current tree..
      188858aa
    • Christoph Hellwig's avatar
      [PATCH] don't include devfs_fs_kernel.h in global headers · 4d009152
      Christoph Hellwig authored
      Now that devfs_handle_t is gone from all structs there is no
      reason to include it in headers.
      
      Fix the fallout by including previously implicit headers and fixing
      the drivers that didn't include devfs_fs_kernel.h explicitly.
      4d009152
    • Christoph Hellwig's avatar
      [PATCH] don't use mem_map_reserve/mem_map_unreserve · a7fe32f7
      Christoph Hellwig authored
      They are obsfucating aliases for SetPageReserved/ClearPageReserved.
      And once they're gone we can nuke <linux/wrapper.h>
      a7fe32f7
    • Christoph Hellwig's avatar
      [PATCH] kill LOCAL_END_REQUEST · e3408ae9
      Christoph Hellwig authored
      And uninline end_request - it's calling to many functions to be useful
      inline.
      e3408ae9
    • Christoph Hellwig's avatar
      [PATCH] split initrd from ramdisk driver · ab941afd
      Christoph Hellwig authored
      They don't have any code in common, so the initrd support can
      go into a separate file and not require ramdisk support.
      
      Lots of ifdefs gone and smaller kernel images for initrd users.
      ab941afd
    • Linus Torvalds's avatar
      Since "apply_alternatives()" also runs at module load time it must · 536ab54b
      Linus Torvalds authored
      not be marked __init.
      
      Noted by Petr Vandrovec
      536ab54b
    • Alexander Viro's avatar
      [PATCH] tty cleanups (12/12) · a448f0d8
      Alexander Viro authored
      	* we allow tty_driver to cover more than 256 devices
      	* pty.c cleaned up - now we only one driver for UNIX98 masters and
      only one driver for UNIX98 slaves, so a lot of ugliness can be killed.
      	* get_tty_driver() became an analog of get_gendisk() - it does
      a lookup by device number and gives (pointer to tty_driver,index).
      	* registration/unregistration of tty_driver updated
      	* /proc/tty/drivers code updated (now one structure can be responsible
      for several lines)
      a448f0d8
    • Alexander Viro's avatar
      [PATCH] tty cleanups (11/12) · 2b4107a8
      Alexander Viro authored
      	tty->device switched to dev_t
      	There are very few uses of tty->device left by now; most of
      them actually want dev_t (process accounting, proc/<pid>/stat, several
      ioctls, slip.c logics, etc.) and the rest will go away shortly.
      2b4107a8
    • Alexander Viro's avatar
      [PATCH] tty cleanups (10/12) · 50dceaae
      Alexander Viro authored
      Preparations to cleanup:
      	* call of get_tty_driver() moved from init_dev() to its callers
      	* instead of kdev_t dev we pass struct tty_struct *driver and int index
      50dceaae
    • Alexander Viro's avatar
      [PATCH] tty cleanups (9/12) · b695aea2
      Alexander Viro authored
      	* drivers/char/rio/* supports up to 4 boards, each with up to 128
      lines.  It used to share termios for 1st/3rd and 2nd/4th boards,  Fixed.
      	* cleanups and kdev_t removals - we pass tty instead of tty->device
      in a couple of helper functions and instead of comparisons on major(tty->device)
      we check where does tty->driver point to.
      b695aea2
    • Alexander Viro's avatar
      [PATCH] tty cleanups (8/12) · b0f9668c
      Alexander Viro authored
      	* generic_serial.c typo fix (->driver used instead of correct
      ->driver_data)
      	* tubio cleaned up
      b0f9668c
    • Alexander Viro's avatar
      [PATCH] tty cleanups (7/12) · ce2b651f
      Alexander Viro authored
      	sanitized driver->driver_name initialization and use
      ce2b651f
    • Alexander Viro's avatar
      [PATCH] tty cleanups (6/12) · 34512747
      Alexander Viro authored
      	tty->tty_index added; we initialize it with minor(tty->device) -
      tty->driver->minor_start.  Majority of remaining tty->device uses had
      that form and are switched to use of tty->index.
      34512747
    • Alexander Viro's avatar
      [PATCH] tty cleanups (5/12) · 07462df3
      Alexander Viro authored
      	new field - tty->tty_name;
      	initialized to <driver->name><tty index+driver->base_name>
      when we allocate tty_struct.  Drivers code switched to use of that
      beast (in debugging printks, mostly).  Large, but trivial.
      07462df3
    • Alexander Viro's avatar
      [PATCH] tty cleanups (4/12) · 2dca0cd5
      Alexander Viro authored
      	Instead of registering "drivers" for /dev/tty, /dev/vc/0, /dev/ptmx
      and /dev/console (they are never looked up since tty_open() special-cases
      them and they should not be looked up - these devices are remapped on open)
      we register corresponding chrdev ranges and devfs nodes directly.
      	/proc/tty/drivers code updated to keep the contents unchanged
      2dca0cd5
    • Alexander Viro's avatar
      [PATCH] tty cleanups (3/12) · 7e411172
      Alexander Viro authored
      	/proc/tty/drivers converted to seq_file
      7e411172
    • Alexander Viro's avatar
      [PATCH] tty cleanups (2/12) · 27e8099f
      Alexander Viro authored
      	Instead of copying tty_driver into tty_struct we put a reference
      in there.  tty->driver turned into a pointer, users updated.  Large, but
      trivial
      27e8099f
    • Alexander Viro's avatar
      [PATCH] tty cleanups (1/12) · 352cf636
      Alexander Viro authored
      	Christoph's fix for devfs problems with pty.
      352cf636
    • Art Haas's avatar
      8d1f37c2
    • Art Haas's avatar
      c98ba649
    • Art Haas's avatar
      5e47d67a
    • Steven Cole's avatar
      [PATCH] Avast there ye swabs, prepare to fire a broadside! · 2985ad5c
      Steven Cole authored
      Chuck Ebbert notes that kernel developers are apparently pirates in the
      _original_ meaning of the word, and like to "cannonicalize".
      
      I prepared a patch in case anyone cares enough about this.  I tested on
      i386 by building and booting.
      2985ad5c
    • Pavel Machek's avatar
      [PATCH] Fix SWSUSP & !SWAP · cfdffa91
      Pavel Machek authored
      Swsusp without swap makes no sense, and leads to compilation
      failure.  So make the dependency clear in the config files.
      cfdffa91
    • Ben Collins's avatar
      [PATCH] IEEE1394/Firewire updates · 3ed2969b
      Ben Collins authored
      - Workaround possible reset loop trying to get IRM sanity
      - Logical Unit DIrectory (LUN) support for sbp2(scsi) devices.
      - Fix hostnum allocation.
      - Whitespace and formatting sync with 2.4 branch.
      - Make pcilynx return IRQ_NONE for no interrupts to handle.
      3ed2969b
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia · 83e410b8
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      83e410b8
    • Russell King's avatar
      [PCMCIA] Make cb_release_cis_mem() local to cardbus.c · 41c5d533
      Russell King authored
      The cardbus CIS parsing code does not use the PCMCIA resource
      subsystem, so there isn't any point in freeing its memory when
      we remove PCMCIA memory resources.  We also free CIS resources
      immediately prior to calling cb_free().  We might as well move
      the function call into cb_free(), thereby making all references
      to cb_release_cis_mem() local to cardbus.c
      41c5d533
    • Russell King's avatar
      [PCMCIA] Don't cache CIS bytes found to be invalid. · 4de24fcf
      Russell King authored
      Several PCMCIA cards I have here do not work correctly over a
      suspend/resume cycle; the PCMCIA code believes that the card has
      been changed in the slot, and therefore performs a remove/insert
      cycle.
      
      This seems to be because the card returns more or less random data
      when reading memory space, leading to the CIS cache mismatching
      the card data.  This in turn is caused because we try to read CIS
      data from both the attribute and memory spaces, and we add the result
      to the CIS cache whether or not the returned data was valid.
      
      We therefore convert the CIS cache to use a linked list, and provide
      a way to remove cached data from that list.  We also replace the
      "s->cis_used=0;" construct with a function "destroy_cis_cache(s)"
      which clearly describes what we're doing.
      4de24fcf
    • Pavel Roskin's avatar
      [PCMCIA] Fix oops in validate_mem when CONFIG_PCMCIA_PROBE=n · 568c3355
      Pavel Roskin authored
      If I compile a recent 2.5.x kernel without CONFIG_ISA defined, I get
      an oops in validate_mem().  Stack trace contains 0x6b6b6b6 - a clear
      sign that freed memory is being accessed.
      
      It's the second validate_mem() in drivers/pcmcia/rsrc_mgr.c - the one
      used when CONFIG_PCMCIA_PROBE is not defined.  It turns out the memory
      is freed in do_mem_probe() when it's called from validate_mem().
      
      The solution is to use the same trick as in the first validate_mem().
      This problem is quite serious and it's not specific to the plx9052
      driver. I see it with yenta_socket as well.
      568c3355
    • Christoph Hellwig's avatar
      [PCMCIA] remove unused files · 56d6223f
      Christoph Hellwig authored
      From Christoph Hellwig
      
      There's no need to keep the stubs around.
      56d6223f