--- - branch: MAIN date: Tue Jul 14 13:24:00 UTC 2009 files: - new: '1.179' old: '1.178' path: src/sys/kern/subr_autoconf.c pathrev: src/sys/kern/subr_autoconf.c@1.179 type: modified id: 20090714T132400Z.7506bbfb06b6c662b11174af9566f7b46f86dd7b log: | Add a workaround for some traditional ports (amiga and atari): - Defer callout_setfunc() call after config_init() call in configure(). Fixes silent hang before consinit() at least on atari. These traditional ports use config(9) structures and autoconf(9) functions to detect console devices, and config_init() is called at very early stage at boot where mutex(9) is not ready. Actually config_init() has been split out from configure() for these ports: http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/kern/subr_autoconf.c#rev1.74 while x68k has been fixed properly: http://mail-index.NetBSD.org/source-changes/2009/01/17/msg215673.html See also: http://mail-index.NetBSD.org/port-x68k/2008/12/31/msg000006.html http://mail-index.NetBSD.org/port-atari/2009/07/03/msg000419.html module: src subject: 'CVS commit: src/sys/kern' unixtime: '1247577840' user: tsutsui