)]}'
{
  "commit": "ea4bbfd0048c53c24f72ef668b39f1247bc243c0",
  "tree": "df871a70349f18842c0a38b51cad2dd3ee65b07a",
  "parents": [
    "eb9b5141a9815ef898ef6b6441f733e81c272600"
  ],
  "author": {
    "name": "matthieu castet",
    "email": "castet.matthieu@free.fr",
    "time": "Tue Jun 30 23:04:55 2009 +0200"
  },
  "committer": {
    "name": "Ralf Baechle",
    "email": "ralf@linux-mips.org",
    "time": "Fri Jul 03 15:45:27 2009 +0100"
  },
  "message": "MIPS: BC47xx: Fix SSB irq setup\n\nThe current ssb irq setup in ssb_mipscore_init has the problem that it\nconfigures some device on some irq without checking that the irq is not\ntaken by an other device.\n\nFor example in my case PCI host is on irq 0 and IPSEC on irq 3.\nThe current code:\n  - store in dev-\u003eirq that IPSEC irq is 3 + 2\n  - do a set_irq 0-\u003e3 on PCI host\n\nBut now IPSEC irq is not routed anymore to the mips code and dev-\u003eirq is\nwrong.  This causes a problem described in [1].\n\nThis patch tries to solve the problem by making set_irq configure the\ndevice we want to take the irq on the shared irq0. The previous example\nbecomes:\n  - store in dev-\u003eirq that IPSEC irq is 3 + 2\n  - do a set_irq 0-\u003e3 on PCI host:\n  - irq 3 is already taken by IPSEC. do a set_irq 3-\u003e0 on IPSEC\n\nI also added some code to print the irq configuration after irq setup to\nallow easier debugging. And I add extra checking in ssb_mips_irq to report\ndevice without irq or device with not routed irq.\n\n[1] http://www.danm.de/files/src/bcm5365p/REPORTED_DEVICES\n\nSigned-off-by: Matthieu CASTET \u003ccastet.matthieu@free.fr\u003e\nAcked-by : Michael Buesch \u003cmb@bu3sch.de\u003e\nTested-by: Florian Fainelli \u003cflorian@openwrt.org\u003e\nSigned-off-by: Ralf Baechle \u003cralf@linux-mips.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3fd3e3b412b6598d0c32a70bc691ced97769a596",
      "old_mode": 33188,
      "old_path": "drivers/ssb/driver_mipscore.c",
      "new_id": "3c6feed46f6ea48b12d3083e1d95f1c33921029e",
      "new_mode": 33188,
      "new_path": "drivers/ssb/driver_mipscore.c"
    }
  ]
}
