summaryrefslogtreecommitdiff
path: root/drivers/char/serial167.c
AgeCommit message (Collapse)Author
2003-09-23[PATCH] switch remaining serial drivers to initcallsAndrew Morton
From: Christoph Hellwig <hch@lst.de> All drivers that compile on ppc with CONFIG_ISA set (= all but some m68-only drivers), I looked at the compile warnings very closely and there are no new warnings or even errors this time :) drivers/char/Makefile needed to be reordered big time to keep the intialization order the same.
2003-06-11[PATCH] tty_driver refcountingAlexander Viro
drivers/char/serial167.c converted to dynamic allocation
2003-06-11[PATCH] tty_driver refcountingAlexander Viro
killed the last remnants of callout stuff - we don't need to mess with storing termios privately anymore.
2003-06-11[PATCH] tty_driver refcountingAlexander Viro
->table[], ->termios[] and ->locked_termios[] allocated dynamically in tty_register_driver() and freed in tty_unregister_driver(). Per-driver arrays gone.
2003-06-11[PATCH] tty_driver refcountingAlexander Viro
->refcount switched from int * to int. Per-driver variables gone since we had switched from int foo = 0; driver.refcount = &foo; to driver.refcount = 0;
2003-06-05[PATCH] Fix tty devfs messAndrew Morton
From: Christoph Hellwig <hch@lst.de> Currently the tty code abuses tty_driver.name as the prefix for the devfs names of the ttys. This is a very bad idea because it means the tty name changes depending on whether devfs is enabled or not, leading to different names in /proc/tty/ depending on whether we have devfs or not (and not whether it actually is mounted!) and a huge amount of ifdefs. The patch below adds a .devfs_name member instead, similar to the block device changes a few weeks ago.
2003-05-26[PATCH] callout removal: serial167Alexander Viro
callout removal: serial167
2003-05-24[PATCH] M68k IRQ API updates [14/20]Geert Uytterhoeven
M68k char drivers: Update to the new irq API (from Roman Zippel and me) [14/20]
2003-05-07[PATCH] serial167 tty_driver add .owner field remove MOD_INC/DEC_USE_COUNTHanna V. Linder
2003-04-24[PATCH] console cleanup (2/2)Alexander Viro
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.
2003-04-23[PATCH] tty cleanups (7/12)Alexander Viro
sanitized driver->driver_name initialization and use
2003-04-23[PATCH] tty cleanups (6/12)Alexander Viro
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.
2003-04-23[PATCH] tty cleanups (5/12)Alexander Viro
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.
2003-04-23[PATCH] tty cleanups (2/12)Alexander Viro
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
2003-03-20[PATCH] console_initcall() return typeGeert Uytterhoeven
Fix return type (must be int, not void) of *_console_init() after introduction of console_initcall() in 2.5.x.
2003-03-06[PATCH] clean up all the console inits using an initcall variantAlan Cox
Dave Woodhouse did this a while ago and its been kicking around in my tree just fine. This gets rid of a lot of the init lists of functions still left in the kernel by having an __init type array built up for the consoles as well
2002-12-27[PATCH] M68k char local_irq*() updatesGeert Uytterhoeven
Convert m68k char drivers to new local_irq*() framework: - Amiga builtin serial - Amiga A2232 multiserial - MVME167 serial - MVME147/162 and BVME6000 SCC
2002-11-07[PATCH] C99 designated initializers for drivers/charArt Haas
2002-10-07[PATCH] remove get_free_page()Andrew Morton
This used to be a macro wrapper around get_zeroed_page(). It was a dreadful choice of name, because it hid the fact that this function memsets the page. Probably, lots of the callers didn't actually want to do that but this patch does not make such optimisations. At least now, people may spot a `get_zeroed_page' in there and realise that the page doesn't actually need to be initialised. The patch also changes get_zeroed_page() to go BUG if called with __GFP_HIGHMEM. It returns the address of the page's memory and hence can only be used for direct-mapped pages (wli).
2002-07-23[PATCH] M68k update (part 46)Geert Uytterhoeven
MVME serial driver updates (from 2.4.x) - Add missing save of interrupt state - _tty_name() got renamed to tty_name() - Add devfs support - Simplify baud logic - Add missing MOD_DEC_USE_COUNT - Add missing cli() - block_til_ready() got renamed to gs_block_til_ready()
2002-07-23[PATCH] M68k update (part 13)Geert Uytterhoeven
- Atari joystick device number updates - Atari ACSI hard disk driver device updates - Atari floppy driver device updates - MVME147 serial driver dev_t update
2002-07-23[PATCH] M68k update (part 11)Geert Uytterhoeven
Fix miscellaneous compilation warnings and errors
2002-05-06[PATCH] suser() -> capable() checksColin Slater
Trivial patch to change some instances of suser() and fsuser() to proper capable() checks.
2002-02-05v2.5.1.8 -> v2.5.1.9Linus Torvalds
- Russell King: large ARM update - Adam Richter et al: more kdev_t updates
2002-02-04v2.5.1.3 -> v2.5.1.4Linus Torvalds
- Jens Axboe: more bio updates, fix some request list bogosity under load - Al Viro: export seq_xxx functions - Manfred Spraul: include file cleanups, pc110pad compile fix - David Woodhouse: fix JFFS2 write error handling - Dave Jones: start merging up with 2.4.x patches - Manfred Spraul: coredump fixes, FS event counter cleanups - me: fix SCSI CD-ROM sectorsize BIO breakage
2002-02-04v2.5.1.1 -> v2.5.1.2Linus Torvalds
- Al Viro: task-private namespaces, more cleanups
2002-02-04v2.4.9.9 -> v2.4.9.10Linus Torvalds
- Alan Cox: continued merging - Mingming Cao: make msgrcv/shmat check the queue/segment ID's properly - Greg KH: USB serial init failure fix, Xircom serial converter driver - Neil Brown: nsfd/raid/md/lockd cleanups - Ingo Molnar: multipath RAID personality, raid xor update - Hugh Dickins/Marcelo Tosatti: swapin read-ahead race fix - Vojtech Pavlik: fix up some of the infrastructure for x86-64 - Robert Love: AMD 761 AGP GART support - Jens Axboe: fix SCSI-generic queue handling race - me: be sane about page reference bits
2002-02-04v2.4.9.8 -> v2.4.9.9Linus Torvalds
- Greg KH: start migration to new "min()/max()" - Roman Zippel: move affs over to "min()/max()". - Vojtech Pavlik: VIA update (make sure not to IRQ-unmask a vt82c576) - Jan Kara: quota bug-fix (don't decrement quota for non-counted inode) - Anton Altaparmakov: more NTFS updates - Al Viro: make nosuid/noexec/nodev be per-mount flags, not per-filesystem - Alan Cox: merge input/joystick layer differences, driver and alpha merge - Keith Owens: scsi Makefile cleanup - Trond Myklebust: fix oopsable race in locking code - Jean Tourrilhes: IrDA update
2002-02-04v2.4.4.2 -> v2.4.4.3Linus Torvalds
- Al Viro: sanity-check user arguments, zero-terminated strings etc. - Urban Widmark: smbfs update (server/client cache coherency etc) - Rik van Riel, Marcelo Tosatti: VM updates - Cort Dougan: PPC updates - Neil Brown: raid1/5 failed drive fixups, NULL ptr checking, md error cleanup - Neil Brown: knfsd fix for 64-bit architectures, and filehandle resolveir - Ken Brownfield: workaround for menuconfig CPU selection glitch - David Miller: sparc64 MM setup fix, arpfilter forward port - Keith Owens: Remove obsolete IPv6 provider based addressing - Jari Ruusu: block_write error case cleanup fix - Jeff Garzik: netdriver update
2002-02-04Import changesetLinus Torvalds