1. 02 2月, 2007 1 次提交
  2. 06 1月, 2007 1 次提交
    • A
      [PATCH] PCI: prevent down_read when pci_devices is empty · 6ae4adf5
      Ard van Breemen 提交于
      The pci_find_subsys gets called very early by obsolete ide setup parameters.
      This is a bogus call since pci is not initialized yet, so the list is empty.
      But in the mean time, interrupts get enabled by down_read.  This can result in
      a kernel panic when the irq controller gets initialized.
      
      This patch checks if the device list is empty before taking the semaphore, and
      hence will not enable irq's.  Furthermore it will inform that it is called
      while pci_devices is empty as a reminder that the ide code needs to be fixed.
      
      The pci_get_subsys can get called in the same manner, and as such is patched
      in the same manner.
      
      [akpm@osdl.org: cleanups]
      Signed-off-by: NArd van Breemen <ard@telegraafnet.nl>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6ae4adf5
  3. 21 12月, 2006 2 次提交
    • A
      PCI: Fix multiple problems with VIA hardware · 1597cacb
      Alan Cox 提交于
      This patch is designed to fix:
      - Disk eating corruptor on KT7 after resume from RAM
      - VIA IRQ handling
      - VIA fixups for bus lockups after resume from RAM
      
      The core of this is to add a table of resume fixups run at resume time.
      We need to do this for a variety of boards and features, but particularly
      we need to do this to get various critical VIA fixups done on resume.
      
      The second part of the problem is to handle VIA IRQ number rules which
      are a bit odd and need special handling for PIC interrupts. Various
      patches broke various boxes and while this one may not be perfect
      (hopefully it is) it ensures the workaround is applied to the right
      devices only.
      
      From: Jean Delvare <khali@linux-fr.org>
      
      Now that PCI quirks are replayed on software resume, we can safely
      re-enable the Asus SMBus unhiding quirk even when software suspend support
      is enabled.
      
      [akpm@osdl.org: fix const warning]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Cc: Jean Delvare <khali@linux-fr.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1597cacb
    • A
      pci: Introduce pci_find_present · d86f90f9
      Alan Cox 提交于
      This works like pci_dev_present but instead of returning boolean returns
      the matching pci_device_id entry.  This makes it much more useful.  Code
      bloat is basically nil as the old boolean function is rewritten in terms of
      the new one.
      
      This will be used by the updated VIA PCI quirks for one
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d86f90f9
  4. 19 10月, 2006 1 次提交
  5. 04 8月, 2006 1 次提交
  6. 01 8月, 2006 1 次提交
  7. 22 6月, 2006 1 次提交
  8. 24 3月, 2006 1 次提交
  9. 07 7月, 2005 1 次提交
  10. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4