aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/dumpcis
Commit message (Collapse)AuthorAgeFilesLines
* Retire pccard(4)Muhammad Moinur Rahman2025-11-121-2/+1
| | | | | | | | | | | | pccard has been declared obsolete for a long time and also the support has been removed but the man page still exists. It mentions being scheduled to be removed before 13.0 but it still exists in the tree. [Extracted from review D53434] Reviewed by: emaste Fixes: 31b35400c ("pccard: Remove more of the PC Card infrastructure")
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-163-6/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-161-1/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-162-4/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* Regularize my copyright noticeWarner Losh2019-12-042-2/+1
| | | | | | | | | | | | o Remove All Rights Reserved from my notices o imp@FreeBSD.org everywhere o regularize punctiation, eliminate date ranges o Make sure that it's clear that I don't claim All Rights reserved by listing All Rights Reserved on same line as other copyright holders (but not me). Other such holders are also listed last where it's clear. Notes: svn path=/head/; revision=355394
* Remove All Rights ReservedWarner Losh2019-02-051-1/+1
| | | | | | | | Remove the all rights reserved clause from my copyright, and make other minor tweaks needed where that might have created ambiguity. Notes: svn path=/head/; revision=343811
* Fix typo & buildLi-Wen Hsu2018-01-051-2/+2
| | | | | | | Approved by: kevlo Notes: svn path=/head/; revision=327582
* Add a number of sanity checks to the data that we're handling from theWarner Losh2018-01-053-81/+93
| | | | | | | | | | | | CIS. Coverity has tagged it as tainted. While this data is more trusted than your average data, we still need to do some basic validation on it. Check ioctl return value to ensure we switch memory targets between common and attribute as well as the lseek. CID: 1210464, 1006640, 1006868, 1007292, 1009091, 1009822, 1009824 Notes: svn path=/head/; revision=327576
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-276-4/+16
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge head from 7/28Simon J. Gerraty2014-08-191-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=270164
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge from headSimon J. Gerraty2013-09-051-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-201-2/+1
| |/ |/| | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* | Fxi a bunch of typos.Eitan Adler2013-05-101-1/+1
|/ | | | | | | | PR: misc/174625 Submitted by: Jeremy Chadwick <jdc@koitsu.org> Notes: svn path=/head/; revision=250460
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | Notes: svn path=/head/; revision=201390
* Move sys/pccard/*.h here.Warner Losh2009-02-154-5/+487
| | | | Notes: svn path=/head/; revision=188633
* Remove unnecessary pccard/cardinfo.h include.Warner Losh2009-02-151-1/+0
| | | | Notes: svn path=/head/; revision=188632
* damn. Always do make depend. Forgot to recompile main because of it,Warner Losh2008-11-201-5/+5
| | | | | | | | so the changes for the struct cis -> struct tuple_list didn't get made. They have been now. Notes: svn path=/head/; revision=185125
* Fix check for link target so we don't print cardbus CIS information twice.Warner Losh2008-11-201-38/+39
| | | | | | | Also, eliminate some magic constants and replace them with values from cis.h. Notes: svn path=/head/; revision=185124
* Restore now-useless ioctl as a roadmap. The original dumpcis codeWarner Losh2008-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. Notes: svn path=/head/; revision=185123
* More dead code removal.Warner Losh2008-11-201-6/+0
| | | | Notes: svn path=/head/; revision=185122
* The original programs that this code was lifted from (pccardd andWarner Losh2008-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. Notes: svn path=/head/; revision=185121
* dump() really is unused, so retire it.Warner Losh2008-11-203-23/+0
| | | | Notes: svn path=/head/; revision=185115
* Simplify: move dumpcis.c and dumpcisfile.c into main.Warner Losh2008-11-205-134/+43
| | | | Notes: svn path=/head/; revision=185114
* make this warns=5 cleanWarner Losh2008-11-176-191/+46
| | | | Notes: svn path=/head/; revision=185033
* Move dumpcis to its own directory, start to decouple from theWarner Losh2008-11-178-0/+2320
pccardc/pccardd history. Notes: svn path=/head/; revision=185032