1. 20 3月, 2009 2 次提交
    • 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
    • R
      PCI: PCIe portdrv: Use driver data to simplify code · 1bf83e55
      Rafael J. Wysocki 提交于
      PCI Express port driver extension, as defined by struct
      pcie_port_device_ext in portdrv.h, is allocated and initialized, but
      never used (it also is never freed).  Extend it to hold the PCI Express
      port type as well as the port interrupt mode, change its name and use it
      to simplify the code in portdrv_core.c .
      
      Additionally, remove the redundant interrupt_mode member of struct
      pcie_device defined in include/linux/pcieport_if.h .
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      1bf83e55
  2. 21 10月, 2008 1 次提交
  3. 19 10月, 2006 1 次提交
  4. 27 9月, 2006 1 次提交
  5. 24 3月, 2006 1 次提交
  6. 02 7月, 2005 1 次提交
  7. 17 4月, 2005 2 次提交