1. 15 11月, 2005 4 次提交
    • J
      [libata] REQUEST SENSE handling fixes · c6e6e666
      Jeff Garzik 提交于
      - Move ATAPI check-condition handling out of the timeout handler
      - Use multi-qc-issue feature to issue REQUEST SENSE ATAPI PACKET
        command upon receiving an ATAPI check-condition.
      
      This cleans things up a lot, and eliminates a nasty recursion bug.
      c6e6e666
    • J
      [libata] minor fixes, new helpers · 2c13b7ce
      Jeff Garzik 提交于
      - in ata_dev_identify(), don't assume that all devices are either
        ATA or ATAPI.  In the future, this code will see port multipliers
        and other devices.
      - make a debugging printk less verbose
      - add new helper ata_qc_reinit()
      - add new helper BPRINTK() and port flag ATA_FLAG_DEBUGMSG, for
        fine-grained debugging use.
      2c13b7ce
    • J
      [libata] fix bugs in ATAPI padding DMA mapping code · e1410f2d
      Jeff Garzik 提交于
      The ATAPI pad-to-next-32bit-boundary code modifies the scatterlist's
      length variable, sometimes to zero.  x86-64 platform would oops if a
      zero-length scatterlist entry was asked to be mapped.  Work around this
      by ensuring that we never DMA-map a zero length buffer or SG entry.
      e1410f2d
    • J
      [libata ahci] error handling fixes · ad36d1a5
      Jeff Garzik 提交于
      Needed to get ATAPI working.
      
      - dump hardware error bits, if hardware signals an error
      - only reset hardware during timeout if a command was active
      - call ata_qc_complete() with a fine-grained error mask.
        Needed so that atapi_qc_complete() can distinguish between
        device errors and other errors.
      ad36d1a5
  2. 14 11月, 2005 3 次提交
  3. 13 11月, 2005 6 次提交
    • T
      [PATCH] sil24: add missing ata_pad_free() · e9c05afa
      Tejun Heo 提交于
      sil24_port_stop() is missing call to ata_pad_free() thus leaking pad
      buffer when a port is stopped.  This patch adds it.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      e9c05afa
    • C
      [SBUSFB]: implement ->compat_ioctl · 9ffb83bc
      Christoph Hellwig 提交于
      This patch adds a new function, sbusfb_compat_ioctl() to
      drivers/video/sbuslib.c and uses it as compat_ioctl in all sbus fb
      drivers
      
      This remove the last per-arch compat ioctl bits in
      arch/sparc64/kernel/ioctl32.c so it would be nice if people could test
      if this actually copiles and works and if yes apply it :)
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9ffb83bc
    • C
      [SPARC]: Fix RTC compat ioctl kernel log spam. · 535f8d65
      Christoph Hellwig 提交于
      On Fri, Nov 11, 2005 at 12:58:40PM -0800, David S. Miller wrote:
      > 
      > This change:
      > 
      > diff-tree 8ca2bdc7 (from feee207e44d3643d19e648aAuthor: Christoph Hellwig <hch@lst.de>
      > Date:   Wed Nov 9 12:07:18 2005 -0800
      > 
      >     [SPARC] sbus rtc: implement ->compat_ioctl
      >     
      >     Signed-off-by: Christoph Hellwig <hch@lst.de>
      >     Signed-off-by: David S. Miller <davem@davemloft.net>
      > 
      > results in the console now getting spewed on sparc64 systems
      > with messages like:
      > 
      > [   11.968298] ioctl32(hwclock:464): Unknown cmd fd(3) cmd(401c7014){00} arg(efc
      > What's happening is hwclock tries first the SBUS rtc device ioctls
      > then the normal rtc driver ones.
      > 
      > So things actually worked better when we had the SBUS rtc compat ioctl
      > directly handled via the generic compat ioctl code.
      > 
      > There are _so_ many rtc drivers in the kernel implementing the
      > generic rtc ioctls that I don't think putting a ->compat_ioctl
      > into all of them to fix this problem is feasible.  Unless we
      > write a single rtc_compat_ioctl(), export it to modules, and hook
      > it into all of those somehow.
      > 
      > But even that doesn't appear to have any pretty implementation.
      > 
      > Any better ideas?
      
      We had similar problems with other ioctls where userspace did things
      like that.  What we did there was to put the compat handler to generic
      code.  The patch below does that, adding a big comment about what's
      going on and removing the COMPAT_IOCTL entires for these on powerpc
      that not only weren't ever useful but are duplicated now aswell.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      535f8d65
    • D
      [PATCH] I8K: fix /proc reporting of blank service tags · 4f005551
      Dmitry Torokhov 提交于
      Make /proc/i8k display '?' when service tag is blank in BIOS.
      This fixes segfault in i8k gkrellm plugin.
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4f005551
    • P
      [PATCH] fix b2c2 dvb undefined symbol · 44e6f84e
      Prakash Punnoor 提交于
      This fixes
      
        drivers/built-in.o: In function `flexcop_frontend_init':
        : undefined reference to `lgdt330x_attach'
      
      [ Side note: I really dislike that dvb people want to include every
        possible frontend into the kernel - I only need the mt312 one for my
        Skystar2 card.  I'd highly appreciate it this would be made selectable
        again... ]
      Signed-off-by: NPrakash Punnoor <prakash@punnoor.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      44e6f84e
    • L
      Revert "[PATCH] fbcon: Add rl (Roman Large) font" · 0fde7f59
      Linus Torvalds 提交于
      This reverts 998e6d51 commit.
      0fde7f59
  4. 12 11月, 2005 5 次提交
  5. 11 11月, 2005 22 次提交