From owner-freebsd-mobile Thu Mar 13 21:35:53 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6E5E37B401 for ; Thu, 13 Mar 2003 21:35:51 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 308C543F93 for ; Thu, 13 Mar 2003 21:35:51 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h2E5ZoA7095008; Thu, 13 Mar 2003 22:35:50 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 13 Mar 2003 22:35:34 -0700 (MST) Message-Id: <20030313.223534.51689435.imp@bsdimp.com> To: ler@lerctr.org Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: wierd(to me) messages from setup of (supported) modem card. From: "M. Warner Losh" In-Reply-To: <8770000.1047618034@lerlaptop.lerctr.org> References: <1760000.1047617641@lerlaptop.lerctr.org> <20030313.215824.98164738.imp@bsdimp.com> <8770000.1047618034@lerlaptop.lerctr.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org So what does Index: readcis.c =================================================================== RCS file: /cache/ncvs/src/usr.sbin/pccard/pccardd/readcis.c,v retrieving revision 1.23 diff -u -r1.23 readcis.c --- readcis.c 20 Feb 2002 14:48:23 -0000 1.23 +++ readcis.c 14 Mar 2003 05:33:18 -0000 @@ -691,7 +691,7 @@ hss = hss_check(tp->data); #endif /* HSSYNTH */ } - if (tinfo == NULL || (tinfo->length != 255 && tinfo->length > length)) { + if (tinfo != NULL && (tinfo->length != 255 && tinfo->length > length)) { printf("code %s ignored\n", tuple_name(code)); tp->code = CIS_NULL; } @@ -772,7 +772,6 @@ for (tp = tuple_info; tp->name; tp++) if (tp->code == code) return (tp); - printf("Code %d not found\n", code); return (0); } Do for you? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message