kernel/nataraid: Fix a panic upon booting with a degraded Intel RAID.v3.6.1
commit34f186d95672e382c821f79519a0b31a8ee4f2d4
authorSascha Wildner <saw@online.de>
Thu, 20 Feb 2014 20:44:03 +0000 (20 21:44 +0100)
committerSascha Wildner <saw@online.de>
Thu, 20 Feb 2014 20:44:44 +0000 (20 21:44 +0100)
tree5d8c6550e18f6d52e17494ef818368b5a5a193c4
parent5d7447f66073e0979186f97c14beb3f5bd47fba5
kernel/nataraid: Fix a panic upon booting with a degraded Intel RAID.

disk_idx has upper bits set in this case which we need to mask.

Taken-from:             FreeBSD's r205074
Reported-and-tested-by: Aaron Bieber <deftly@gmail.com>
sys/dev/disk/nata/ata-raid.c