)]}'
{
  "commit": "0b9cf3aa6b1e934807b40b4d478d7e11f7c43f55",
  "tree": "a666e7fbc7c65d39e71eb5f56bc4c3fd6fe0e953",
  "parents": [
    "663b0e15877293451bdfea619db45eafae9dec54"
  ],
  "author": {
    "name": "Roland Kletzing",
    "email": "devzero@web.de",
    "time": "Wed Jul 23 21:31:10 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jul 24 10:47:36 2008 -0700"
  },
  "message": "mdacon messing up default vc\u0027s - set default to vc13-16 again\n\nmdacon incorrectly detects MDA hardware on systems without such graphics card.\n\nOne may load this module by chance, for example when doing some systematical\nmodule-testing, and if there is no Monochrome Display Adapter attached ,\nmodule init renders vc1-16 completely unusable.\n\nI and others have run into this more than once.  see [Bug 224522 - modprobe\nmdacon freezes machine -\u003e https://bugzilla.novell.com/show_bug.cgi?id\u003d224522 ]\nfor example\n\nApparently  proper MDA detection seems to be broken for a long time - seems to\nbe related to those #ifdef TEST_MDA_B statements added by Edward Betts.\n\nthis commit back in 2002 made things even worse :\nhttp://git.kernel.org/?p\u003dlinux/kernel/git/tglx/history.git;a\u003dcommit;h\u003dc72757b49c88914433244757fb4967fc63546685\n\nIt changed default vc allocation from 13-16 to 1-16 for no apparent reason\n(!?) , and with that (and without X), mdacon grabs the vc you`re currently\nsitting on and locks you out.\n\nthis is from Kconfig :\n\u003econfig MDA_CONSOLE\n\u003e        depends on !M68K \u0026\u0026 !PARISC \u0026\u0026 ISA\n\u003e        tristate \"MDA text console (dual-headed) (EXPERIMENTAL)\"\n\u003e        ---help---\n\u003e          Say Y here if you have an old MDA or monochrome Hercules graphics\n\u003e          adapter in your system acting as a second head ( \u003d video card). You\n\u003e          will then be able to use two monitors with your Linux system. Do not\n\u003e          say Y here if your MDA card is the primary card in your system; the\n\u003e          normal VGA driver will handle it.\n\nAs we can see mdacon is just meant as an additional driver for dual-head\nsetup, and since kernel 2.4.36 still defaults to vc13-16 , setting the default\nback to that value again shouldn`t do any harm.\n\nHereby i\u0027m reverting that change, setting default back to to vc13-16 again.\n\nBesides the fact that mdacon may be rarely or never be used these days and\ncould perhaps put to trash anyway (pre-dinosaur hardware!), indeed this is not\na real solution, but at least it removes the unfortunate side-effect of\nmessing up the vc you`re working on.\n\nSigned-off-by: Roland Kletzing \u003cdevzero@web.de\u003e\nCc: James Simmons \u003cjsimmons@infradead.org\u003e\nCc: \"Antonino A. Daplas\" \u003cadaplas@pol.net\u003e\nCc: Tim Schmielau \u003ctim@physik3.uni-rostock.de\u003e\nCc: Jan Engelhardt \u003cjengelh@gmx.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "38a296bbdfc97a9a67ba1c0d74d2a81357698989",
      "old_mode": 33188,
      "old_path": "drivers/video/console/mdacon.c",
      "new_id": "9901064199bd165599a163deacf45737f7d210c2",
      "new_mode": 33188,
      "new_path": "drivers/video/console/mdacon.c"
    }
  ]
}
