Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • ide
  • pci
  • serverworks.c
Find file BlameHistoryPermalink
  • Bartlomiej Zolnierkiewicz's avatar
    serverworks: fix CSB6 tuning logic · 1abb8a8b
    Bartlomiej Zolnierkiewicz authored Jun 08, 2007
    Problem noticed by Joe Zbiciak, see
    
    	http://kerneltrap.org/node/8252
    
    for details.
    
    On CSB6 the driver is using BIOS settings and not programming DMA/PIO timings
    itself.  However the logic was completely broken and resulted in wrong timings
    being silently allowed (instead of being corrected by the driver).
    
    This bug would explain some data corruption/timeout issues with Serverworks
    MegaIDE in RAID mode that Alan Cox has fixed recently with:
    
    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2074a106f52b6371885afbd714e929d60d0e3f64
    
    
    
    For 2.6.23 we may be better off with completely switching the driver to always
    programming timings (libata pata_serverworks.c driver is doing things this way
    and there were no problems reported so far) but for 2.6.22 lets fix the bug
    in the simplest and the least intrusive way.
    
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    1abb8a8b