summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authormhitch <mhitch@NetBSD.org>2000-03-04 05:42:55 +0000
committermhitch <mhitch@NetBSD.org>2000-03-04 05:42:55 +0000
commit8bf4d36694b6faf4df5c6d4f3578d3f5038d4385 (patch)
tree7cc7fb23009d094f891c5c07e3addad9575c0ce0 /sys/dev/raidframe
parent400fee7b5a578f5e5c899a6e45831174d0dd7e3c (diff)
Fix boot device detection. Device probes are not done when adapters are
configured, but after all adapters have been configured. When multiple adapters are present, only the last configured adapter could be matched to the boot device slot. The adapter attach routines now check if that adapter slot matches the boot device slot and saves the softc pointer for that controller. Then when the disks are configured, dk_establish() matches the appropriate controller. Also change the rz boot device test to include a check for the adapter so that it works when booting from a disk on adapters other than the first one.
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions