)]}'
{
  "commit": "9116300634c5c76cfcd0d2af689846e04d172256",
  "tree": "dfc527d28af35f19dcb9c4092757d6eabb8afb1d",
  "parents": [
    "559bbe6cbd0d8c68d40076a5f7dc98e3bf5864b2"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "htejun@gmail.com",
    "time": "Thu Feb 21 13:25:50 2008 +0900"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jeff@garzik.org",
    "time": "Sun Feb 24 00:27:33 2008 -0500"
  },
  "message": "libata: automatically use DMADIR if drive/bridge requires it\n\nBack in 2.6.17-rc2, a libata module parameter was added for atapi_dmadir.\n\nThat\u0027s nice, but most SATA devices which need it will tell us about it\nin their IDENTIFY PACKET response, as bit-15 of word-62 of the\nreturned data (as per ATA7, ATA8 specifications).\n\nSo for those which specify it, we should automatically use the DMADIR bit.\nOtherwise, disc writing will fail by default on many SATA-ATAPI drives.\n\nThis patch adds ATA_DFLAG_DMADIR and make ata_dev_configure() set it\nif atapi_dmadir is set or identify data indicates DMADIR is necessary.\natapi_xlat() is converted to check ATA_DFLAG_DMADIR before setting\nDMADIR.\n\nOriginal patch is from Mark Lord.\n\nSigned-off-by: Tejun Heo \u003chtejun@gmail.com\u003e\nCc: Mark Lord \u003cmlord@pobox.com\u003e\nSigned-off-by: Jeff Garzik \u003cjeff@garzik.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9812bbf05e622ed20c7cbc14c479b3b929679b87",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-core.c",
      "new_id": "1845119cc7f01f8104df815162fd0d7d4502a530",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-core.c"
    },
    {
      "type": "modify",
      "old_id": "f888babc8283cc3512c2932769ff9bfc50a570de",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-scsi.c",
      "new_id": "0562b0a49f3b2acc474c3145ee0f48911eefe349",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-scsi.c"
    },
    {
      "type": "modify",
      "old_id": "78bbacaed8c4a4f2521f552432d2b4baf2dfc226",
      "old_mode": 33188,
      "old_path": "include/linux/ata.h",
      "new_id": "1c622e2b0504749e7fdc59b7406a12a1819f6651",
      "new_mode": 33188,
      "new_path": "include/linux/ata.h"
    },
    {
      "type": "modify",
      "old_id": "ce7603a73156b15490d054e4374fe1560d04a57f",
      "old_mode": 33188,
      "old_path": "include/linux/libata.h",
      "new_id": "a05f600136426c74455f2739169be4fec4c9497f",
      "new_mode": 33188,
      "new_path": "include/linux/libata.h"
    }
  ]
}
