summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard
Commit message (Collapse)AuthorAgeFilesLines
* We need to free the ivars for the child that we just deleted.imp2007-02-031-0/+3
|
* Thomas Wintergerst reports that when this tsleep went away, certainimp2006-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.
* Fix a few cis entries that were separated with spaces, not with commas.imp2006-07-141-3/+3
| | | | This caused drivers for the cards they matched to not probe.
* replace all the 660 with 650 in the cut-n-pasted line, rather thanimp2006-05-081-1/+1
| | | | | | just some of them. Noticed by: brooks
* Another NEW MEDIA .WAVjammer.imp2006-05-081-0/+1
|
* The D-Link DE-650 that I got in the last bulk PC Card purchase needs animp2006-05-081-0/+1
| | | | entry. Add it (back).
* When pccard_safe_quote is passed NULL for src, it shouldn't panic.imp2006-04-271-1/+1
| | | | | Someone sent me this a while ago, but I can't find who to give them proper credit...
* Add some sanity checking to the pccard insertion case. Whine if theimp2005-12-281-4/+6
| | | | | bridge tries to tell us about a new card when we have one already in the socket.
* Add Global Village lan modem.imp2005-10-291-2/+6
| | | | | | Add Billionton LNA-100B[1] Reported by: [1] Alan newsletter at acsoftware dot org
* Mempage should be 1024 not 4096. This fixes the multiple 16-bit cardsimp2005-10-161-1/+1
| | | | | | | | failing to work in, eg, Soekris boxes. This is a critcal fix for 6.0. MFC After: ASAP
* Change I-O data WB-B11/CFZ entry to ELSA XI330 as the former is aimp2005-10-141-1/+1
| | | | rebadged version of the latter.
* IDs for generic card, airvast wm_100, i-o data wn-b11/cfzimp2005-10-111-1/+5
| | | | Some of these may have been obtained from OpenBSD...
* Remove OLDCARD vestiges from hereimp2005-09-251-60/+0
|
* Fix commentimp2005-09-251-2/+2
|
* Remove unnecessary Dlink de650 entryimp2005-09-241-1/+0
|
* Remove compat layer for OLDCARD compatibility. All instances of itimp2005-09-222-39/+0
| | | | are now gone from the tree.
* Better descriptions for the Jack of Diamonds cards.imp2005-09-211-5/+5
|
* Don't confuse the tuple code and the tuple length. Ooops. Since mostimp2005-09-211-1/+1
| | | | CIS are tiny, this likely hasn't bit anybody yet...
* Use the correct minor number for the pccardX.cis device.imp2005-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.
* remove some dead codeimp2005-09-201-9/+1
|
* Fix build.glebius2005-09-202-0/+14
|
* Implement /dev/pccardN.cis. This mirrors the CIS for the card to userland.imp2005-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.
* Call the passed function on cis scanning for all nodes in the CISimp2005-09-201-0/+17
| | | | chains, not just the 'real' ones.
* Add a few new functions interfaces to allow reading/writing attributeimp2005-09-134-11/+172
| | | | memory, the CCR and a tweak to cis_scan.
* Define and use PCCARD_MEM_PAGE_SIZE.imp2005-09-132-1/+3
|
* MFp4: Remove stale functions.imp2005-09-131-21/+0
|
* MFp4:imp2005-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!).
* Sorting the belly button lint of history:imp2005-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.
* Update for a few recently discovered Olicom token ring cards:imp2005-08-311-1/+3
| | | | | OC3231 Token Ring + 28.8 modem OC3232 Token Ring + 33.6 modem
* Global Village appears to be using 0x018c as its vendor ID, but thisimp2005-08-291-1/+6
| | | | doesn't appear in the official lists, so make a note of that.
* o Add Toshiba's id. Make AGERE an alias for LUCENT. Add Ungermann's ID.imp2005-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).
* I believe that this tsleep was placed here in 1.28 to try to solve theimp2005-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.
* Insert missing int i;imp2005-07-151-0/+1
|
* Also provide the function type in the nomatch routine.imp2005-07-141-4/+7
|
* Add device id for RATOC REX CFU1 sl811 based USB Host Controller.takawata2005-07-141-1/+2
|
* o Check to make sure the card has a function (panic if not) in read_ivar.imp2005-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.
* The supposed OLD STYLE network MAC id tuple was really just a buggyimp2005-07-132-14/+1
| | | | | expression in the card in question. Since that driver uses a different mechanism, retire the workaround for this bug.
* Add a couple of other products, tweak a few descriptions.imp2005-07-131-1/+5
|
* Add a boatload of new device ids, gleaned from the pcmcia-cs-3.2.8imp2005-07-101-8/+49
| | | | | | | distribution. Add the appropriate devices to the man pages. Obtained from: pcmcia-cs Approved by: re (scottl)
* Add device entry for a Farallon EtherMac PC Card that I won on ebay. Thisimp2005-07-061-0/+1
| | | | | | one is supported by the sn driver. Approved by: re (scottl)
* Upon relection, we shouldn't allow the tuple structs to be modified byimp2005-07-012-10/+6
| | | | | | | the functor, so make it a const pointer, and chase down the resulting const-poisoning. Approved by: re (scottl)
* Add a much-requested feature: The ability for pccard attachments toimp2005-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)
* Eliminate unused argument in PCMCIA_CARD macro.imp2005-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)
* Add wireless + flash CF card I haveimp2005-06-241-0/+1
| | | | Approved by: re (pccard API changes)
* Initial import of ipw, iwi, ral and ural drivers:damien2005-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)
* Big cleanup of resource code for pccard. Once coventry noticedimp2005-04-122-104/+30
| | | | | | | | | | problems here, it became clear we were being too complex. o Don't keep track of resources in two places o Use resource_list_purge instead of rolling our own o Just reassign the ownership of the resource, rather than freeing it and reallocating it. o Fix compile problems when sizeof(u_long) != sizeof(int)
* Cleanup of resource allocation code after having my attention focused onimp2005-04-122-34/+61
| | | | | | | | this code: o rid is stored in the resource, so don't bother keeping track of it here. o Implement memory space o Don't try to activate 'memory card' CFEs. This is type memory, as opposed to the memory resource.
* Use return value of resource_list_add to avoid a secondimp2005-04-121-7/+11
| | | | | | | | | | | | resource_list_find. Check to make sure that rle is not NULL and panic if it is (but it appears that resource_list_add already panics, so I'm not entirely sure it is necessary now). Add a test to make sure we have a interrupt resource when we're disabling it. This is also a cannot happen, but the extra care shoudln't hurt. Found by: Coventry tool via sam@
* deal with malloc failuresam2005-03-261-1/+4
| | | | Noticed by: Coverity Prevent analysis tool
* deal with failed malloc callssam2005-03-261-0/+14
| | | | | Noticed by: Coverity Prevent analysis tool Glanced at by: mdodd
OpenPOWER on IntegriCloud