summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard
Commit message (Collapse)AuthorAgeFilesLines
* Regen.shiba2003-01-111-3/+10
|
* RATOC REX-R280(10Base-T Ether Card) and REX-9530(SCSI2 Card) haveshiba2003-01-111-1/+4
| | | | same product id. So use CIS info(PCCARD_CISTPL_VERS_1).
* regen to 1.38non2002-11-281-2/+60
| | | | | Reviewed by: imp Approved by: re
* o Add PC-Cards' ID or CIS strings which are supported by ncv, nsp,non2002-11-281-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | or stg driver. They are, Macnica mPS110, PANASONIC(KME) KXLC004, Qlogic Fast SCSI, Workbit Ultra Ninja-16, (ID based) Future Domain SCSI2GO, IBM SCSI PCMCIA card, I-O DATA CBSC16, Macnica mPS100, Newmedia BASICS-SCSI, RATOC REX-5536, RATOC REX-5536AM, RATOC REX-5536M, RATOC REX5572, Workbit NinjaSCSI-3 (CIS based) Note: We need vendor IDs WORKBIT2 and IODATA3 which is -1, since some cards does not have IDs in the CIS and fails to be probed without this fake vendor IDs. o Change the strings of RATOC REX_R280 from REX-R280 to REX-R280/REX-9530. This reminds us that REX-R280 and REX-R9530 have same ID (same product). Reviewed by: imp Approved by: re Obtained from: /etc/defaults/pccard.conf, List of CIS tupples by Toshihiko ARAI and PAO project: http://www.linkclub.or.jp/~clover/cis/ Change suggestion by: HASEGAWA Tomoki <thasegawa@mta.biglobe.ne.jp> for I-O DATA CBSC16 entry
* Fix printf() format errors.mux2002-11-142-2/+2
| | | | Reviewed by: imp
* MFp4:imp2002-11-141-4/+4
| | | | | | | | o Use 32-bit unsigned types for things that really are 32-bit quantities, not bus_addr_t. These are not the same as a bus_addr_t, so don't use that here. Harmless on i386, introduced problems on sparc64. Submitted by: jhb
* Remove an impossible condition. pf->dev is always non-null here.imp2002-11-141-2/+1
|
* regen to 1.37imp2002-11-141-2/+5
|
* Add a third aic-based bustoaster.imp2002-11-141-1/+2
|
* MFp4:imp2002-11-022-9/+4
| | | | | | | | | | | | | | | o Always release the resources on device detach. o Attach resources the same with driver added as we do we do in the insert case (maybe this should be a routine). o signal the wakeup of the thread on resume instead of trying to force an interrupt. o Minor debug hacks. o use 0xffffffff instead of -1 for uint32_t items. o Don't complain when we're asked to detach no cards. This is normal. o Eliminate the now worthless second parameter to card_detach_card. o minor style(9)isms Some of these patches may be from: iwasaki-san, jhb, iadowse
* sync to 1.36 of pccarddevsimp2002-10-111-20/+52
|
* Merge from NetBSD plus diff reduction to netbsd's pcmciadevs 1.177 file:imp2002-10-111-10/+24
| | | | | | | | | | | | o NETGEAR2 -> NETGEAR_2 o PLANEX2 -> PLANEX_2 o ACTIONTEC HWC01170 -> ACTIONTEC PRISM o linksys iwn2 -> iwn3 o Add: Ositech, DLINK_3, BAY emobility, buffalo lpc3_clt, netgear fa410TX. dynalink accton EN2216, corega ether II PCC TD, dlink dfe670TXD, dynalink l10c Obtained from: NetBSD
* sync to 1.35 of pccarddevsimp2002-10-111-1/+10
|
* Add a new NewMedia BUSTOASTER that I bought on ebay (sadly w/o scsi dongle).imp2002-10-111-0/+5
| | | | Add PLANEX GWNS11H submitted by hanai-san.
* o Add a nomatch routine so we whine when we don't know what to attach toimp2002-10-071-19/+90
| | | | | | | | | | the card. o Add comments about how we're doing the CIS activation. o Add location and pnp info functions. o Add better code to hopefully deal with ata cards better (and other drivers that allocate resources that we didn't preallocate from the CIS). OLDCARD used to allow it, but NEWCARD was pickier. I'm not 100% sure this works, but it doesn't break anything.
* Merge changes from NetBSD through version 1.17 of this file. Theseimp2002-10-071-14/+54
| | | | | | give us slightly better error checking than before and interpret what default bits mean better. See the NetBSD CVS tree for the authors of these changes (revs 1.10 .. 1.17).
* MFp4:imp2002-10-071-2/+1
| | | | | o Return the right string for CIS4_STR o kill obsolete comment about not doing something that we now do.
* Better comment for the product ID thing.imp2002-10-071-2/+5
|
* o Dike out the bogus reprobe stuff. It was getting in the way of newbus' ownimp2002-09-102-16/+0
| | | | | | | | reprobe code working. This bogusness was thrust upon me. o Don't delete the device if no drivers attach. I had thrust this bogusness upon others. These two changes make kldload of a pccard driver work again.
* regen for 1.34imp2002-09-101-1/+5
|
* Add ARGOSY SP320imp2002-09-101-0/+2
| | | | cis submitted by: phk
* More in the continuing saga of phk vs his strange serial card.imp2002-09-041-80/+20
| | | | | | | | | | | In this installment, we learn that it is bad to access registers that are only defined for mfc cards in the interrupt handler when we do not in fact have a mfc card. For MFC cards, we'll only call the ISR if the this card interrupted bit is set. For non mfc cards (which are basically 90% of pccards in use), we always call the ISR and avoid touching the suspect registers. We always pacify the bit in the MFC case on the off chance that will help in the itnerrupt handler not being registed.
* Drop another cookie to wet Warners appetite:phk2002-09-031-0/+6
| | | | | We need to call the drivers interrupt function even though the card is not multifunction.
* Make modems work:imp2002-08-311-20/+23
| | | | | | | | | | | | | | | | | Don't set the CCR_OPTION register when registering/deregistering interrupts unless the card is a MFC card. This makes a lot of cards work that didn't work before. These bits are only defined for MFC cards. Remove COOKIE_FOR_WARNER kludges that phk introduced. Add more debug info. Annoy the purists by committing two minor style nits at the same time. Many thanks to phk. He tracked this problem down to what was screwing things up, so fixing it became trivially easy once the problem was understood.
* Different and more correct workaround for broken cards under NEWCARD:phk2002-08-311-4/+8
| | | | | | | don't spam the configuration index register. I'm not sure where those bits truly belong, but spamming the config index sure doesn't do us any good.
* Ignore all config entries which have a non-zero start I/O address.phk2002-08-311-0/+4
| | | | | | | This is a bandaid which makes some more PCCards work under NEWCARD which would otherwise not work. Cards with only fixed address windows still loose.
* pccbb -> cbbimp2002-08-151-1/+2
|
* Don't redundantly include \n in panic messagesimp2002-08-121-1/+1
|
* Eliminate the need for pccard_common.c by moving the function inlineimp2002-07-173-70/+19
| | | | | | | in the .h file. Make it static __inline to make sure that it doesn't wind up defined in any files. Also, fix a typo that said null_do_attach instead of null_do_probe.
* regen from pccarddevs 1.33imp2002-07-171-2/+18
|
* MFOpenBSD:imp2002-07-171-1/+9
| | | | | | | | 1.93; henning; MA401RA wi card 1.92; millert; elsa XI-325 wi card 1.91; fgsch; gemplus cpr400 smartcard reader 1.90; mickey; Nokia c110/c111 is prism2 card 1.89-1.86 (similar to what we do already)
* Make oldcard and newcard kernel module work.takawata2002-05-304-4/+81
|
* Catchup to 1.32imp2002-04-111-1/+7
|
* Add ACTIONTEC HWC01170 from OpenBSDimp2002-04-111-0/+4
|
* catch up to 1.31imp2002-04-051-1/+4
|
* Add 3crwe77aimp2002-04-051-0/+1
|
* Regen for 1.30 pccarddevsimp2002-04-021-1/+8
|
* Actually merge proxim rangelands and addtron awp-100imp2002-04-021-0/+3
|
* regen to 1.29 pccarddevsimp2002-04-021-15/+40
|
* Merge from both NetBSD and OpenBSD's pcmciadevs:imp2002-04-021-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | NetBSD: 1.163; martin; ELSA MicroLink mc all 1.162; is; typo 1.161; is; typo 1.160; is; Add Lantech Fastnet/TX OpenBSD: 1.85; millert; proxim rangelan-ds 1.84; provos; linksys wpc11 1.83; mickey; now wires needed wlan 1.82; mickey; socket low power wlan from netbsd [*] 1.81; mickey; ericsson wlan 1.80; fgsch; add openbsd tag back (not needed) 1.79; fgsch; Netgear FA411 1.78; mickey; simple spectrum25 from netbsd [*] 1.77; mickey; emtac wavelan from netbsd [*] 1.76; mickey; buffalo wavelans from netbsd [*] 1.75; jakob; 3com wilress lan pccard 1.74; mickey; linksys2 instant wireless 1.73; mickey; oops (add closing quote) 1.72; mickey; pcm100 [*] (already in freebsd) Obtained from: NetBSD, OpenBSD
* Improve support of MFC cards (Multi-function cards). This commitimp2002-03-291-2/+4
| | | | | | | | | | | | | | | | | allows us to properly parse cards with attribute memory based CIS that before wouldn't parse correctly, sometimes with a panic. This allows me to get my 3C562 modem/ethernet card to fail to attach due to problems in the ep and sio drivers rather than due to problems in the CIS parsing code :-). We weren't setting the address to jump to for the function entries. This caused us to only work when the addional entries were after the first ones. On the 3C562/3C563 card this was not the case. We were also mapping Attribute memory when common memory was asked for in the target of the LONGLINK_{A,C} or LONGLINK_MFC. My IBM Home And Away Modem/LAN card still fails for reasons unknown.
* Regen for 1.28 of pccarddevsimp2002-03-171-1/+7
|
* Add support for the home Wireless Network airway wireless pcmcia card.imp2002-03-171-0/+4
| | | | | I cannot find where I got these patches, but I think it was from the bsd-nomads mailing list. Please contact me if you posted them there.
* Make hw.pccard.debug and hw.pccard.cis_debug tunable/sysctl. Setting to 1imp2002-03-072-4/+19
| | | | will enable more verbose debugging output from the pccard system.
* Add u_int16 prodext value in CISTPL_MANF_ID. This gets a fifth byteshiba2002-02-203-0/+15
| | | | | | | when manufacturer id tuple length is 5. This change is for xe driver. This is a dirty hack. But there is no better idea. Reviewd by: imp
* o Count the number of mem and io spaces we allocate. If none work, bail outimp2002-02-191-3/+15
| | | | | o Add some better debugging code. o Minor style(9) fixes.
* Do the cast away of unsignedness in a way that is more commprehensible.imp2002-02-191-1/+1
|
* Null interrupt handlers should be OK, so if we don't have a function,imp2002-02-101-6/+1
| | | | just return.
* o Use bus_generic_setup_intr instead of bus_setup_intr.imp2002-02-101-11/+8
| | | | | | | o Call bus_generic_setup_intr and check its return value. Don't setup func until we successfully get the interrupt from our parent. o Add comments about some maybe questionable stuff so I can check later to make sure that it really is that way.
* Boot verbosify printing the CIS, since we don't normally need to do that.imp2002-02-092-8/+2
|
OpenPOWER on IntegriCloud