- 23 Apr, 2003 27 commits
-
-
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.
-
Alexander Viro authored
* generic_serial.c typo fix (->driver used instead of correct ->driver_data) * tubio cleaned up
-
Alexander Viro authored
sanitized driver->driver_name initialization and use
-
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.
-
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.
-
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
-
Alexander Viro authored
/proc/tty/drivers converted to seq_file
-
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
-
Alexander Viro authored
Christoph's fix for devfs problems with pty.
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-
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.
-
Pavel Machek authored
Swsusp without swap makes no sense, and leads to compilation failure. So make the dependency clear in the config files.
-
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.
-
bk://bk.arm.linux.org.uk/linux-2.5-pcmciaLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
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
-
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.
-
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.
-
Christoph Hellwig authored
From Christoph Hellwig There's no need to keep the stubs around.
-
Pavel Roskin authored
Patch from Pavel Roskin ds.h should not be including linux/device.h when compiling userspace code.
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andy Grover authored
-
Andy Grover authored
into groveronline.com:/root/bk/linux-acpi
-
Andy Grover authored
-
Linus Torvalds authored
-
- 22 Apr, 2003 13 commits
-
-
David S. Miller authored
-
Rob Radez authored
-
Hideaki Yoshifuji authored
-
Jeff Smith authored
-
David Stevens authored
-
David Stevens authored
-
David S. Miller authored
-
David S. Miller authored
-
Arnaldo Carvalho de Melo authored
I had to move the rtnetlink_init and init_netlink calls to af_netlink init time, so that the sk_alloc called down the rtnetlink_init callchain is done after the PF_NETLINK net_proto_family is sock_registered, and because of that the af_netlink init function call had to be moved to earlier by means of subsys_initcall (DaveM's suggestion).
-
Eric Brower authored
-
Pete Zaitcev authored
-
Shachar Shemesh authored
This fixes a mismatch in declaration between "irport_interrupt" in the header files (returning void) and in the definition (returning irqreturn_t).
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-