summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pccard
Commit message (Collapse)AuthorAgeFilesLines
* Sort sections.ru2005-01-181-10/+10
|
* NOSHARED -> NO_SHAREDru2004-12-211-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-023-6/+9
|
* Some wordsmithing and mdoc(7) cleanup.josef2004-05-211-14/+27
| | | | | | Submitted by: Michel Lavondès <fox@vader.aacc.cc.md.us> PR: docs/66823 Reviewed by: simon
* Remove spurious semicolons. Outside of functions they are actually errors butstefanf2004-05-161-1/+1
| | | | | | | | GCC doesn't warn about them without -pedantic. Approved by: das (mentor) PR: 56649 Reviewed by: md5
* o Document -s flag.maxim2004-01-151-0/+7
| | | | | No objections from: ume MFC after: 2 weeks
* o Actually add -x option: probeonly assigment was missedmaxim2003-12-261-0/+3
| | | | | | | | in rev. 1.15 pccardd.c. Reported by: osa OK'ed by: imp MFC after: 2 weeks
* Ooops. Committed sin number 1: updating the code w/o updating the comments.imp2003-10-041-1/+2
| | | | Update the comments too.
* I've been burned about half a dozen times by the old PAO syntax forimp2003-10-041-0/+2
| | | | | | | 'any' interrupt. There's no reason not to be liberal here and accept the PAO syntax. MFC After: 2 weeks
* Go ahead and allow ports as high as 0xfff to be used for pccardimp2003-08-031-1/+1
| | | | | | devices. Only some devices support above 0x400, but since you have to explicitly enable this range, you are assumed to know what you are doing.
* Report the I/O base address in hex to be consistent with itsdds2003-07-181-1/+1
| | | | | | | specification format. Approved by: schweikh (mentor) MFC after: 2 weeks
* Include string.h for strlen declarationimp2003-06-091-0/+1
|
* Include stdlib.h for exit declarationimp2003-06-091-0/+1
|
* Include string.h for strcmp declarationimp2003-06-091-0/+1
|
* Remove obsolete compatibility ifdef.imp2003-04-231-2/+0
|
* Copy CIS3 and CIS4 strings into the kernel too.imp2003-04-232-0/+8
| | | | | PR: 51333 Submitted by: Scott Mitchell
* style.Makefile(5)obrien2003-04-042-2/+4
|
* manufacturer id is typically 4 bytesimp2003-03-141-1/+1
|
* Don't be so verbose about 'unknown' CIS tuples. We were printing eachimp2003-03-141-2/+1
| | | | | | | | | | | | | | | | one three times before we did the dump. Also, we printed 0x00 for the tuple type rather than the actual tuple type. Now, we print the actual tuple type. This appears to have no ill effects. Should get rid of the Code NN not found and code Unknown ignored messages. The ignored messages are still generated for tuples tuples who have a minimum length set and we find a tuple of that type that's shorter than the minimum length.
* mdoc(7) police: Nits.ru2003-03-021-2/+2
|
* Add a new subcommand to pccardc(8), "dumpcisfile", which reads a CISgreen2003-02-256-4/+94
| | | | | | structure from a file instead of a PC-CARD itself before parsing and dumping it. (E.g. useful when you get a CIS file from a manufacturer which fixes they broken card's CIS, and add it to the pccard quirks.)
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* Remove bogus comments about why we do some silly things, and insteadimp2002-09-291-12/+1
| | | | | | | just say that the reasons are historical. Pr: 41104 Submitted by: hiten
* Add -x option. This causes pccardd to exit after probing the cards. Thisimp2002-09-292-2/+14
| | | | | | | is useful for low memory systems. PR: 36418 Submitted by: Forrest W. Christian
* Add a ; to make a non-null statementimp2002-09-291-1/+1
|
* Copy cis strings into the kernel.imp2002-07-222-9/+15
|
* The .Nm utilitycharnier2002-07-142-11/+15
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-222-2/+2
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Correct a typo.dd2002-03-241-1/+1
| | | | | PR: 36214 Submitted by: Nagy Attila <bra@fsn.hu>
* Add some code which read manufucturer id. This is for NEWCARD compatibility.shiba2002-02-204-0/+46
| | | | Reviewed by: imp
* Update length more correctly when parsing a cis info field.imp2002-01-061-4/+11
| | | | | | | | | | | | | | | | | | Before, we were using while (*p++ && --len > 0); to do this. However, len doesn't get decremented for the NUL byte, so when we used len later to see if we still have CIS left for some optional fields, we'd run off the end of an array and dump core. Instead, replace it with len -= strlen(p) + 1; p += strlen(p) + 1; which is more correct. It is a little bogus to assume that p points to a valid C string, but only a little. The PC Card SPEC mandates that it does, and we already depend on that with the use of strdup a few lines earlier. Since much of the rest of the cis parsing code isn't hyper retentive about error checking, I'll leave that level of checking for another time and/or another committer :-).
* Fix a bug about CIS string comparison. Pccardd should be able to distinguishiwasaki2001-11-291-0/+4
| | | | | | | | | | | card "MELCO" "LPC2-T" and card "MELCO" "LPC2-TX" by this fix. Reported by: Kitagawa Shoichi <sk@xstar.kiu.ac.jp>, NINOMIYA Hideyuki <nin@shikoku.ne.jp> MFC after: 1 week
* Always set unit number to -1 unless some other unit is specified inimp2001-11-021-0/+1
| | | | | | | | the config file. This fixes the breakage caused by the recent change in the behavior of device_add_child for ata (which shows soren's reservations were well founded). Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
* Don't core dump if we can't get the index automatically.imp2001-10-051-1/+2
| | | | Debug info from: Ben Hockenhull <benh@jpj.net>
* Change the access width of memory window from 8 bits to 16 bits.non2001-09-041-1/+1
| | | | | | | | 16 bits access is required by nsp driver to work in SMIT mode. Since previously (1.65 and before in current, and 1.46.28 and before in stable branch) 16 bits access was default, I hope it will break nothing. Okayed-by: imp
* Fix ISA machines. Also, make it possible for the new pccardd to runimp2001-08-191-40/+61
| | | | | | | | on older kernels correctly. Terminate the loop when we find a suitable irq. Also, only try to select from the pool. Cleaned up the two cases (IRQ picked by the user and ?) into one. MFC upon re approval.
* Ask the kernel about IRQ 0 first. If the kernel responds with an IRQ,imp2001-08-142-20/+22
| | | | | | use it. If not, then loop asking for each one, with normal -I processing. This will effectively disable -I for when the pcic is in PCI function interrupt routing mode.
* Only try to allocated properly aligned I/O segments. This should stopimp2001-08-021-17/+12
| | | | | | | some of the config problems that we've been seeing (where wi0 tries to allocate 0x138-0x198, for example). Use err(1,"foo") rather than perror + exit while I'm here.
* Have pccardd always ask the kernel for the IRQ to use. The kernelimp2001-07-312-38/+47
| | | | | | | | | | will soon return the irq from the pcic bridge in cases where't that's appropriate. Note: I've had to disbale -I option for the moment. I've made it easy to reenable it for people that need it. MFC After: soon!
* Improve wording for pccard memory assignement.imp2001-07-271-4/+11
| | | | | Document intended correct behavior for pccardc power and how it interacts with suspend/resume.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-203-9/+9
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+0
|
* Remove whitespace at EOL.dd2001-07-153-7/+7
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-103-3/+3
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-092-2/+0
|
* Remove duplicate words.dd2001-06-241-1/+1
|
* Resetting using COR bit 7 appears to be bad on pci based systems.imp2001-06-041-0/+2
| | | | #ifdef it out for now.
* Add suggested parens around truth value.imp2001-05-311-1/+1
|
* From the PR:imp2001-05-301-4/+2
| | | | | | | | | | | | | The PCCard daemon can hang indefinately while reading its configuration file. If the last line of the file is a comment line that does not end in a newline, the program goes into an infinite loop searching for the non-existent newline. This fix, provided by the PR, will allow files ending without a newline to be read without hanging. Submitted by: Crist J. Clark <cjclark@alum.mit.edu> PR: bin/25791
OpenPOWER on IntegriCloud