#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
188633 |
|
15-Feb-2009 |
imp |
Move sys/pccard/*.h here.
|
#
185124 |
|
20-Nov-2008 |
imp |
Fix check for link target so we don't print cardbus CIS information twice. Also, eliminate some magic constants and replace them with values from cis.h.
|
#
185123 |
|
20-Nov-2008 |
imp |
Restore now-useless ioctl as a roadmap. The original dumpcis code assumed it had to toggle between attribute and common memory in the cards. The kernel is supposed to cope with that automatically and give us a tuple list. However, there's a number of details of how that happens that's currently, ummm, magical and/or not implemented for 16-bit PC Cards that have CIS_LONGLINK_C tuples in them (eg, mix both attribute memory and common memory). Also, CIS_LOGNLINK_A entries might not be handled completely correctly either, since there can be gaps in the attribute vs common stuff.
All this will need to be corrected in the kernel. Once it is corrected, dumpcis can be made even simpler in some ways, a little more complicated in others once an API for presentation of CIS to userland in these weird cases is settled upon.
|
#
185122 |
|
20-Nov-2008 |
imp |
More dead code removal.
|
#
185121 |
|
20-Nov-2008 |
imp |
The original programs that this code was lifted from (pccardd and pccardc) parsed data to make decisions about stuff related to card configuration.
The purely CIS dumping aspect of this program obviates the need for such parsing. Save some space and don't parse the data anymore for configuration purposes. Just parse it to print an interpreatation of it.
|
#
185115 |
|
20-Nov-2008 |
imp |
dump() really is unused, so retire it.
|
#
185033 |
|
17-Nov-2008 |
imp |
make this warns=5 clean
|
#
185032 |
|
17-Nov-2008 |
imp |
Move dumpcis to its own directory, start to decouple from the pccardc/pccardd history.
|
#
112243 |
|
14-Mar-2003 |
imp |
manufacturer id is typically 4 bytes
|
#
112233 |
|
14-Mar-2003 |
imp |
Don't be so verbose about 'unknown' CIS tuples. We were printing each one three times before we did the dump. Also, we printed 0x00 for the tuple type rather than the actual tuple type. Now, we print the actual tuple type. This appears to have no ill effects.
Should get rid of the
Code NN not found and code Unknown ignored
messages. The ignored messages are still generated for tuples tuples who have a minimum length set and we find a tuple of that type that's shorter than the minimum length.
|
#
111507 |
|
25-Feb-2003 |
green |
Add a new subcommand to pccardc(8), "dumpcisfile", which reads a CIS structure from a file instead of a PC-CARD itself before parsing and dumping it. (E.g. useful when you get a CIS file from a manufacturer which fixes they broken card's CIS, and add it to the pccard quirks.)
|
#
90968 |
|
20-Feb-2002 |
shiba |
Add some code which read manufucturer id. This is for NEWCARD compatibility.
Reviewed by: imp
|
#
88961 |
|
06-Jan-2002 |
imp |
Update length more correctly when parsing a cis info field.
Before, we were using while (*p++ && --len > 0); to do this. However, len doesn't get decremented for the NUL byte, so when we used len later to see if we still have CIS left for some optional fields, we'd run off the end of an array and dump core.
Instead, replace it with len -= strlen(p) + 1; p += strlen(p) + 1; which is more correct. It is a little bogus to assume that p points to a valid C string, but only a little. The PC Card SPEC mandates that it does, and we already depend on that with the use of strdup a few lines earlier. Since much of the rest of the cis parsing code isn't hyper retentive about error checking, I'll leave that level of checking for another time and/or another committer :-).
|
#
76343 |
|
07-May-2001 |
dmlb |
Use constants in <pccard/cis.h> for scannign the memory window with.
Approved by: imp
|
#
61804 |
|
18-Jun-2000 |
roberto |
Fix building with -DDEBUG.
|
#
59656 |
|
26-Apr-2000 |
iwasaki |
MFPAO3. Improvement of of pccard cis tuple parsing capability. - Fixed bogus CIS tuple dumping (Network node ID, IRQ modes and etc.) - Include telling drivers ethernet address if Network node ID tuple is available. This is usefull for some bogus ehter cards which can't get correct ethernet address from CIS tupple.
Obtained from: PAO3
|
#
59053 |
|
05-Apr-2000 |
iwasaki |
MFPAO: support wildcard entry for generic serial and fixed disk as fallthrough entry.
Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>, iwasaki Reviewed by: imp, -mobile ML and nomads ML in Japan Obtained from: http://www.freebsd.org/~iwasaki/pccard/pccardd-generic.diff http://home.jp.freebsd.org/~sanpei/4-current/usr.sbin-pccard-pccardd.diff
|
#
54325 |
|
08-Dec-1999 |
imp |
Version 1.16 was a bad change, so revert it.
|
#
54267 |
|
07-Dec-1999 |
imp |
Bump CIS_MAXSTR from 30 to 254. pccard appears to define the entire section we take them from to be up to 255 bytes long, so that's the max size for the string. They can't all be this big, but I don't have a better number and better to be a little long than a little short.
Also only consume len characters of the cis buffer so we don't run off the end into the next buffer and get garbage. This second patch shouldn't impact anything, but I'll hold off back porting this to -stable until I get more reports on the stability before/after this fix.
|
#
50479 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
35327 |
|
20-Apr-1998 |
nate |
MF22: Finish fixing 'looping' bug.
|
#
35310 |
|
19-Apr-1998 |
nate |
- If we see a tuple we don't expect, don't spin forever. Withouth this fix, I can't run pccardc dumpcis on my Wavelan card. :(
Obtained from: PAO
|
#
34699 |
|
20-Mar-1998 |
hosokawa |
Some parameter was left uninitialized when the card with incomplete "Version 1" CIS tupple is plugged after normal card.
|
#
31290 |
|
18-Nov-1997 |
nate |
- Include <pccard/cardinfo.h> instead of <pccard/card.h> which was recently renamed.
|
#
30171 |
|
06-Oct-1997 |
charnier |
Use err(3). Add usage()s.
|
#
22997 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
21371 |
|
06-Jan-1997 |
nate |
- A pass at staticizing things. - Try to have all output go through the routines in util.c [logerr(), log_1s(), die()] - Add *some* code in util.c to allow pccardd to run out of sysinstall.
Submitted by: Mostly me, but some by Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
|
#
16487 |
|
18-Jun-1996 |
nate |
Staticize and remove unused function.
Inspired by: The Nomad code
|
#
16466 |
|
17-Jun-1996 |
nate |
Prepend the CIS string length define with CIS_ per the rest of the constants.
Obtained from: Nomad code
|
#
15284 |
|
18-Apr-1996 |
nate |
Added RCS Id and BSD-style copyrights to individual files.
|
#
15177 |
|
10-Apr-1996 |
nate |
Run indent on all these files to make them more readable. (I also went through by hand and cleaned up some indent bogons.)
|
#
10255 |
|
25-Aug-1995 |
phk |
Shut a bunch of warnings.
|
#
10217 |
|
24-Aug-1995 |
phk |
The userland part of Andrew McRae's PCMCIA/PCCARD code.
This is not quite finished yet, and therefore I have not added it to the usr.sbin/Makefile yet. I collected a bunch of Andrews small programs into one: pccardc /phk
Reviewed by: phk Submitted by: Andrew McRae <andrew@mega.com.au>
|