summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-disk.c
diff options
context:
space:
mode:
authorremko <remko@FreeBSD.org>2007-06-26 22:13:43 +0000
committerremko <remko@FreeBSD.org>2007-06-26 22:13:43 +0000
commit62b8a82dc4546ba4ea96b579ad64bb24b80a2227 (patch)
tree010a16e32fcd78b5b2548524a777094140490fa3 /sys/dev/ata/ata-disk.c
parent6b276781fad7a061344301ba071e88e9822c50ba (diff)
downloadFreeBSD-src-62b8a82dc4546ba4ea96b579ad64bb24b80a2227.zip
FreeBSD-src-62b8a82dc4546ba4ea96b579ad64bb24b80a2227.tar.gz
Add Viking Interworks 256MB as an ata device; this might give
some false positives but at this moment it is better to add support then to dont have it at all (comment from Soren). PR: kern/111516 Submitted by: Thomas Nystrom <thn at saeab dot se> Approved by: re (kensmith) Approved by: imp (mentor) OK'ed by: sos (With the comment noted above about false positives).
Diffstat (limited to 'sys/dev/ata/ata-disk.c')
-rw-r--r--sys/dev/ata/ata-disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c
index 147cf0e..f13de56 100644
--- a/sys/dev/ata/ata-disk.c
+++ b/sys/dev/ata/ata-disk.c
@@ -80,7 +80,8 @@ ad_probe(device_t dev)
if (!(atadev->param.config & ATA_PROTO_ATAPI) ||
(atadev->param.config == ATA_CFA_MAGIC1) ||
- (atadev->param.config == ATA_CFA_MAGIC2))
+ (atadev->param.config == ATA_CFA_MAGIC2) ||
+ (atadev->param.config == ATA_CFA_MAGIC3))
return 0;
else
return ENXIO;
OpenPOWER on IntegriCloud