summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pccard/pccardd/cardd.h
Commit message (Collapse)AuthorAgeFilesLines
* Add UNIX domain socket feature to pccardd. This makes pccardume2000-08-201-1/+9
| | | | | | | related PAO3/ports such as gxcardmon work. Reviewed by: imp Obtained from: PAO3
* Add new keyword "logstr". By default, we now use syslog outselves toimp2000-07-141-0/+1
| | | | | | | | | | | | | | | | log insert/remove events using the logstr, if specified for that card, or the manufacturer + version strings from the cis if not. This eliminates the need to have logger in the pccard.conf file which makes it easier to move pcardd to /sbin later if we need to. This also reduces the pccard.conf file size from 53k to 28k, which will help the install disk a little. Also, minor cleanup of free usage (if (x != NULL) free(x); is identical to free(x); for all versions of C that we care about). Reviewed by: iwasaki (who proposed the logstr keyword). Documentation and fixes to pccard.conf to follow.
* Add regex(3) matching feature for card line strings.iwasaki2000-05-301-0/+2
| | | | | | | | | | | | | | - This feature will be enabled only if the string is enclosed by '/' something like; card "SunDisk" "/.*/" - Also added matching additional information strings followed by version string. This is for the card which is difficult to idendentify by only the manufacturer and card version strings matching. card "MACNICA" "MIRACLE SCSI" "mPS100" "D.0" Reviewed by: imp Obtained from: PAO
* MFPAO3. Add support multi io window. This code support following cards;iwasaki2000-04-261-1/+1
| | | | | | | | | | | | Accton UE2212 PLANET-SMART-COM-CREDITCARD-2000 Melco LPC-T ME-3000II Laneed LD-CDY Melco LPC3-TX Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org> Obtained from: PAO3
* Add restart capability by SIGHUP. On restart, working configurationiwasaki2000-04-081-0/+3
| | | | | | | | | | (resource and card configuration being used) is to be maintained for consistency. Part of resource pool re-initialization would be rewrite later using on Warner-san's hints driver API :-) Reviewed by: nate, imp and -nomads ML in Japan. Obtained from: http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff Commited at: BSD HANAMI Party 2000 in Japan
* MFPAO: support wildcard entry for generic serial and fixediwasaki2000-04-051-0/+4
| | | | | | | | | 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
* - default config file changed from /etc/pccard.conf toiwasaki2000-03-301-0/+2
| | | | | | | | | | | | | | | | /etc/defaults/pccard.conf in pccardd. But system default pccardd config file is still /etc/pccard.conf.sample specified in /etc/rc.conf for the testing this changes. - improved `include' keyword function for error handling. - now that resource pool (io, irq, mem) can be overridden. - pccard config entries is searched following the first match rule if there are more than two entries which have the same card identifier. Note that the /etc/defaults/pccard.conf related files is not committed at this time, will come a week later. I'll prepare the test version of /etc/defaults/pccard.conf, /etc/pccard.conf and other files soon. Reviewed by: imp and nomads in Japan.
* Merge from PAO; Add new keywords for pccard.conf, auto and default.iwasaki2000-01-261-0/+9
| | | | | This will help importing pccard entries (and users :) from PAO into -CURRENT.
* Added "attr2" MAC address encoding (used by Megahertz Ethernet Card)hosokawa2000-01-211-1/+10
| | | | | | | support. Reviewed by: Warner Losh <imp@village.org> Obtained from: PAO
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Added "include" feature to pccard.conf to put the default pccard.confhosokawa1999-08-171-1/+3
| | | | entries in /etc/defaults/.
* o Add "debuglevel" keyword to config file.imp1999-08-011-1/+3
| | | | | | | | | | | | | | | | | | | 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.
* Added "iosize" directive in /etc/pccard.confhosokawa1999-07-231-3/+16
| | | | | | | | | | | | | | | | | | 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
* Reviewed by: mike@smith.net.auhosokawa1998-03-091-19/+15
| | | | | Submitted by: nate@mt.sri.com Removed global variables. (and style(9) fix.)
* Moved main() to a new file (pccardd.c).hosokawa1998-02-271-1/+6
|
* - Renamed log_1s() to logmsg().nate1997-11-191-2/+2
|
* - Include <pccard/cardinfo.h> instead of <pccard/card.h> which was recentlynate1997-11-181-2/+2
| | | | renamed.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* - A pass at staticizing things.nate1997-01-061-16/+24
| | | | | | | | - 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>
* - Removed dead code (if you need it you can get it out of thenate1996-06-181-19/+4
| | | | | | | | Repository). - Added some comments, and moved some code around to make flow more obvious. No functional changes.
* Added RCS Id and BSD-style copyrights to individual files.nate1996-04-181-1/+26
|
* Run indent on all these files to make them more readable. (I also wentnate1996-04-101-65/+63
| | | | through by hand and cleaned up some indent bogons.)
* Shut a bunch of warnings.phk1995-08-251-0/+2
|
* The userland part of Andrew McRae's PCMCIA/PCCARD code.phk1995-08-241-0/+129
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>
OpenPOWER on IntegriCloud