1. 10 5月, 2012 1 次提交
    • S
      [SCSI] hpsa: call pci_disable_device on driver unload · f0bd0b68
      Stephen M. Cameron 提交于
      As Jenx Axboe explained to me: "In earlier times (2.6.18 and pre, iirc), Linux
      disabled IO and mem bars on pci_disable_device(). Now in newer kernel it does
      not. And in the newer kernels you run into problems if you DON'T disable the
      device on exit, since when it later loads the device is already in the enabled
      state - and pci_enable_device() then does nothing. This typically screws
      MSI/MSI-X." This is what the big scary comment that says pci_disable_device
      does "something nasty" to smart arrays was evidently referring to.
      
      If pci_disable_device is not called on driver rmmod, subsequently insmod'ing
      the driver may in result in some cases fail to be able to receive interrupts,
      esp.  if other drivers are loaded between unloading and loading hpsa.
      Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      f0bd0b68
  2. 24 4月, 2012 1 次提交
  3. 19 2月, 2012 12 次提交
  4. 16 1月, 2012 1 次提交
  5. 15 12月, 2011 2 次提交
  6. 15 11月, 2011 1 次提交
  7. 30 10月, 2011 6 次提交
  8. 21 10月, 2011 1 次提交
  9. 20 10月, 2011 1 次提交
  10. 27 8月, 2011 2 次提交
  11. 27 7月, 2011 2 次提交
  12. 30 6月, 2011 2 次提交
  13. 17 5月, 2011 8 次提交