Re: wierd(to me) messages from setup of (supported) modem card.

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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 [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.