aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pccard
Commit message (Collapse)AuthorAgeFilesLines
* Use pause() rather than tsleep() on stack variables and function pointers.John Baldwin2007-02-271-1/+1
| | | | Notes: svn path=/head/; revision=167086
* o break newbus api: add a new argument of type driver_filter_t toPaolo Pisati2007-02-232-9/+23
| | | | | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@ Notes: svn path=/head/; revision=166901
* CompUSA mutli-format pcmica flash reader/writerWarner Losh2007-02-161-0/+2
| | | | Notes: svn path=/head/; revision=166789
* Updated tuple list, kindaWarner Losh2007-02-161-1/+1
| | | | Notes: svn path=/head/; revision=166788
* Add poitner to JEDEC publication 106Warner Losh2007-02-161-0/+4
| | | | Notes: svn path=/head/; revision=166787
* We need to free the ivars for the child that we just deleted.Warner Losh2007-02-031-0/+3
| | | | Notes: svn path=/head/; revision=166453
* Thomas Wintergerst reports that when this tsleep went away, certainWarner Losh2006-08-091-0/+10
| | | | | | | | | | | cards stopped working. Specifically the AVM B1 PCMCIA Card no longer detected. Its CIS chain read back as all FF's. Putting the delay back solves those problems. I've opted to put in a much shorter delay because as far as I can tell, no delay is really needed here. We'll see how well this works in practice. Notes: svn path=/head/; revision=161108
* Fix a few cis entries that were separated with spaces, not with commas.Warner Losh2006-07-141-3/+3
| | | | | | | This caused drivers for the cards they matched to not probe. Notes: svn path=/head/; revision=160336
* replace all the 660 with 650 in the cut-n-pasted line, rather thanWarner Losh2006-05-081-1/+1
| | | | | | | | | just some of them. Noticed by: brooks Notes: svn path=/head/; revision=158371
* Another NEW MEDIA .WAVjammer.Warner Losh2006-05-081-0/+1
| | | | Notes: svn path=/head/; revision=158370
* The D-Link DE-650 that I got in the last bulk PC Card purchase needs anWarner Losh2006-05-081-0/+1
| | | | | | | entry. Add it (back). Notes: svn path=/head/; revision=158368
* When pccard_safe_quote is passed NULL for src, it shouldn't panic.Warner Losh2006-04-271-1/+1
| | | | | | | | Someone sent me this a while ago, but I can't find who to give them proper credit... Notes: svn path=/head/; revision=158086
* Add some sanity checking to the pccard insertion case. Whine if theWarner Losh2005-12-281-4/+6
| | | | | | | | bridge tries to tell us about a new card when we have one already in the socket. Notes: svn path=/head/; revision=153773
* Add Global Village lan modem.Warner Losh2005-10-291-2/+6
| | | | | | | | | Add Billionton LNA-100B[1] Reported by: [1] Alan newsletter at acsoftware dot org Notes: svn path=/head/; revision=151839
* Mempage should be 1024 not 4096. This fixes the multiple 16-bit cardsWarner Losh2005-10-161-1/+1
| | | | | | | | | | | failing to work in, eg, Soekris boxes. This is a critcal fix for 6.0. MFC After: ASAP Notes: svn path=/head/; revision=151368
* Change I-O data WB-B11/CFZ entry to ELSA XI330 as the former is aWarner Losh2005-10-141-1/+1
| | | | | | | rebadged version of the latter. Notes: svn path=/head/; revision=151322
* IDs for generic card, airvast wm_100, i-o data wn-b11/cfzWarner Losh2005-10-111-1/+5
| | | | | | | Some of these may have been obtained from OpenBSD... Notes: svn path=/head/; revision=151226
* Remove OLDCARD vestiges from hereWarner Losh2005-09-251-60/+0
| | | | Notes: svn path=/head/; revision=150533
* Fix commentWarner Losh2005-09-251-2/+2
| | | | Notes: svn path=/head/; revision=150532
* Remove unnecessary Dlink de650 entryWarner Losh2005-09-241-1/+0
| | | | Notes: svn path=/head/; revision=150519
* Remove compat layer for OLDCARD compatibility. All instances of itWarner Losh2005-09-222-39/+0
| | | | | | | are now gone from the tree. Notes: svn path=/head/; revision=150468
* Better descriptions for the Jack of Diamonds cards.Warner Losh2005-09-211-5/+5
| | | | Notes: svn path=/head/; revision=150441
* Don't confuse the tuple code and the tuple length. Ooops. Since mostWarner Losh2005-09-211-1/+1
| | | | | | | CIS are tiny, this likely hasn't bit anybody yet... Notes: svn path=/head/; revision=150432
* Use the correct minor number for the pccardX.cis device.Warner Losh2005-09-201-3/+7
| | | | | | | | | | Don't destroy a NULL device. This should fix the panics on boot people are seeing on systems with more than one pccard slot. Notes: svn path=/head/; revision=150400
* remove some dead codeWarner Losh2005-09-201-9/+1
| | | | Notes: svn path=/head/; revision=150391
* Fix build.Gleb Smirnoff2005-09-202-0/+14
| | | | Notes: svn path=/head/; revision=150371
* Implement /dev/pccardN.cis. This mirrors the CIS for the card to userland.Warner Losh2005-09-204-164/+368
| | | | | | | | | pccardc dumpcis /dev/pccardN.cis will work now, but I may rewrite pccardc. Also, move more of the private data to a new file called pccardvarp.h. Notes: svn path=/head/; revision=150362
* Call the passed function on cis scanning for all nodes in the CISWarner Losh2005-09-201-0/+17
| | | | | | | chains, not just the 'real' ones. Notes: svn path=/head/; revision=150361
* Add a few new functions interfaces to allow reading/writing attributeWarner Losh2005-09-134-11/+172
| | | | | | | memory, the CCR and a tweak to cis_scan. Notes: svn path=/head/; revision=150098
* Define and use PCCARD_MEM_PAGE_SIZE.Warner Losh2005-09-132-1/+3
| | | | Notes: svn path=/head/; revision=150097
* MFp4: Remove stale functions.Warner Losh2005-09-131-21/+0
| | | | Notes: svn path=/head/; revision=150095
* MFp4:Warner Losh2005-09-101-2/+2
| | | | | | | | | | | | | | | | Reduce the size of ed a little by removing some CIS based entries (others likely can be removed too): o The D-Link DFE-670TXD doesn't need its own entry based on strings. o The Xircom CompactCard appears to be a TDK design, so list it there by ID and remove the strings. Increase the size of ed a little: o Add support for the Addtron AE-660CT and Addtron AE-660. This is a very generic NE-2000 clone (so generic that its CIS tags say NE-2000 generic card!). Notes: svn path=/head/; revision=149922
* Sorting the belly button lint of history:Warner Losh2005-09-071-7/+15
| | | | | | | | | | | o Note that the first 255 locations are reserved for JEDEC Ids from publication 106 (current revision Q, each one verified with JEDEC and the PMCICA). o Move ADAPTEC2 to the right section. o Sort TOSHIBA2 numerically. Notes: svn path=/head/; revision=149869
* Update for a few recently discovered Olicom token ring cards:Warner Losh2005-08-311-1/+3
| | | | | | | | OC3231 Token Ring + 28.8 modem OC3232 Token Ring + 33.6 modem Notes: svn path=/head/; revision=149674
* Global Village appears to be using 0x018c as its vendor ID, but thisWarner Losh2005-08-291-1/+6
| | | | | | | doesn't appear in the official lists, so make a note of that. Notes: svn path=/head/; revision=149561
* o Add Toshiba's id. Make AGERE an alias for LUCENT. Add Ungermann's ID.Warner Losh2005-07-181-0/+7
| | | | | | | | | o Add Agere Hermes II and II.5 PC Cards (from zipit web page), TDK GlobalNetworker 3410 (from dmesg for my card) and another alternate PANASONIC KXLC0005_2 (from pcmcia-cs id lists). Notes: svn path=/head/; revision=148141
* I believe that this tsleep was placed here in 1.28 to try to solve theWarner Losh2005-07-171-3/+1
| | | | | | | | | | problems we were having properly mapping the CIS attr space on some cards. Those problems have been solved other ways, so this kludge is no longer necessary. Remove it and have pccards come up a whole second faster. Notes: svn path=/head/; revision=148107
* Insert missing int i;Warner Losh2005-07-151-0/+1
| | | | Notes: svn path=/head/; revision=148019
* Also provide the function type in the nomatch routine.Warner Losh2005-07-141-4/+7
| | | | Notes: svn path=/head/; revision=148012
* Add device id for RATOC REX CFU1 sl811 based USB Host Controller.Takanori Watanabe2005-07-141-1/+2
| | | | Notes: svn path=/head/; revision=147988
* o Check to make sure the card has a function (panic if not) in read_ivar.Warner Losh2005-07-132-45/+65
| | | | | | | | | | o Use pf more consistantly for pccard_function. o Make sure we quote the strings properly (maybe this function belongs in subr_bus.c) o Tweak a comment to be more accurate after code changed. Notes: svn path=/head/; revision=147963
* The supposed OLD STYLE network MAC id tuple was really just a buggyWarner Losh2005-07-132-14/+1
| | | | | | | | expression in the card in question. Since that driver uses a different mechanism, retire the workaround for this bug. Notes: svn path=/head/; revision=147962
* Add a couple of other products, tweak a few descriptions.Warner Losh2005-07-131-1/+5
| | | | Notes: svn path=/head/; revision=147956
* Add a boatload of new device ids, gleaned from the pcmcia-cs-3.2.8Warner Losh2005-07-101-8/+49
| | | | | | | | | | distribution. Add the appropriate devices to the man pages. Obtained from: pcmcia-cs Approved by: re (scottl) Notes: svn path=/head/; revision=147872
* Add device entry for a Farallon EtherMac PC Card that I won on ebay. ThisWarner Losh2005-07-061-0/+1
| | | | | | | | | one is supported by the sn driver. Approved by: re (scottl) Notes: svn path=/head/; revision=147796
* Upon relection, we shouldn't allow the tuple structs to be modified byWarner Losh2005-07-012-10/+6
| | | | | | | | | | the functor, so make it a const pointer, and chase down the resulting const-poisoning. Approved by: re (scottl) Notes: svn path=/head/; revision=147729
* Add a much-requested feature: The ability for pccard attachments toWarner Losh2005-07-014-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scan the CIS for interesting tuples. 95% of what can be obtained from the CIS is harvested by the pccard layer and presented to the user in standard function calls. However, there are special needs at times where the standard stuff doesn't suffice. This is for those special cases. CARD_SCAN_CIS(device_get_parent(dev), function, argp) scans the CIS of the card, passing each tuple to function with the tuple and argp as its arguments. Returning 0 continues the scan, while returning 1 terminates the scan. The value of the last invocation of function is returned from this function. int (*pccard_scan_t)(struct pccard_tuple *tuple, void *argp) function called for each tuple. Elements of the CIS tuple can be read with pccard_tuple_read_{1,2,3,4,n}(). You are reading the actual tuple memory each time, in case your card has registers in the CIS. # I suppose these things should be documented in pccard(4) or something like # that. # I plan on unifying cardbus CIS support in a similar way. Approved by: re (scottl) Notes: svn path=/head/; revision=147711
* Eliminate unused argument in PCMCIA_CARD macro.Warner Losh2005-06-241-5/+29
| | | | | | | | | | | Provide a backwards compatible way to have the extra macro by defining PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that want/need to have the same driver on 5 and 6 with pccard attachments. Approved by: re (dwhite) Notes: svn path=/head/; revision=147580
* Add wireless + flash CF card I haveWarner Losh2005-06-241-0/+1
| | | | | | | Approved by: re (pccard API changes) Notes: svn path=/head/; revision=147579
* Initial import of ipw, iwi, ral and ural drivers:Damien Bergamini2005-04-181-0/+4
| | | | | | | | | | | | ipw - Intel PRO/Wireless 2100 iwi - Intel PRO/Wireless 2200BG/2225BG/2915ABG ral - Ralink Technology RT2500 ural - Ralink Technology RT2500USB Approved by: silby (mentor) Notes: svn path=/head/; revision=145247