1. 18 9月, 2009 12 次提交
  2. 15 9月, 2009 8 次提交
  3. 14 9月, 2009 2 次提交
  4. 10 9月, 2009 4 次提交
  5. 08 8月, 2009 2 次提交
    • K
      PCI hotplug: SGI hotplug: do not use hotplug_slot_attr · 94f81a47
      Kenji Kaneshige 提交于
      By the pci slot changes, callbacks of attributes under slot directory
      (/sys/bus/pci/slots) had been changed to get the pointer to struct
      pci_slot instead of struct hotplug_slot. So the path_show() that
      assumes the parameter is a pointer to struct hotplug_slot seems
      broken.
      Tested-by: NMike Habeck <habeck@sgi.com>
      Signed-off-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      94f81a47
    • K
      PCI hotplug: SGI hotplug: fix build failure · d25f1438
      Kenji Kaneshige 提交于
      The commit bd3d99c1 ("PCI: Remove
      untested Electromechanical Interlock (EMI) support in pciehp."), which
      removes the definition of "struct hotplug_slot_attr", broke SGI
      hotplug driver. By this commit, we get the following compile error.
      
      drivers/pci/hotplug/sgi_hotplug.c:106: error: variable 'sn_slot_path_attr' has initializer but incomplete type
      drivers/pci/hotplug/sgi_hotplug.c:106: error: unknown field 'attr' specified in initializer
      drivers/pci/hotplug/sgi_hotplug.c:106: error: extra brace group at end of initializer
      drivers/pci/hotplug/sgi_hotplug.c:106: error: (near initialization for 'sn_slot_path_attr')
      drivers/pci/hotplug/sgi_hotplug.c:106: warning: excess elements in struct initializer
      drivers/pci/hotplug/sgi_hotplug.c:106: warning: (near initialization for 'sn_slot_path_attr')
      drivers/pci/hotplug/sgi_hotplug.c:106: error: unknown field 'show' specified in initializer
      drivers/pci/hotplug/sgi_hotplug.c:106: warning: excess elements in struct initializer
      drivers/pci/hotplug/sgi_hotplug.c:106: warning: (near initialization for 'sn_slot_path_attr')
      drivers/pci/hotplug/sgi_hotplug.c: In function 'sn_hp_destroy':
      drivers/pci/hotplug/sgi_hotplug.c:203: error: invalid use of undefined type 'struct hotplug_slot_attribute'
      drivers/pci/hotplug/sgi_hotplug.c: In function 'sn_hotplug_slot_register':
      drivers/pci/hotplug/sgi_hotplug.c:655: error: invalid use of undefined type 'struct hotplug_slot_attribute'
      
      This patch fixes this regression by adding the definition of struct
      hotplug_slot_attr into sgi_hotplug.c.
      Tested-by: NMike Habeck <habeck@sgi.com>
      Signed-off-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      d25f1438
  6. 13 7月, 2009 1 次提交
  7. 30 6月, 2009 1 次提交
  8. 19 6月, 2009 1 次提交
  9. 18 6月, 2009 2 次提交
  10. 17 6月, 2009 4 次提交
  11. 13 6月, 2009 1 次提交
  12. 12 6月, 2009 2 次提交