--- - branch: netbsd-5 date: Mon May 11 20:07:08 UTC 2009 files: - new: 1.56.6.1 old: '1.56' path: src/sys/dev/md.c pathrev: src/sys/dev/md.c@1.56.6.1 type: modified id: 20090511T200708Z.0bb702611fab2201785d6f1fdcab59a01a60ff83 log: "Pull up following revision(s) (requested by manu in ticket #749):\n\tsys/dev/md.c: revision 1.58\nTFTPROOT loads the RAMdisk through TFTP at boot time. It needs the\nnetwork to be functionnal, and therefore must be called after\nconfig_finalize(). Unfortunately, config_finalize() attaches md0\nthrough mdattach(), and when tftproot_getfile() attempts to attach it\nlater by calling mdattach() again, it gets a failure.\nThis change checks for the RAMdisk size in mdattach(). If it is zero, then\nthe RAMdisk has not been loaded yet, and nothing is done. It will be\nattached later when tftproot_getfile() will call mdattach()\n" module: src subject: 'CVS commit: [netbsd-5] src/sys/dev' unixtime: '1242072428' user: bouyer