)]}'
{
  "commit": "9b89391cc861b8a1105551909eb66c024fe18ab2",
  "tree": "f0783823927ea013c8d58c1041ad1e1d884eed9e",
  "parents": [
    "d4b2bab4f26345ea1803feb23ea92fbe3f6b77bc"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "htejun@gmail.com",
    "time": "Fri Feb 02 16:50:52 2007 +0900"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jeff@garzik.org",
    "time": "Tue May 01 07:49:54 2007 -0400"
  },
  "message": "libata: improve 0xff status handling\n\nFor PATA, 0xff status indicates empty port.  For SATA, it depends on\nhow the controller emulates status register.  On some controllers,\n0xff is used to represent broken link or certain stage during reset.\n\nlibata currently deals SATA the same.  This hasn\u0027t caused any problem\nbecause problematic situations usually only occur after hotplug or\nother link disruption events and libata blindly waited for the device\nto spin up and settle after hotplug giving the link and device\nwhatever time to go through those stages.\n\nlibata is going to replace unconditional spinup wait with generic\ntimed sequence of resets, so not only getting 0xff handling right for\nSATA is, well, the right thing to do, it\u0027s much more important now.\n\nThis patch makes the following changes.\n\n* Make ata_bus_softreset() return -ENODEV if any of its wait fails\n  due to 0xff status.\n\n* Fail soft/hardreset if status wait returns -ENODEV indicating 0xff\n  status while SStatus says the link is online.  e.g. Reset fails if\n  status is 0xff after reset when SStatus reports the linke is online.\n  If SCR registers are not available, everything is the same as\n  before.\n\nSigned-off-by: Tejun Heo \u003chtejun@gmail.com\u003e\nSigned-off-by: Jeff Garzik \u003cjeff@garzik.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0319f10d42d5fe4546c17a0f97ec93eab14b488d",
      "old_mode": 33188,
      "old_path": "drivers/ata/ahci.c",
      "new_id": "d9617892fc23806d0f8ffdebb200d74c513f8511",
      "new_mode": 33188,
      "new_path": "drivers/ata/ahci.c"
    },
    {
      "type": "modify",
      "old_id": "84e9448c12d4f9fea648f7285e6c8a22a027b038",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-core.c",
      "new_id": "49d26675932e8acd97aa09977fd36309fbad9cf1",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-core.c"
    },
    {
      "type": "modify",
      "old_id": "25b747e26133162cc16e1727898916183f86043e",
      "old_mode": 33188,
      "old_path": "drivers/ata/sata_inic162x.c",
      "new_id": "b3b62e985f19e6dc1195b6a5890a94252a360f6d",
      "new_mode": 33188,
      "new_path": "drivers/ata/sata_inic162x.c"
    }
  ]
}
