summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pccard/pccardd
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.16 was a bad change, so revert it.imp1999-12-081-16/+3
|
* If last state was supended, remove the card. This is a kludge, thereimp1999-12-081-0/+3
| | | | | | | is a race here that the old code didn't deal with, and I'm not completely sure this is the right way to solve it, but it works here. Should get rid of the dreaded "No free configuration for card" message.
* Bump CIS_MAXSTR from 30 to 254. pccard appears to define the entireimp1999-12-072-4/+17
| | | | | | | | | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-289-9/+9
|
* Added "include" feature to pccard.conf to put the default pccard.confhosokawa1999-08-172-9/+59
| | | | entries in /etc/defaults/.
* o Add "debuglevel" keyword to config file.imp1999-08-016-35/+78
| | | | | | | | | | | | | | | | | | | o Document debug level keyword o Implement debug level: o For most of the diagnostic messages, change them from #ifdef DEBUG to if (debuglevel > 0). o Add a couple more diagnostic messages that weren't present before o Fix a couple of excessively long lines. Reviewed by: hosokawa-san o Start to implement the stopgap kludge for -current's pccard code by passing the length of the i/o range. If DEV_DESC_HAS_SIZE is defined, we'll set the size. This is done as an ifdef so that I can generate patches against the kernel more easily. o Add preliminary support for tweaking sleep times, but leave it disabled until a good range of values can be established. Didn't fix: logmsg problem noted by Nate.
* Set correct "flags" value when pccardd allocates/initializes driver.hosokawa1999-07-231-1/+2
|
* Removed a very very old hack (I disabled it in PAO long time ago)hosokawa1999-07-231-2/+1
| | | | | that existed in original PC-card driver for FreeBSD 2.0 (maybe). This prevents from utilizing flags for drivers.
* Sorry, I forgot to test "iosize auto" before merging "iosize" patch.hosokawa1999-07-231-0/+9
|
* Inappropriate commment for -i option.hosokawa1999-07-231-2/+2
|
* Added "iosize" directive in /etc/pccard.confhosokawa1999-07-233-14/+76
| | | | | | | | | | | | | | | | | | Allocate free I/O window with given size to card. (example) # IBM PCMCIA Ethernet I/II card "IBM Corp." "Ethernet" config 0x1 "ed0" ? iosize 32 ether 0xff0 (it's currently only useful for externalizing hacks for broken CIS cards, but it will play an important role with "function" directive I'm planninng to merge) Reviewed by: freebsd-mobile list Obtained from: PAO3's "cardio" directive
* Release IRQ allocated dynamically.hosokawa1999-07-231-1/+4
|
* Fix a dangling else warning from new egcs.imp1999-07-151-2/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+2
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Added -z and -i option.hosokawa1999-06-301-1/+8
|
* FreeBSD does supports LKM now.hosokawa1999-06-291-9/+1
| | | | | | PR: doc/10331 Reviewed by: mpp@freebsd.org Submitted by: Andreas Gustafsson <gson@araneus.fi>
* Minor mdoc fix.mpp1999-06-261-2/+2
|
* More uncontroversial PAO updates. Make the IRQ wildcarding work a lot better,markm1999-06-172-5/+28
| | | | | | and improve the daemonizing code. Submitted by: Tatsumi HOSOKAWA
* Use O_RDONLY and O_RDWR for open() instead of number.kuriyama1999-02-051-2/+2
| | | | Encouraged by: Nate
* s/card.conf/pccard.conf/kuriyama1999-02-051-2/+2
|
* When resuming with 2 identical cards in 2 slots, the initialisationguido1999-01-101-2/+5
| | | | of the second card fails. This fixes that.
* 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
|
* 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-182-4/+4
| | | | 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-261-2/+2
| | | | | | | | | | | | 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-066-45/+60
|
* - 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-227-7/+7
|
* 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-147-7/+7
| | | | | | | | 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
|
OpenPOWER on IntegriCloud