1. 20 7月, 2007 16 次提交
  2. 18 7月, 2007 5 次提交
  3. 17 7月, 2007 3 次提交
  4. 12 7月, 2007 1 次提交
    • A
      PCI: Change all drivers to use pci_device->revision · 44c10138
      Auke Kok 提交于
      Instead of all drivers reading pci config space to get the revision
      ID, they can now use the pci_device->revision member.
      
      This exposes some issues where drivers where reading a word or a dword
      for the revision number, and adding useless error-handling around the
      read. Some drivers even just read it for no purpose of all.
      
      In devices where the revision ID is being copied over and used in what
      appears to be the equivalent of hotpath, I have left the copy code
      and the cached copy as not to influence the driver's performance.
      
      Compile tested with make all{yes,mod}config on x86_64 and i386.
      Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
      Acked-by: NDave Jones <davej@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      44c10138
  5. 10 7月, 2007 1 次提交
  6. 02 7月, 2007 2 次提交
  7. 29 6月, 2007 2 次提交
  8. 19 6月, 2007 1 次提交
    • B
      [POWERPC] Fix snd-powermac refcounting bugs · 41e904de
      Benjamin Herrenschmidt 提交于
      The old snd-powermac driver has some serious refcounting issues when
      initialisation fails, which is the case on all new machines with
      a layout-id since those are handled by the new snd-aoa driver.
      
      Some of those bugs seem to have been under the radar for some time
      (like double pci_dev_put), but one was actually added in 2.6.22 with
      Stephen attempt at teaching refcounting to the driver which didn't
      do it at all.
      
      This patch fixes both, thus removing all sort of kref errors that
      would happen if that driver gets loaded on a G5 machine or a recent
      PowerBook due to OF nodes left around with a 0 refcount.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      41e904de
  9. 01 6月, 2007 1 次提交
  10. 31 5月, 2007 8 次提交