Now works with the Digital Hinote Ultra Mobile Media CD-ROM trunk
authormatt <matt@NetBSD.org>
Sat, 25 Apr 1998 17:43:27 +0000
branchtrunk
changeset 38814 53b56012a678
parent 38813 169179db536e
child 38815 78721c69939a
Now works with the Digital Hinote Ultra Mobile Media CD-ROM
sys/dev/pcmcia/wdc_pcmcia.c
--- a/sys/dev/pcmcia/wdc_pcmcia.c	Sat Apr 25 17:41:01 1998 +0000
+++ b/sys/dev/pcmcia/wdc_pcmcia.c	Sat Apr 25 17:43:27 1998 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: wdc_pcmcia.c,v 1.2 1998/01/23 01:14:13 mycroft Exp $ */
+/*	$NetBSD: wdc_pcmcia.c,v 1.3 1998/04/25 17:43:27 matt Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Charles M. Hannum.  All rights reserved.
@@ -100,11 +100,12 @@
 {
 	struct pcmcia_attach_args *pa = aux;
 
-	if (pa->card->cis1_info[0] != NULL &&
-	    strcmp(pa->card->cis1_info[0], "Digital Equipment Corporation.") == 0 &&
-	    pa->card->cis1_info[1] != NULL &&
-	    strcmp(pa->card->cis1_info[1], "Digital Mobile Media CD-ROM") == 0)
-		return 1;
+	if (pa->card->manufacturer == 0x100 && pa->card->product == 0xd00) {
+		if (pa->card->cis1_info[1] != NULL &&
+		    strcmp(pa->card->cis1_info[1], "Digital Mobile Media CD-ROM") == 0)
+			return 1;
+	}
+
 
 	return 0;
 }