From b6268bb5e2da2eb8cd5ac237de3d69da7edf577e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Mon, 12 Feb 2001 08:33:28 +0000 Subject: [PATCH] Properly report the VIA '586 type. --- sys/dev/ata/ata-all.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 6e1e864ca18..7c1ff7e8ff8 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -279,8 +279,10 @@ ata_pci_match(device_t dev) return "AcerLabs Aladdin ATA33 controller"; case 0x05711106: - if (ata_find_dev(dev, 0x05861106, 0)) + if (ata_find_dev(dev, 0x05861106, 0x02)) return "VIA 82C586 ATA33 controller"; + if (ata_find_dev(dev, 0x05861106, 0)) + return "VIA 82C586 ATA controller"; if (ata_find_dev(dev, 0x05961106, 0x12)) return "VIA 82C596 ATA66 controller"; if (ata_find_dev(dev, 0x05961106, 0))