Module Name: src Committed By: christos Date: Thu Apr 3 15:30:52 UTC 2014
Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Fix bugs in raidframe + wedge and root interaction: 1. Don't call cpu_rootconf() just to setup booted_device. Calling cpu_rootconf() multiple times can have nasty side effects (aside from printing root device twice). Instead for those who have it, call cpu_bootconf() which is intended just for that. 2. If the raid component devices are wedges, then matching the booted_device against the wedges will never work; match instead on the wedges parent. XXX: perhaps should keep looking if the parent is a wedge too? To generate a diff of this commit: cvs rdiff -u -r1.306 -r1.307 src/sys/dev/raidframe/rf_netbsdkintf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.