)]}'
{
  "commit": "f31871951b38daf2d7ca17daad59fdb735062da3",
  "tree": "4286402eaf679b6fb73e893d8e51bb693559091d",
  "parents": [
    "ecef7253235e7a9365afe08a508e11bed91c1c11"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "htejun@gmail.com",
    "time": "Tue Apr 17 23:44:07 2007 +0900"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jeff@garzik.org",
    "time": "Sat Apr 28 14:16:03 2007 -0400"
  },
  "message": "libata: separate out ata_host_alloc() and ata_host_register()\n\nReorganize ata_host_alloc() and its subroutines into the following\nthree functions.\n\n* ata_host_alloc() : allocates host and its ports.  shost is not\n  registered automatically.\n\n* ata_scsi_add_hosts() : allocates and adds shosts associated with an\n  ATA host.  Used by ata_host_register().\n\n* ata_host_register() : takes a fully initialized ata_host structure\n  and registers it to libata layer and probes it.\n\nOnly ata_host_alloc() and ata_host_register() are exported.\nata_device_add() is rewritten using the above functions.  This patch\ndoes not introduce any observable behavior change.  Things worth\nmentioning.\n\n* print_id is assigned at registration time and LLDs are allowed to\n  overallocate ports and reduce host-\u003en_ports during initialization.\n  ata_host_register() will throw away unused ports automatically.\n\n* All SCSI host initialization stuff now resides in\n  ata_scsi_add_hosts() in libata-scsi.c, where it should be.\n\n* ipr is now the only user of ata_host_init().  Either kill it by\n  converting ipr to use ata_host_alloc() and friends or rename and\n  move it to libata-scsi.c\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": "aea766a48e05ce3b682a4a5b6f0923d9dadfafb9",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-core.c",
      "new_id": "b23f35a4ee6b64bd58a531574e661bcff044e26f",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-core.c"
    },
    {
      "type": "modify",
      "old_id": "563ef0bfb0384f6ff94792e273be706f5c7bc9f0",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-scsi.c",
      "new_id": "9afba2ba489e52097bc5fca2fe8fd98747b6b887",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-scsi.c"
    },
    {
      "type": "modify",
      "old_id": "1f1e3a51f85965f7cebadb3f6b10cfbdb07afb29",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata.h",
      "new_id": "b4d5253d627ab6144710e562f7172f75be755490",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata.h"
    },
    {
      "type": "modify",
      "old_id": "bda26e86f05fb2a8a9bf4ce05665cda347f0fc98",
      "old_mode": 33188,
      "old_path": "include/linux/libata.h",
      "new_id": "06cf23f0b3c76a10e9101dc3703cd19d4fae57c6",
      "new_mode": 33188,
      "new_path": "include/linux/libata.h"
    }
  ]
}
