From owner-cvs-all Fri Mar 12 20:41:50 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C101E14DEF; Fri, 12 Mar 1999 20:41:48 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id UAA06314; Fri, 12 Mar 1999 20:41:35 -0800 (PST) (envelope-from imp@FreeBSD.org) Message-Id: <199903130441.UAA06314@freefall.freebsd.org> From: Warner Losh Date: Fri, 12 Mar 1999 20:41:35 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pccard/pccardc printcis.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk imp 1999/03/12 20:41:35 PST Modified files: usr.sbin/pccard/pccardc printcis.c Log: When printing out V1 info, make sure that there is additional info before printing it. Terminate when we come to a 0xff byte. This allows there to be zero or more additional info fields printed correctly. Before, the old code would print bogons or dump core when presented with this case. I don't know what the spec says about this, exactly, but this allows me to do a dumpcis of my non-ATA AMP 4M FLASH cards w/o pccardc dumping core. Revision Changes Path 1.10 +8 -2 src/usr.sbin/pccard/pccardc/printcis.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message