1. 23 Apr, 2003 32 commits
    • 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
    • Pavel Roskin's avatar
      [PCMCIA] Fix compilation of cardmgr · 561bd7b7
      Pavel Roskin authored
      Patch from Pavel Roskin
      
      ds.h should not be including linux/device.h when compiling userspace
      code.
      561bd7b7
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · 70ced8bf
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      70ced8bf
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.5 · b3d4c027
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      b3d4c027
    • Andy Grover's avatar
      05304b9d
    • Andy Grover's avatar
      Merge groveronline.com:/root/bk/linux-2.5 · 608c858e
      Andy Grover authored
      into groveronline.com:/root/bk/linux-acpi
      608c858e
    • Andy Grover's avatar
      ACPI: Add missing include · 732be2ea
      Andy Grover authored
      732be2ea
    • Linus Torvalds's avatar
      f52d1d03
  2. 22 Apr, 2003 8 commits