summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pccard
Commit message (Collapse)AuthorAgeFilesLines
* When resuming with 2 identical cards in 2 slots, the initialisationguido1999-01-101-2/+5
| | | | of the second card fails. This fixes that.
* Fix typo.kuriyama1998-12-101-2/+2
|
* Keywords "iosize" and "memsize" are unused since 1.5. Removed.hosokawa1998-04-251-5/+1
|
* #define'd KWD_XXX for keywords.hosokawa1998-04-251-11/+25
|
* - Argh, fix stupid logic error in the laststate/state fix previously. That'snate1998-04-201-10/+3
| | | | what I get for trying to do too many things at once.
* - Don't try and keep track of the previous state, since the kernel maynate1998-04-201-19/+7
| | | | | | change it w/out informing the program. Instead, use the (now available) previous state returned by the kernel to make intelligent card removal/insertion decisions.
* MF22: Finish fixing 'looping' bug.nate1998-04-201-5/+1
|
* - If we see a tuple we don't expect, don't spin forever. Withouth this fix,nate1998-04-191-2/+3
| | | | | | I can't run pccardc dumpcis on my Wavelan card. :( Obtained from: PAO
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Some parameter was left uninitialized when the card with incompletehosokawa1998-03-201-1/+6
| | | | "Version 1" CIS tupple is plugged after normal card.
* Reviewed by: mike@smith.net.auhosokawa1998-03-095-61/+54
| | | | | Submitted by: nate@mt.sri.com Removed global variables. (and style(9) fix.)
* bit_nset was not correctly used.guido1998-03-021-2/+2
|
* Fix use of bit_nclear. Amazing that we didn't get more complaintsguido1998-03-021-2/+3
| | | | about inserting 2 pcmcia cards.
* Removed a confusing "#if 0 ... #endif".hosokawa1998-02-271-27/+1
|
* Removed "#define EXTERN" because this file doesn't have main().hosokawa1998-02-271-2/+1
|
* Moved main() to a new file (pccardd.c).hosokawa1998-02-274-77/+115
|
* Removed unused #include and unneccesary comments.hosokawa1998-02-271-7/+0
|
* "pccardc dumpcis" does not need write permission of /dev/card?.hosokawa1998-02-271-1/+1
|
* - <pccard/card.h> doesn't exist in -current, so use the include filenate1998-02-271-1/+1
| | | | | | | <pccard/cardinfo.h>. I don't know if this will compile, but at least it's using an include file that exists. Forgotten by: hosokawa
* added "rdattr" (read attribute memory) function.hosokawa1998-02-263-3/+100
|
* This seems to fix my problem that after resume/suspend, sometimesguido1998-02-041-3/+15
| | | | | | | | pccard claims that the driver is already allocated. It works around a race when pccardd gets woken up too late after a resume. This is a 2.2.6 candidate. Reviewed by: nate@freebsd.org
* Use consistent spelling,hoek1997-12-252-4/+4
| | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :)
* - Changed strcmp to strncmp for checking the CIS manufacturer strings,nate1997-12-081-3/+3
| | | | | | | | since we only store CIS_MAXSTR data, and the users may stick the 'entire' CIS string returned from the card in /etc/pccard.conf and cause the comparison to (bogusly) fail. Submitted by: Brad Karp <karp@eecs.harvard.edu>
* - Don't worry about the previous state of the card (insert/removed), andnate1997-11-251-2/+4
| | | | | | | instead Do The Right Thing when the kernel states a card was inserted/removed. This isn't a complete fix, but better than nothing. Reviewed by: Guido van Rooij <guido@gvr.org>
* - Renamed log_1s() to logmsg().nate1997-11-194-26/+26
|
* - Include <pccard/cardinfo.h> instead of <pccard/card.h> which was recentlynate1997-11-1810-20/+20
| | | | renamed.
* - Disable cards when doing a suspend by emulating that they have beennate1997-10-281-1/+4
| | | | | | | | | | | | removed. Add a new state 'suspend' so we 'fake' insertion events at resume time for the cards that have been suspended. [ The code still works if you remove the card during suspend, switch the card during suspend, or combinations of both. ] Reviewed by: frf@xocolatl.com
* - Do a bunch of gratuitous changes intended to make the code easier tonate1997-10-262-4/+4
| | | | | | | | | | | | follow. * Rename/reorder all of the pccard structures, change many of the member names to be descriptive, and follow more closely other 'bus' drivers naming schemes. * Rename a bunch of parameter and local variable names to be more consistant in the code. * Renamed the PCCARD 'crd' device to be the 'card' device * KNF and make the code consistant where it was obvious. * ifdef'd out some unused code
* Use err(3). Add usage()s.charnier1997-10-0615-156/+206
|
* - Bump up the size of the space for strings read from PCMCIA cards. Newernate1997-09-231-2/+2
| | | | | | cards have longer entries. Submitted by: Lars Fredriksen <lars@fredriks-1.pr.mcs.net>
* The pccard daemon doesn't support the 'class' parameter as stated in thenate1997-02-261-5/+2
| | | | | | documentation, so remove any hints of it. Submitted by: "Brent J. Nordquist" <bjn@visi.com>
* Revert $FreeBSD$ to $Id$peter1997-02-2218-18/+18
|
* Fix some xrefs.joerg1997-02-092-2/+2
| | | | Submitted by: John-Mark Gurney <jmg@nike.efn.org>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1418-18/+18
| | | | | | | | 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.
* Fix typo I introduced in the DEBUG code last night.nate1997-01-061-2/+2
|
* - A pass at staticizing things.nate1997-01-065-107/+131
| | | | | | | | - 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>
* Alphabetize the sources in the Makefile (this will help us to sync withnate1997-01-061-3/+3
| | | | the Nomad sources in the future).
* add missing comma(s) in .Xr macroswosch1996-09-231-1/+3
|
* Removed unused `-I.'s from CFLAGS.bde1996-09-041-2/+2
| | | | | | | | "." means the object directory, so it is just confusing to use it when nothing is included from the object directory unless the object directory is also the source directory. It is confusing for "." not to mean the source directory anyway, so used `-I.'s should be replaced by `-I${.OBJDIR}'.
* Use the defines and macros defined in /sys/pccard/cis.h to make the codenate1996-08-011-24/+25
| | | | | | easier to understand. LOTS more work needed in this area. Inspired by: The Nomad code
* In num_tok, allow the user to specify '0' as plain '0' instead ofnate1996-07-111-2/+3
| | | | | | forcing them to use '00', and/or '0x0'. Submitted by: Johann Tonsing <jtonsing@mikom.csir.co.za>
* Don't un-necessarily include varargs.h.nate1996-06-202-4/+2
|
* Print out the IRQ rather than the IRQ mask when printing out thenate1996-06-191-2/+2
| | | | resources allocated to the driver when DEBUG is defined.
* Enable code that allows the daemon to select a free IRQ from the list ifnate1996-06-191-15/+16
| | | | | none is selected. The code was already there but needed to be updated to use the correct structure element.
* Use irq_tok() instead of num_tok() for IRQ's. This will allow us to usenate1996-06-191-2/+2
| | | | | | | the '?' (undefined) token for stating IRQ's in the driver config line. This will allow the card to automatically select and unused IRQ when that code is enabled.
* Staticize and removed unused code.nate1996-06-181-65/+37
|
* Use CFLAGS += instead of setting it directly.nate1996-06-181-2/+2
|
* Staticize and remove unused function.nate1996-06-182-41/+24
| | | | Inspired by: The Nomad code
* - Removed dead code (if you need it you can get it out of thenate1996-06-184-267/+43
| | | | | | | | Repository). - Added some comments, and moved some code around to make flow more obvious. No functional changes.
* Prepend the CIS string length define with CIS_ per the rest of thenate1996-06-172-11/+11
| | | | | | constants. Obtained from: Nomad code
OpenPOWER on IntegriCloud