)]}'
{
  "commit": "530cb2d4f16c110d12852ecbb0d48860eb99bf5e",
  "tree": "a6b990b8d29e399ce20e888410f631e13061faa6",
  "parents": [
    "3b7e75a23e0d9f812e7e7792734846720dbfd648"
  ],
  "author": {
    "name": "Uwe Hermann",
    "email": "uwe@hermann-uwe.de",
    "time": "Thu May 14 22:58:21 2009 +0000"
  },
  "committer": {
    "name": "Uwe Hermann",
    "email": "uwe@hermann-uwe.de",
    "time": "Thu May 14 22:58:21 2009 +0000"
  },
  "message": "Make the nic3com code check how many supported NICs are found\n\nIf we find multiple ones, abort with a message to the user, suggesting\nto use the\n\n  flashrom -p nic3com\u003dbb:dd.f\n\nsyntax. If exactly one supported NIC is found, use it. If none is found,\nabort with an error.\n\nPrint the bb:dd.f numbers for all supported NICs we find, so the user\ndoesn\u0027t have to poke around in lspci output to find the desired bb:dd.f.\n\nAlso, drop one pci_read_long() in favor of using the already existing\nbase_addr[0] struct field.\n\nDrop the BAR in user messages, it\u0027s not really useful for us. Instead,\nexplain the BDF syntax a bit more verbosely.\n\nWhile I\u0027m at it, update the manpage some more to mention and fully\ndocument the external programmer support we have (or will have soon).\n\nThe patch is tested on hardware:\n\n$ flashrom -p nic3com flashrom v0.9.0-r512 Found NIC \"3COM 3C905C:\nEtherLink 10/100 PCI (TX)\" (10b7:9200, BDF 05:04.0) Found NIC \"3COM\n3C905C: EtherLink 10/100 PCI (TX)\" (10b7:9200, BDF 05:03.0) Error:\nMultiple supported NICs found. Please use \u0027flashrom -p nic3com\u003dbb:dd.f\u0027\nto explicitly select the card with the given BDF (PCI bus, device,\nfunction).\n\n$ flashrom -p nic3com\u003d05:04.0 flashrom v0.9.0-r512 Found NIC \"3COM\n3C905C: EtherLink 10/100 PCI (TX)\" (10b7:9200, BDF 05:04.0) Calibrating\ndelay loop... OK. Found chip \"Atmel AT49BV512\" (64 KB) at physical\naddress 0xffff0000. No operations were specified.\n\nCorresponding to flashrom svn r513.\n\nSigned-off-by: Uwe Hermann \u003cuwe@hermann-uwe.de\u003e\nAcked-by: Carl-Daniel Hailfinger \u003cc-d.hailfinger.devel.2006@gmx.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7a48041ef18071bb5613c2f3f787403373de3204",
      "old_mode": 33188,
      "old_path": "flashrom.8",
      "new_id": "abfafaaada29dfc856b2ea1c867de937ecb5ff0b",
      "new_mode": 33188,
      "new_path": "flashrom.8"
    },
    {
      "type": "modify",
      "old_id": "a98226720d180da8d38c280a9d1d529e13a7a16c",
      "old_mode": 33188,
      "old_path": "nic3com.c",
      "new_id": "baaec4b7e44ad5d57ced34de033b09953b743b85",
      "new_mode": 33188,
      "new_path": "nic3com.c"
    }
  ]
}
