)]}'
{
  "commit": "ff7cddf59e3618d29e12b061651ab3f5a53f4a98",
  "tree": "b45b879b6ca820b074ea69ee218f92247932ebd4",
  "parents": [
    "0ae6654da437db4ae6333d232e718b570c7a3eac"
  ],
  "author": {
    "name": "Mikael Pettersson",
    "email": "mikpe@it.uu.se",
    "time": "Tue Sep 15 15:08:47 2009 +0200"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jgarzik@redhat.com",
    "time": "Thu Sep 17 16:46:34 2009 -0400"
  },
  "message": "sata_promise: update reset code\n\nsata_promise\u0027s reset code has deviated quite a bit from\nthe Promise reference driver\u0027s, and it has been observed\nto fail to recover from errors in some cases.\n\nThis patch thus updates the reset code to more closely\nmatch the reference driver:\n\n- soft reset (pdc_reset_port):\n  * wait for ATA engine to not be in packet command mode\n    (2nd gen only)\n  * write reset bit in PDC_CTLSTAT before the first read\n    in the loop\n  * for 2nd gen SATA follow up with FPDMA reset and clearing\n    error status registers\n- hard reset (pdc_sata_hardreset):\n  * wait for ATA engine to not be in packet command mode\n    (2nd gen only)\n  * reset ATA engine via the PCI control register\n  * Tejun\u0027s change to use non-waiting hardreset + follow-up SRST\n\nI\u0027m not changing the hotplug mask bits since they are taken care\nof by sata_promise\u0027s -\u003efreeze() and -\u003ethaw() operations. And I\u0027m\nnot writing the PMP port # because that\u0027s always zero (for now).\n\nTested here on various controllers. In particular, one disk\nwhich used to timeout and fail to recover from certain hdparm\nand smartmonctl commands now works nicely.\n\nSigned-off-by: Mikael Pettersson \u003cmikpe@it.uu.se\u003e\nSigned-off-by: Jeff Garzik \u003cjgarzik@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d18d5a59afeb5e4a4a23ef849c92db74023ec4c",
      "old_mode": 33188,
      "old_path": "drivers/ata/sata_promise.c",
      "new_id": "07d8d00b4d344cb38740f9d6a60ed6478e2b2b67",
      "new_mode": 33188,
      "new_path": "drivers/ata/sata_promise.c"
    }
  ]
}
