1. 08 2月, 2007 31 次提交
  2. 03 2月, 2007 1 次提交
    • T
      ahci/pata_jmicron: fix JMicron quirk · 77280989
      Tejun Heo 提交于
      For all JMicrons except for 361 and 368, AHCI mode enable bits in the
      Control(1) should be set.  This used to be done in both ahci and
      pata_jmicron but while moving programming to PCI quirk, it was removed
      from ahci part while still left in pata_jmicron.
      
      The implemented JMicron PCI quirk was incorrect in that it didn't
      program AHCI mode enable bits.  If pata_jmicron is loaded first and
      programs those bits, the ahci ports work; otherwise, ahci device
      detection fails miserably.
      
      This patch makes JMicron PCI quirk clear SATA IDE mode bits and set
      AHCI mode bits and remove the respective part from pata_jmicron.
      Tested on JMB361, 363 and 368.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      77280989
  3. 02 2月, 2007 2 次提交
  4. 31 1月, 2007 1 次提交
  5. 23 1月, 2007 2 次提交
  6. 12 1月, 2007 1 次提交
    • B
      [PATCH] increment pos before looking for the next cap in __pci_find_next_ht_cap · 47a4d5be
      Brice Goglin 提交于
      While testing 2.6.20-rc3 on a machine with some CK804 chipsets, we noticed
      that quirk_nvidia_ck804_msi_ht_cap() was not detecting HT MSI capabilities
      anymore.  It is actually caused by the MSI mapping on the root chipset
      being the 2nd HT capability in the chain.  pci_find_ht_capability() does
      not seem to find anything but the first HT cap correctly, because it
      forgets to increment the position before looking for the next cap.  The
      following patch seems to fix it.
      
      At least, this proves that having a ttl is good idea since the machine
      would have been stucked in an infinite loop if we didn't have a ttl :)
      
      We have to pass pos + PCI_CAP_LIST_NEXT to __pci_find_next_cap_ttl to
      get the next HT cap instead of the same one again.
      Signed-off-by: NBrice Goglin <brice@myri.com>
      Signed-off-by: NAndrew J. Gallatin <gallatin@myri.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      47a4d5be
  7. 11 1月, 2007 1 次提交
    • V
      [PATCH] x86-64: pci quirks MODPOST warning fix · 9d24a81e
      Vivek Goyal 提交于
      o MODPOST generates warnings for i386 if kernel is compiled with
        CONFIG_RELOCATABLE=y
      
      WARNING: vmlinux - Section mismatch: reference to .init.data: from .text between 'asus_hides_smbus_lpc_ich6' (at offset 0xc0217d58) and 'quirk_cardbus_legacy'
      WARNING: vmlinux - Section mismatch: reference to .init.data: from .text between 'asus_hides_smbus_lpc' (at offset 0xc0217fd9) and 'pci_match_id'
      
      o Two quirk functions which are non __init, are accessing data which is
        of type __init.
      Signed-off-by: NVivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      9d24a81e
  8. 10 1月, 2007 1 次提交