)]}'
{
  "commit": "7f97c000e87751fdca69d14cba2bbba795c1a972",
  "tree": "febcbb9ca2ab65cd26ed06df84981ebe8f8a3589",
  "parents": [
    "7d73aaf1d45d9bd95638680361db4d019ebb75bb"
  ],
  "author": {
    "name": "Maciej Szmigiero",
    "email": "mhej@o2.pl",
    "time": "Thu Dec 01 22:39:22 2011 +0100"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Fri Dec 09 19:07:46 2011 -0800"
  },
  "message": "serial: fix serial_cs I/O windows for Argosy RS-COM 2P\n\nCurrent serial_cs driver has a problem when trying to detect whether\na card has multiple ports: serial_config() calls pcmcia_loop_config()\nwhich iterates over card CIS configurations by calling\nserial_check_for_multi() for each of them.\n\nThis function wants to check (and select) a configuration\nthat has either one long I/O window spanning multiple ports or two 8-port\nwindows for two serial ports.\n\nProblem is, that every pcmcia_loop_config() iteration only updates\nthe windows (via pcmcia_do_loop_config() in resource[0] and resource[1])\nwhen CONF_AUTO_SET_IO flag is set on the device, which is set only later\nin the code.\n\nFix it by setting this flag earlier.\n\nIn addition to this, when multi-port card is detected\nand it does not have an one, long I/O window\nmulti_config_check_notpicky() tries to locate two I/O windows and assumes\nthey are continuous without checking.\n\nOn an Argosy RS-COM 2P this selects first configuration, which\nunfortunately has two non-continuous I/O windows.\nThe net effect is that the second serial port on the card does not work.\n\nFix it by checking whether the windows are really continuous.\n\nSigned-off-by: Maciej Szmigiero \u003cmhej@o2.pl\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eef736ff810af9d03a5a5036b682b4ac479b6084",
      "old_mode": 33188,
      "old_path": "drivers/tty/serial/serial_cs.c",
      "new_id": "86090605a84ee52291234c882470f67db012df4b",
      "new_mode": 33188,
      "new_path": "drivers/tty/serial/serial_cs.c"
    }
  ]
}
