summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dumpcis
Commit message (Collapse)AuthorAgeFilesLines
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+0
|
* Move sys/pccard/*.h here.imp2009-02-154-5/+487
|
* Remove unnecessary pccard/cardinfo.h include.imp2009-02-151-1/+0
|
* damn. Always do make depend. Forgot to recompile main because of it,imp2008-11-201-5/+5
| | | | | so the changes for the struct cis -> struct tuple_list didn't get made. They have been now.
* Fix check for link target so we don't print cardbus CIS information twice.imp2008-11-201-38/+39
| | | | Also, eliminate some magic constants and replace them with values from cis.h.
* Restore now-useless ioctl as a roadmap. The original dumpcis codeimp2008-11-201-0/+1
| | | | | | | | | | | | | | | | 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.
* More dead code removal.imp2008-11-201-6/+0
|
* The original programs that this code was lifted from (pccardd andimp2008-11-203-413/+19
| | | | | | | | | | 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.
* dump() really is unused, so retire it.imp2008-11-203-23/+0
|
* Simplify: move dumpcis.c and dumpcisfile.c into main.imp2008-11-205-134/+43
|
* make this warns=5 cleanimp2008-11-176-191/+46
|
* Move dumpcis to its own directory, start to decouple from theimp2008-11-178-0/+2320
pccardc/pccardd history.
OpenPOWER on IntegriCloud