Date: Fri, 12 Mar 1999 20:41:35 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pccard/pccardc printcis.c Message-ID: <199903130441.UAA06314@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903130441.UAA06314>
