From 73353a64d2f018d91ad59d83432a89c8c91b0017 Mon Sep 17 00:00:00 2001 From: David Leonard Date: Thu, 19 Aug 1999 06:38:25 +0000 Subject: test vendor id against PCMCIA_VENDOR_INVALID, not against 0 --- sys/dev/pcmcia/if_rln_pcmcia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/pcmcia/if_rln_pcmcia.c b/sys/dev/pcmcia/if_rln_pcmcia.c index 7037868e5af..934c1a891fb 100644 --- a/sys/dev/pcmcia/if_rln_pcmcia.c +++ b/sys/dev/pcmcia/if_rln_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rln_pcmcia.c,v 1.5 1999/08/18 06:06:13 fgsch Exp $ */ +/* $OpenBSD: if_rln_pcmcia.c,v 1.6 1999/08/19 06:38:24 d Exp $ */ /* * David Leonard , 1999. Public domain. * @@ -230,7 +230,7 @@ rln_pcmcia_attach(parent, self, aux) sc->sc_dev.dv_xname); #ifdef DIAGNOSTIC - if (rpp->manufacturer == 0) + if (rpp->manufacturer == PCMCIA_VENDOR_INVALID) printf(" manf %04x prod %04x", pa->manufacturer, pa->product); #endif -- cgit v1.2.3