An error occurred fetching the project authors.
- 05 Oct, 2003 1 commit
-
-
Andrew Morton authored
From: Michael Still <mikal@stillhq.com> The patch squelches build errors in the kernel-doc make targets by adding documentation to arguements previously not documented, and updating the argument names where they have changed.
-
- 29 Sep, 2003 1 commit
-
-
Tom Rini authored
-
- 10 Sep, 2003 1 commit
-
-
Tom Rini authored
On some PowerPC machines with a National Semiconductor Super I/O chip, we have a divisor other than 1.625 Hz. So when detecting a Super I/O, don't change baud_base again.
-
- 09 Sep, 2003 2 commits
-
-
Russell King authored
This allows us to maintain quirks or capabilities on a per-port basis, so we can handle buggy clones more effectively.
-
Russell King authored
Since the driver model has transitioned away from using multi-level device suspend/resume, we also drop the multi-level support from the serial layer. Update the 8250 and sa1100 drivers for this change.
-
- 15 Jun, 2003 1 commit
-
-
Russell King authored
Patch from wli, edited by rmk. 'rev' needs to be at least 16 bits.
-
- 06 Jun, 2003 1 commit
-
-
Andrew Morton authored
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.
-
- 14 May, 2003 1 commit
-
-
Christoph Hellwig authored
-
- 24 Apr, 2003 1 commit
-
-
Alexander Viro authored
Preparation to console->device() cleanup: serial drivers converted to common helper for their ->device() methods.
-
- 23 Apr, 2003 2 commits
-
-
Alexander Viro authored
sanitized driver->driver_name initialization and use
-
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.
-
- 20 Apr, 2003 1 commit
-
-
Linus Torvalds authored
was for them or not, so that the irq subsystem can properly handle screaming shared interrupts. So change the irq handlers to return a "irqretval_t", which is either IRQ_HANDLED or IRQ_NONE.
-
- 11 Mar, 2003 1 commit
-
-
Russell King authored
-
- 08 Mar, 2003 1 commit
-
-
Andrew Morton authored
Patch from: "Martin J. Bligh" <mbligh@aracnet.com> This tiny patch removes the new compiler warning from my build - the new console_initcall mechanism seems to require int from console_init ... I made serial8250_console_init look like con_init
-
- 06 Mar, 2003 1 commit
-
-
Alan Cox authored
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
-
- 24 Feb, 2003 2 commits
-
-
Michael Hayes authored
This fixes: neccessary -> necessary unneccessary -> unnecessary Fixes 46 occurrences in all.
-
Michael Hayes authored
This fixes: occuring -> occurring Fixes 29 occurrences in all.
-
- 16 Feb, 2003 2 commits
-
-
David Woodhouse authored
-
David Woodhouse authored
In order to deal with the weird and wonderful ways of obtaining a uart clock which a lot of the high-speed hacks for 16550-based chips seem to have, we need to make uart_update_timeout() and uart_get_divisor() take the desired baud rate as their arguments, instead of termios or divisor as before. The main reason for the change to uart_get_divisor(), requiring a call to uart_get_baud_rate() before it, is so that the drivers actually _have_ the baud rate in order that they can pass it to uart_update_timeout().
-
- 06 Jan, 2003 1 commit
-
-
Russell King authored
set_termios matches the style used for the other methods. It should have been this from the start.
-
- 03 Jan, 2003 1 commit
-
-
Russell King authored
Several serial drivers want to obtain the numeric baud rate when configuring their serial ports. Currently, two methods are used to "work around" this inadequacy in the change_speed API: baud = tty_get_baud_rate(port->info->tty); baud = BAUD_BASE / (16 * quot); Passing the termios structure down means that we can use uart_get_baud_rate() instead. We can also ensure that the various termios flags for options we don't support are correctly set. Lastly, this also provides 8250.c with a clean method for supporting divisors that are greater than the baud_base.
-
- 01 Dec, 2002 2 commits
-
-
Russell King authored
We originally checked for failure by checking if the returned code was non-zero. Strictly, it should be a negative value.
-
Russell King authored
Patch from Randolph Chung, slightly modified by rmk. When displaying the details of memory mapped serial ports, we want to show some sane base value. The cookie returned from ioremap can be meaningless to users (and developers), especially when the cookie could be a dynamically allocated virtual address. The more useful cookie is the value passed into ioremap. We already have support for handling this cookie internally - we haven't allowed the PCI probe module to hand it to the higher levels until now.
-
- 02 Nov, 2002 6 commits
-
-
Russell King authored
- Remove last usage of EVT_WRITE_WAKEUP - Remove unused label + kfree() - scratch3 now known as id3
-
Russell King authored
The original port detection code was one large function with many tests without any clear structure. This cset cleans this up, splitting out the tests for 8250/16450 vs 16550 vs 16550A vs later ports, and adds comments about why we test what we're testing.
-
Russell King authored
In addition to the Alpha OUT1/OUT2 kludge, devices like Bluetooth modems connected to serial ports make use of the modem control lines in non-standard ways. Therefore, we implement a more flexible way to allow the modem control outputs to be forced to particular values irrespective of the normal usage of these signals.
-
Russell King authored
The tty layer's tty_name requires formatting codes in driver->name for the devfs and non-devfs cases.
-
Russell King authored
- Unlink port from chain if request_irq fails - Allow port to define whether we use shared IRQs (this is required for PCMCIA serial cards where the serial card shares the same IRQ as the socket status IRQ.) - Convert remaining ASYNC_ flags to UPF_ flags
-
Russell King authored
uart_event() only has one purpose, which is to wake up any pending writers via the line discipline. Rename it to reflect its real functionality, and drop EVT_WRITE_WAKEUP.
-
- 12 Oct, 2002 1 commit
-
-
Richard Henderson authored
warning: right shift count >= width of type by casting to long before shifting by HIGH_BITS_OFFSET.
-
- 11 Oct, 2002 1 commit
-
-
Russell King authored
Don't release NULL resources.
-
- 08 Oct, 2002 1 commit
-
-
Dave Jones authored
-
- 06 Oct, 2002 2 commits
-
-
Russell King authored
This fixes the build error that occurs if you have a certain selection of module/modversions settings.
-
Russell King authored
The PCMCIA layer claims the IO or memory regions for all cards. This means that any port registered via 8250_cs must not cause the 8250 code to claim the resources itself. We also add support for iomem-based ports at initialisation time for PPC.
-
- 01 Oct, 2002 1 commit
-
-
Ingo Molnar authored
This is the next iteration of the workqueue abstraction. The framework includes: - per-CPU queueing support. on SMP there is a per-CPU worker thread (bound to its CPU) and per-CPU work queues - this feature is completely transparent to workqueue-users. keventd automatically uses this feature. XFS can now update to work-queues and have the same per-CPU performance as it had with its per-CPU worker threads. - delayed work submission there's a new queue_delayed_work(wq, work, delay) function and a new schedule_delayed_work(work, delay) function. The later one is used to correctly fix former tq_timer users. I've reverted those changes in 2.5.40 that changed tq_timer uses to schedule_work() - eg. in the case of random.c or the tty flip queue it was definitely the wrong thing to do. delayed work means a timer embedded in struct work_struct. I considered using split struct work_struct and delayed_work_struct types, but lots of code actively uses task-queues in both delayed and non-delayed mode, so i went for the more generic approach that allows both methods of work submission. Delayed timers do not cause any other overhead in the normal submission path otherwise. - multithreaded run_workqueue() implementation the run_workqueue() function can now be called from multiple contexts, and a worker thread will only use up a single entryy - this property is used by the flushing code, and can potentially be used in the future to extend the number of per-CPU worker threads. - more reliable flushing there's now a 'pending work' counter, which is used to accurately detect when the last work-function has finished execution. It's also used to correctly flush against timed requests. I'm not convinced whether the old keventd implementation got this detail right. - i switched the arguments of the queueing function(s) per Jeff's suggestion, it's more straightforward this way. Driver fixes: i have converted almost every affected driver to the new framework. This cleaned up tons of code. I also fixed a number of drivers that were still using BHs (these drivers did not compile in 2.5.40). while this means lots of changes, it might ease the QA decision whether to put this patch into 2.5. The pach converts roughly 80% of all tqueue-using code to workqueues - and all the places that are not converted to workqueues yet are places that do not compile in vanilla 2.5.40 anyway, due to unrelated changes. I've converted a fair number of drivers that do not compile in 2.5.40, and i think i've managed to convert every driver that compiles under 2.5.40.
-
- 29 Jul, 2002 1 commit
-
-
Russell King authored
Al Viro pointed out there was a fair bit of redundancy here. We remove many include files from the serial layer, leaving those which are necessary for it to build. This has been posted to lkml, no one complained. This cset also combines a missing include of asm/io.h in 8250_pci.c (unfortunately I've lost the name of the reporter, sorry.)
-
- 27 Jul, 2002 3 commits
-
-
Russell King authored
After the last few days of debugging, we've ended up with the caller of the start_tx and stop_tx methods taking the per-port lock. This cset and the accompanying csets make the same change to some of the other methods for consistency reasons. Since these methods don't contain a lot of code, it is better that they have consistent locking rules. This cset fixes up the enable_ms method.
-
Russell King authored
After the last few days of debugging, we've ended up with the caller of the start_tx and stop_tx methods taking the per-port lock. This cset and the accompanying csets make the same change to some of the other methods for consistency reasons. Since these methods don't contain a lot of code, it is better that they have consistent locking rules. This cset fixes up the stop_rx method.
-
Russell King authored
We were missing an element in the old_serial_port structure.
-
- 26 Jul, 2002 1 commit
-
-
Russell King authored
The old form of designated initializers are obsolete: we need to replace them with the ISO C forms before 2.6. Gcc has always supported both forms anyway. From Rusty's Trivial Patch - thanks.
-