1. 11 Feb, 2005 2 commits
    • Bjorn Helgaas's avatar
      [SERIAL] add TP560 data/fax/modem support · ae48fc35
      Bjorn Helgaas authored
      Patch from Bjorn Helgaas
      
      Claim Topic TP560 data/fax/voice modem.  This device reports as class 0x0780,
      so we don't claim it by default:
      
              00:0d.0 Class 0780: 151f:0000
                      Subsystem: 151f:0000
                      Interrupt: pin A routed to IRQ 11
                      Region 0: I/O ports at a400 [size=8]
              00: 1f 15 00 00 01 00 00 02 00 00 80 07 00 00 00 00
              10: 01 a4 00 00 00 00 00 00 00 00 00 00 00 00 00 00
              20: 00 00 00 00 00 00 00 00 00 00 00 00 1f 15 00 00
              30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
      
      Some rc.serial scripts extract IRQ and I/O port information from
      /proc/pci and stuff it into an unused port using setserial.  That
      doesn't work reliably anymore because pci_enable_device() is never
      called, so the IRQ may not be enabled.
      
      Thanks to Evan Clarke for reporting and helping debug this problem.
      
      Signed-off-by: Bjorn Helgaas
      ae48fc35
    • Christophe Lucas's avatar
      [SERIAL] drivers/serial/*: convert to pci_register_driver · a6dd8feb
      Christophe Lucas authored
      Patch from Christophe Lucas
      
      convert from pci_module_init to pci_register_driver
      
      Signed-off-by: Christophe Lucas
      a6dd8feb
  2. 09 Feb, 2005 1 commit
    • Bjorn Helgaas's avatar
      [SERIAL] discover PNP ports before PCI, etc · eb830c66
      Bjorn Helgaas authored
      Patch from Bjorn Helgaas
      
      PNP ports tend to be built-in, and discovering them after
      PCI ports means the names of the built-in ports can change
      if you add or remove PCI ports.
      
      (And yes, we should look at getting rid of 8250_acpi.c
      now that we have PNPACPI, but that's for another patch.)
      
      Signed-off-by: Bjorn Helgaas
      eb830c66
  3. 08 Feb, 2005 3 commits
  4. 09 Feb, 2005 3 commits
    • Dave Airlie's avatar
      Merge starflyer.(none):/foo/airlied/bitkeeper/linux-2.5 · 7dcd6234
      Dave Airlie authored
      into starflyer.(none):/foo/airlied/bitkeeper/drm-latest
      7dcd6234
    • Dave Airlie's avatar
      drm: fix race condition in radeon driver · 4b5d2381
      Dave Airlie authored
      Close a race which could allow for privilege escalation by users with DRI
      privileges on Radeon hardware.  Essentially, a malicious program could submit
      a packet containing an offset (possibly in main memory) to be rendered from/to,
      while a separate thread switched that offset in userspace rapidly between a
      valid value and an invalid one.  radeon_check_and_fixup_offset() would pull the
      offset in from user space, check it, and spit it back out to user space to be
      copied in later by the emit code.  It would sometimes catch the bad value, but
      sometimes the malicious program could modify it after the check and get an
      invalid offset rendered from/to.
      
      Fix this by allocating a temporary buffer and copying the data in at once.
      While here, make the cliprects stuff not do the VERIFYAREA_READ and
      COPY_FROM_USER_UNCHECKED gymnastics, avoiding a lock order reversal on FreeBSD.
      Performance impact is negligible  -- no difference on r200 to ~1% improvement on
      rv200 in quake3 tests (P4 1Ghz, demofour at 1024x768, n=4 or 5)
      
      From: Eric Anholt <anholt@freebsd.org>
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      4b5d2381
    • Dave Airlie's avatar
      Invalid bound check of driver defined ioctls in drm_ioctl · 149d5cef
      Dave Airlie authored
      Bug fd.o 2489
      Reporter: Aapo Tahkola <aet@rasterburn.org>
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      149d5cef
  5. 08 Feb, 2005 2 commits
  6. 07 Feb, 2005 29 commits