diff options
author | sos <sos@FreeBSD.org> | 2002-02-12 11:35:15 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2002-02-12 11:35:15 +0000 |
commit | 334f09ed2aa2cadf1a5a71122136f5ef65f30423 (patch) | |
tree | 0c8c08ffda24c52313dd92cb9925bfcc9f6e4d43 /sys/dev/ata/atapi-all.c | |
parent | 050837293fd14801c43b6cdedb8f4af1561a00de (diff) | |
download | FreeBSD-src-334f09ed2aa2cadf1a5a71122136f5ef65f30423.zip FreeBSD-src-334f09ed2aa2cadf1a5a71122136f5ef65f30423.tar.gz |
Major update of the ATA RAID code, part 2:
More cleanups of the RAID1 failure mode code.
Add functionality that writes the changed RAID config setup
back to the disks (in controller BIOS specific format), so
that a reboot will make the BIOS pick up the changed config.
Diffstat (limited to 'sys/dev/ata/atapi-all.c')
-rw-r--r-- | sys/dev/ata/atapi-all.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c index aab4082..c0856d4 100644 --- a/sys/dev/ata/atapi-all.c +++ b/sys/dev/ata/atapi-all.c @@ -158,7 +158,9 @@ atapi_detach(struct ata_device *atadev) free(request, M_ATAPI); } free(atadev->result, M_ATAPI); - atadev->driver = NULL; /* XXX SOS safetybelt */ + atadev->driver = NULL; + atadev->flags = 0; + } int |