)]}'
{
  "commit": "296ccb086dfb89b5b8d73ef08c795ffdff12a597",
  "tree": "8c4ef0f0271e448b6843811a1bcded8c47c005a1",
  "parents": [
    "7eb93b175d4de9438a4b0af3a94a112cb5266944"
  ],
  "author": {
    "name": "Yuji Shimada",
    "email": "shimada-yxb@necst.nec.co.jp",
    "time": "Fri Apr 03 16:41:46 2009 +0900"
  },
  "committer": {
    "name": "Jesse Barnes",
    "email": "jbarnes@virtuousgeek.org",
    "time": "Mon Apr 06 11:25:06 2009 -0700"
  },
  "message": "PCI: Setup disabled bridges even if buses are added\n\nThis patch sets up disabled bridges even if buses have already been\nadded.\n\npci_assign_unassigned_resources is called after buses are added.\npci_assign_unassigned_resources calls pci_bus_assign_resources.\npci_bus_assign_resources calls pci_setup_bridge to configure BARs of\nbridges.\n\nCurrently pci_setup_bridge returns immediately if the bus have already\nbeen added. So pci_assign_unassigned_resources can\u0027t configure BARs of\nbridges that were added in a disabled state; this patch fixes the issue.\n\nOn logical hot-add, we need to prevent the kernel from re-initializing\nbridges that have already been initialized. To achieve this,\npci_setup_bridge returns immediately if the bridge have already been\nenabled.\n\nWe don\u0027t need to check whether the specified bus is a root bus or not.\npci_setup_bridge is not called on a root bus, because a root bus does\nnot have a bridge.\n\nThe patch adds a new helper function, pci_is_enabled. I made the\nfunction name similar to pci_is_managed. The codes which use\nenable_cnt directly are changed to use pci_is_enabled.\n\nAcked-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Yuji Shimada \u003cshimada-yxb@necst.nec.co.jp\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "68f91a25259563c6bb7250d8ea3acfd636ad0b29",
      "old_mode": 33188,
      "old_path": "drivers/pci/bus.c",
      "new_id": "97a8194063b5d66fd754680a5c94323bec456c8c",
      "new_mode": 33188,
      "new_path": "drivers/pci/bus.c"
    },
    {
      "type": "modify",
      "old_id": "e9a8706a640182de0da0257cf2d82b590245eaf5",
      "old_mode": 33188,
      "old_path": "drivers/pci/pci-sysfs.c",
      "new_id": "cd8e682c04aa0636c47c2b08b821a445a1d09994",
      "new_mode": 33188,
      "new_path": "drivers/pci/pci-sysfs.c"
    },
    {
      "type": "modify",
      "old_id": "445fb6f7ea3fa01dc79beabc6d5685c48fa064fe",
      "old_mode": 33188,
      "old_path": "drivers/pci/pci.c",
      "new_id": "16fd0d4c316655dbcfb8729f82a9aef5cabb7e8c",
      "new_mode": 33188,
      "new_path": "drivers/pci/pci.c"
    },
    {
      "type": "modify",
      "old_id": "334285a8e23760f7b36eda595e9ef7aa0da0ecf4",
      "old_mode": 33188,
      "old_path": "drivers/pci/setup-bus.c",
      "new_id": "8d9da9d30a61ffcd058c352f22cc6baab8f9e9a4",
      "new_mode": 33188,
      "new_path": "drivers/pci/setup-bus.c"
    },
    {
      "type": "modify",
      "old_id": "a7fe4bbd7ff1f7be9eb28952bffd8802c55e6ff8",
      "old_mode": 33188,
      "old_path": "include/linux/pci.h",
      "new_id": "72698d89e767c76909fb0b4cdb65f292c93e0b76",
      "new_mode": 33188,
      "new_path": "include/linux/pci.h"
    }
  ]
}
