An error occurred fetching the project authors.
  1. 05 Oct, 2003 1 commit
    • Andrew Morton's avatar
      [PATCH] kernel documentation fixes · 1820a80d
      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.
      1820a80d
  2. 29 Sep, 2003 1 commit
  3. 10 Sep, 2003 1 commit
  4. 09 Sep, 2003 2 commits
  5. 15 Jun, 2003 1 commit
  6. 06 Jun, 2003 1 commit
    • Andrew Morton's avatar
      [PATCH] Fix tty devfs mess · 7807eb6a
      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.
      7807eb6a
  7. 14 May, 2003 1 commit
  8. 24 Apr, 2003 1 commit
  9. 23 Apr, 2003 2 commits
  10. 20 Apr, 2003 1 commit
  11. 11 Mar, 2003 1 commit
  12. 08 Mar, 2003 1 commit
    • Andrew Morton's avatar
      [PATCH] remove compile warning from serial console initcall · 09d468ed
      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
      09d468ed
  13. 06 Mar, 2003 1 commit
  14. 24 Feb, 2003 2 commits
  15. 16 Feb, 2003 2 commits
  16. 06 Jan, 2003 1 commit
  17. 03 Jan, 2003 1 commit
    • Russell King's avatar
      [SERIAL] Convert change_speed() to settermios() · 581b7bba
      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.
      581b7bba
  18. 01 Dec, 2002 2 commits
    • Russell King's avatar
      [SERIAL] Fix failure checks · 55d2c487
      Russell King authored
      We originally checked for failure by checking if the returned code
      was non-zero.  Strictly, it should be a negative value.
      55d2c487
    • Russell King's avatar
      [SERIAL] Pass "iomap" base from probe modules · 7f114818
      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.
      7f114818
  19. 02 Nov, 2002 6 commits
    • Russell King's avatar
      [SERIAL] Fix build errors and warnings · 6c37a6ba
      Russell King authored
      - Remove last usage of EVT_WRITE_WAKEUP
      - Remove unused label + kfree()
      - scratch3 now known as id3
      6c37a6ba
    • Russell King's avatar
      [SERIAL] Tidy up 8250 port type detection · c7bb4498
      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.
      c7bb4498
    • Russell King's avatar
      [SERIAL] Make ALPHA_KLUDGE_MCR more generic for bluetooth modems, etc · 4524aad2
      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.
      4524aad2
    • Russell King's avatar
      [SERIAL] Fix up formatting of serial names · b1a2c31d
      Russell King authored
      The tty layer's tty_name requires formatting codes in driver->name
      for the devfs and non-devfs cases.
      b1a2c31d
    • Russell King's avatar
      [SERIAL] Fix up 8250 IRQ chain handling · 31efb7f7
      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
      31efb7f7
    • Russell King's avatar
      [SERIAL] Rename uart_event() to uart_write_wakeup() · eef76d73
      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.
      eef76d73
  20. 12 Oct, 2002 1 commit
  21. 11 Oct, 2002 1 commit
  22. 08 Oct, 2002 1 commit
  23. 06 Oct, 2002 2 commits
  24. 01 Oct, 2002 1 commit
    • Ingo Molnar's avatar
      [PATCH] Workqueue Abstraction · 6ed12ff8
      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.
      6ed12ff8
  25. 29 Jul, 2002 1 commit
    • Russell King's avatar
      [SERIAL] Cleanup includes. · 29363ba0
      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.)
      29363ba0
  26. 27 Jul, 2002 3 commits
    • Russell King's avatar
      [SERIAL] Locking fixup (part 2) · 04c34016
      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.
      04c34016
    • Russell King's avatar
      [SERIAL] Locking fixup (part 1) · 166c0fe8
      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.
      166c0fe8
    • Russell King's avatar
      [SERIAL] Fix initialiser warnings for HUB6 ports · c75efab2
      Russell King authored
      We were missing an element in the old_serial_port structure.
      c75efab2
  27. 26 Jul, 2002 1 commit
    • Russell King's avatar
      [PATCH] designated initalizers for serial/ · b35451b5
      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.
      b35451b5