1. 10 9月, 2009 8 次提交
  2. 30 6月, 2009 1 次提交
  3. 19 6月, 2009 14 次提交
  4. 17 6月, 2009 5 次提交
  5. 16 6月, 2009 1 次提交
    • G
      PCIE: remove driver_data direct access of struct device · 8952f593
      Greg Kroah-Hartman 提交于
      In the near future, the driver core is going to not allow direct access
      to the driver_data pointer in struct device.  Instead, the functions
      dev_get_drvdata() and dev_set_drvdata() should be used.  These functions
      have been around since the beginning, so are backwards compatible with
      all older kernel versions.
      
      
      Cc: linux-pci@vger.kernel.org
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8952f593
  6. 12 6月, 2009 3 次提交
  7. 06 5月, 2009 1 次提交
  8. 21 3月, 2009 4 次提交
  9. 20 3月, 2009 3 次提交
    • K
      PCI/ACPI: rename pci_osc_control_set() · 9f5404d8
      Kenji Kaneshige 提交于
      - Rename pci_osc_control_set() to acpi_pci_osc_control_set() according
        to the other API names in drivers/acpi/pci_root.c.
      
      - Move _OSC related definitions to include/linux/acpi.h because _OSC
        related API is implemented in drivers/acpi/pci_root.c now.
      Signed-off-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Reviewed-by: NAndrew Patterson <andrew.patterson@hp.com>
      Tested-by: NAndrew Patterson <andrew.patterson@hp.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      9f5404d8
    • R
      PCI/PCIe portdrv: Fix allocation of interrupts · b43d4513
      Rafael J. Wysocki 提交于
      If MSI-X interrupt mode is used by the PCI Express port driver, too
      many vectors are allocated and it is not ensured that the right
      vectors will be used for the right services.  Namely, the PCI Express
      specification states that both PCI Express native PME and PCI Express
      hotplug will always use the same MSI or MSI-X message for signalling
      interrupts, which implies that the same vector will be used by both
      of them.  Also, the VC service does not use interrupts at all.
      Moreover, is not clear which of the vectors allocated by
      pci_enable_msix() in the current code will be used for PME and
      hotplug and which of them will be used for AER if all of these
      services are configured.
      
      For these reasons, rework the allocation of interrupts for PCI
      Express ports so that if MSI-X are enabled, the right vectors will be
      used for the right purposes.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Reviewed-by: NHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      b43d4513
    • R
      PCI: PCIe portdrv: Remove struct pcie_port_service_id · 22106368
      Rafael J. Wysocki 提交于
      The PCI Express port driver uses 'struct pcie_port_service_id' for
      matching port service devices and drivers, but this structure
      contains fields that duplicate information from the port device
      itself (vendor, device, subvendor, subdevice) and fields that are not
      used by any existing port service driver (class, class_mask,
      drvier_data).  Also, both existing port service drivers (AER and
      PCIe HP) don't even use the vendor and device fields for device
      matching.  Therefore 'struct pcie_port_service_id' can be removed
      altogether and the only useful members of it (port_type, service) can
      be introduced directly into the port service device and port service
      driver structures.  That simplifies the code quite a bit and reduces
      its size.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      22106368