Commit Graph

362 Commits

Author SHA1 Message Date
emax
a76a166318 Resync 2004-05-10 02:26:49 +00:00
emax
7cd8d7675e Mode few Bluetooth defines into system include files
Reviewed by:	imp
2004-05-10 02:24:56 +00:00
imp
b5c3c9d311 This file has never been used, nor will it ever be used in FreeBSD, so
remove it.
2004-05-09 07:09:30 +00:00
imp
67c5859522 Improve reading of CIS cards:
(1) Align to 64k for the CIS.  Some cards don't like it when we aren't
    aligned to a 64k boundary.  I can't find anything in the standard
    that requires this, but I have 1/2 dozen cards that won't work at
    all unless I enable this.
(2) Sleep 1s before scanning the CIS.  This may be a nop, but has little
    harm.
(3) The CIS can be up to 4k in some weird, odd-ball edge cases.  Since we
    have limiters for when that's not the case, it does no harm to increase
    it to 4k.

#1 was submitted, in a different form, by Carlos Velasco.
2004-04-12 20:56:34 +00:00
rsm
f4bb5b9196 Sync to pccarddevs 1.83
Reviewed by:	imp (mentor)
2004-04-09 17:10:12 +00:00
rsm
85b93e274d Add Xircom XEM5600 and known versions of CE2, CEM33 and CEM56.
Xircom had an unfortunate habit of re-using PCMCIA IDs for quite different
cards - the xe driver knows about this and uses the first byte of 'extra'
PCMCIA ID info to identify cards with ambiguous IDs.

Reviewed by:	imp (mentor)
2004-04-09 17:08:12 +00:00
imp
0bb017e235 Sync to pccarddevs 1.82 2004-03-25 21:56:43 +00:00
imp
988874931b Add a new Intersil card that DLINK is selling as the DWL-650.
Reported by: Brian O'Shea
2004-03-25 21:56:28 +00:00
njl
05a1f56fc9 Convert callers to the new bus_alloc_resource_any(9) API.
Submitted by:	Mark Santcroos <marks@ripe.net>
Reviewed by:	imp, dfr, bde
2004-03-17 17:50:55 +00:00
ume
e8cce017e5 Sync to pccarddevs 1.81. 2004-01-21 16:03:40 +00:00
ume
1bc38b5944 There is PANASONIC KXLC005 which has another product id. 2004-01-21 16:02:20 +00:00
kato
d72f7f2fd8 Sync to 1.80. 2003-12-31 04:21:42 +00:00
kato
05f23e63ad Added ID for TDK LAK-CD031 Ethernet card.
Reviewed by:	imp
2003-12-31 04:19:50 +00:00
imp
954c37da29 Use %#jx for both args.
Non-use of %# mocked by: bde
2003-11-04 06:30:59 +00:00
imp
ba259e8c51 Fix two small style nits pointed out by bde: Remove spaces after cast and
indent continued line 4 spaces instead of 2.
2003-11-03 21:54:24 +00:00
imp
e4d314404f Sync to 1.79 2003-11-03 16:12:27 +00:00
imp
00da6b89f2 Add intel EtherExpress PRO PCMCIA card ID. Well, I don't know if it
is really EtherExpress or EEPro or what, but it does appear in a
couple of ethernet cards that have appeared recently on ebay.  Silicom
appears to make these cards, and they have the 82595TX chipset in
them, and sometimes uarts.  The ex driver needs some work to support
these cards, but I thought I'd get the device into pccarddevs.
2003-11-03 16:09:17 +00:00
imp
2d0c1ab108 Sync to 1.78 2003-11-03 16:05:46 +00:00
imp
4bbd8335fc o Use %j and uintmax_t rather than uint64_t for casting.
o use more proper bus_size_t for iosize rather than bus_addr_t.

Noticed by: bde
2003-11-03 16:04:31 +00:00
imp
62c0a5f81d ia64 tenderbox hates what I did wrt a printf, so cast the snot out of
it and hope for the best.
2003-11-03 01:30:03 +00:00
imp
1715012e34 MFp4:
o Fix MFC cards.  We were bogusly setting CCR_IOBASE[01] and CCR_IOLIMIT.
  now when we activate the resource, we adjust these for MFC cards, per the
  spec.
o Change type of pf_mfc_* to be bus_addr_t, which is more correct than
  long.

This makes my 3C362D/3C363D and 3CXEM556 cards work!  Woo Hoo!
2003-11-02 20:18:19 +00:00
imp
3543793158 sync to 1.77 2003-10-27 05:37:34 +00:00
imp
3d6f5f0b43 Correct CEM33 2003-10-27 05:37:01 +00:00
imp
926420ae44 Sync to pccarddevs 1.76 2003-10-26 22:24:01 +00:00
imp
9fccc74128 Add Olicom GoCard 28.8k version 2003-10-26 22:22:34 +00:00
imp
5cdfd9a372 Sync to 1.75 of pccarddevs 2003-10-26 20:09:57 +00:00
imp
2ebce6f2f6 Minor tweak to Olicom 2220. Also add the OC-2232 while I'm here.
Looks like 'special magic' is needed to access the ethernet part of
that combo card, so I've not added it to ex.
2003-10-26 20:09:18 +00:00
imp
27777fa56f Sync to pccarddevs 1.74 2003-10-26 06:32:50 +00:00
imp
253d04949e Add ID for olicom GOCARD Ethernet (OC2220) 2003-10-26 06:31:46 +00:00
imp
7a210cb6a4 Const poison string accessor functions. 2003-10-26 00:51:40 +00:00
imp
d16e8d20c6 sync to 1.73 2003-10-08 01:16:07 +00:00
imp
1dcd696163 Xircom Wireless ethernet
Submitted by: Keith Davis
2003-10-08 01:15:41 +00:00
imp
3c9423ed25 Add new file for definitions of CIS. We can share this with cardbus.
the filename isn't that bad, because all of these are defined in the
PC Card standard :-)
2003-10-07 03:35:48 +00:00
imp
a14856a6a8 o move the cis tuple definitions into a common file.
o minor optimization of cardbus_cis processing.  Remove a bunch of generic
  entries that are handled by generic.
o no longer need the card_get_type stuff.
2003-10-07 03:33:54 +00:00
imp
c69588a19e refactor how we do the quirk matching. this puts an ugly if into a
routine of its own, and allows us to move the indentation back two
layers making the code more readable.

delete a prototype that should have been killed years ago in pccardvar.h.

# adding quirks here is way harder than it needs to be. :-(
2003-10-06 07:17:20 +00:00
imp
57b5be873d Remove the cis reading bus methods. They were never implemented and
there's been some critism about the API not being lock friendly.
2003-10-06 07:10:40 +00:00
imp
801b59d24f sync to 1.72 2003-09-22 05:27:33 +00:00
imp
e29006177e Merge from NetBSD:
1.186: onoe; Sony's PEGA-WL110 CF WLAN (which strangely has fujitsu's
   vendor id)
1.185: ichiro; Quatech Inc, PCMCIA Enhanced Parallel Port Card

Also:
o update $NetBSD$
o minor tweaks to FUJITSU.  We've tried to keep the CIS only entries seprate
  from vendor id/product id.
2003-09-22 05:27:03 +00:00
imp
1488a1b591 update to 1.71 2003-09-20 18:01:51 +00:00
imp
988bd8667b EXPsys PCMCIA Ethernet Combo
Submitted by: Ludwig Pummer
2003-09-20 17:54:30 +00:00
imp
ff24bd8ac9 Remove unused #defines. 2003-09-20 17:46:39 +00:00
imp
b47f4b4ae0 sync to 1.70 2003-09-20 05:24:50 +00:00
imp
74012fac9f OEM version of Proxim Harmony card
Submitted by: Jeremy Bingham
2003-09-20 05:23:50 +00:00
imp
e4939ef70d Whacked out CIS configurations can cause us to not have any child. When
such a card is ejected, we'd panic.  Instead, just ignore it.

I should also add a sanity check in the FUNCID code as well, but this
isn't wrong since the check is cheap and happens infrequently.
2003-09-05 03:08:08 +00:00
imp
f208df8a36 Remove unneeded field after CIS changes. 2003-08-29 00:25:50 +00:00
imp
dd084178f0 Probe routines can return < 0 for speculative matches. In the
compatibility routine, go ahead and accept that as 'success'.  A
properly written compatible driver should return < 0 for both the
compat match and compat probe routines, so this will wind up doing the
right thing.
2003-08-25 18:20:03 +00:00
obrien
c63dab466c Use __FBSDID().
Also some minor style cleanups.
2003-08-24 17:55:58 +00:00
imp
7988908976 Sync 2003-08-21 18:05:55 +00:00
imp
cd24abf0c8 Sort the vendors into three sections. First section is for those
vendors that list the vendor ID in the proper byte order.  The second
section is for vendors that get it backwards.  The third is for what
appear to be 'random' ones (although 0xcxxx appears to be coherent
enough that maybe somebody else is assigning those numbers).
2003-08-21 18:05:35 +00:00
imp
54ff07d4ba Sync to 1.68 2003-08-21 17:50:26 +00:00
imp
8a10259068 Compaq's ID is 0x138. However, it looks like they also released
something with the vendor ID of 0x183.  That could be a typo, or it
could be Paralon Technologies.  Add an entry for Paralon, but don't
use it yet.
2003-08-21 17:49:50 +00:00
imp
3847c28e90 Update to pccarddevs 1.67 2003-08-21 17:40:28 +00:00
imp
ff4bad4bdf Vendor ID 0x274 is Bromax Communications, not Linksys. Linksys sells
them as 'Instant Wireless' cards.
2003-08-21 17:39:56 +00:00
imp
840ce2ddc5 Sync to 1.66 2003-08-21 17:26:59 +00:00
imp
c912f42983 Vendor ID 0x0128 is registered to DSP Solutions, Inc. Megahertz sold
these under X-Jack and XJEM1144.  Update to reflect this.
2003-08-21 17:26:44 +00:00
imp
bec58bb460 Sync to 1.65 2003-08-21 16:43:27 +00:00
imp
65f199ba32 Change INTERSIL to INTERSIL2 for the -1 case. Chances are good that
this card has a real ID, but I don't know what it is at this time.
2003-08-21 16:43:10 +00:00
imp
e09187300d Regen for 1.64 2003-08-21 16:41:14 +00:00
imp
64ce51d51e Vendor 0xb is intersil, not Netgear. The MA401RA is just Netgear's
modle number, and I continue to use it as a place holder until I find
out what Intersil's name for it is.
2003-08-21 16:40:20 +00:00
imp
c002aea5f8 pc98pcic isn't the name of the media driver. tcic likely will never
happen (unless someone sends one to me).  Kill bogus module depend
that I commented out over a year ago.
2003-08-20 05:50:56 +00:00
imp
8b251db37c When debugging CIS, only print 10 CISTPL_NULLs. Chances are good they
are all bogus, and the cards that don't decode things quite right
often have hundreds of them.  This will fix starvation of small dmesg
buffers and allow better debugging to happen.  I thought about adding
an override, but there is such a thing as too many knobs. :-)
2003-08-20 05:44:55 +00:00
imp
4c787d57b8 Put a band-aide(tm) on the CIS panic problem. This is a similar fix
to what is in NetBSD.  I have a few cards that tickles this bug, and
this just keeps us from panicing.  It doesn't actually fix the problem
(that will happen once I figure out why some cards hate the address
their CIS is mapped to high memory).
2003-08-18 03:07:09 +00:00
imp
d969d27534 resync to pcarddevs 1.63 2003-08-14 06:27:48 +00:00
imp
9f56546591 add microsoft mn-520 wlan card.
submitted by: Kirk Strauser
2003-08-14 06:26:58 +00:00
imp
234a039868 Sync to 1.62 of pccarddevs 2003-08-07 19:36:06 +00:00
imp
b63433a093 MELCO has a similar product to Buffalo LPC3-CLX: named the same and
has the same product id, but different vendor id.  It also appears
that the MELCO's id should be 0x18a instead of 0x8a01.  Fix this.

Submitted by: Shizuka Kudo-san
2003-08-07 19:33:11 +00:00
imp
484538ee73 Sync to 1.61 of pccarddevs 2003-07-26 17:46:43 +00:00
imp
f703151191 MFNetBSD:
1.183: gmcgarry; Add Sharp PALDIO 611S
1.184: martin; Socket LP 10/100 CF

Obtained from: NetBSD
2003-07-26 17:45:45 +00:00
imp
36743011ca Sync to 1.60 2003-07-19 05:51:10 +00:00
imp
11353b498e Add Linksys compact flash wireless card
Submitted by: Scott Lambert
PR: 53881
2003-07-19 05:49:17 +00:00
imp
f44d1b0f60 sync to 1.59 2003-07-19 05:33:54 +00:00
imp
f47aefd5c8 Add Buffalo LPC3_CLX.
PR: 47786
Submitted by: IHA, genta -san
2003-07-19 05:32:07 +00:00
imp
a486d7666a OpenBSD calls this AIRVAST, so use that instead 2003-07-15 07:22:21 +00:00
imp
3112aebdbe sync to 1.58 2003-07-15 07:22:03 +00:00
imp
c58faeb762 sync to pccarddevs 1.57 2003-07-15 03:30:31 +00:00
imp
8470188ad2 Add Siemens SpeedStream 1021
Obtained From: openbsd (1.105; millert)
2003-07-15 03:27:53 +00:00
simokawa
089b6703f4 Fix if_wi breakage. 2003-07-11 13:50:31 +00:00
imp
b5f500530e sync to pccarddev 1.55 2003-07-11 09:17:07 +00:00
imp
d9bfb90da8 remove stray ASUS 2003-07-11 09:16:40 +00:00
imp
3f4be1b2a2 sync to pccarddev 1.54 2003-07-11 09:15:45 +00:00
imp
84f3cf33f8 Add asus wl100
PR: 49033, 53249
2003-07-11 09:15:21 +00:00
imp
2a66b0dfee Sync to 1.53 2003-06-17 12:29:49 +00:00
imp
24d21a160e Add FREECOM PCCARD-IDE 2003-06-17 12:29:20 +00:00
imp
0938cb66db Add a comment about the MPSAFEness of this pccard_intr handler. Given
how we registered pccard_intr, it is MPSAFE.  However, since we
register the pccard_intr handler with the flags of the ISR we call,
that is the gating factor.  We need do nothing specific here.

Prompted by: seeing pccard_intr in a panic.
2003-06-13 21:30:29 +00:00
imp
437724b8c3 regen for 1.52 2003-06-11 16:53:47 +00:00
imp
27da01d916 Add ARtem ONAIR wi card.
Submitted by: Ben Gras
Forgotten by: imp
2003-06-11 16:53:26 +00:00
imp
2e0b8fedc0 Sync to 1.51 2003-06-03 01:29:58 +00:00
imp
f86e402281 Add another PCMCIA IDE CARD 2003-06-03 01:29:01 +00:00
imp
9998611adc Sync to 1.50 2003-04-27 03:32:09 +00:00
imp
8cefa025c8 Mystery OEM #1: A really no-name prism3 card that wi supports.
Submitted by: mwlucas
2003-04-27 03:31:47 +00:00
imp
59f16028c2 Sync to 1.49 2003-04-27 00:26:19 +00:00
imp
b673154347 Add a generic cdrom. 2003-04-26 22:13:51 +00:00
imp
1848692e44 Add accessor for cis4 string. Neither OLDCARD nor NEWCARD support
this yet, but that will change soon.

Pr: 51333
Submited by: Scott Mitchell
2003-04-23 23:32:53 +00:00
sanpei
7fd7ee13c5 Sync to 1.48 2003-04-18 15:35:52 +00:00
sanpei
2e291e7846 fix corega vendor id(use vendor string and product string)
Submitted by:	imp
2003-04-18 14:52:14 +00:00
imp
e7b6cf5367 Remove bogus line and entry, restore cnet ne2000 add smc 8041 2003-04-10 07:21:11 +00:00
imp
4c8c5547db Sync to 1.46 2003-04-10 06:59:35 +00:00
imp
5eb0dcf6ad MFNetBSD:
1.182; christos
	A cardflash NE2000 from Michael Francini
	1.181; perry
	support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932
	1.180; ichiro
	add product TOSHIBA PA2673U CBIDE2 (IODATA OEM)
	1.179; kanaoka
	Add SMC 8041TX 10/100 Ether PC Card.
2003-04-10 06:58:40 +00:00
imp
1281a2b1fe In [bsd-nomads:16650] shibagaki-san presented an example product id of
0 in a problem that is being discussed.  That means that the test for
product != 0 may cause problems.  Looking at pccarddevs (which i
should have done earlier) we see:

product	BONDWELL B236		0x0000 Game Card Joystick
product CONTEC CNETPC		0x0000 Contec C-NET(PC)C
product IBM MICRODRIVE		0x0000 IBM Microdrive
product RAYTHEON WLAN		0x0000 WLAN Adapter
product SOCKET EA_ETHER		0x0000 Socket Communications EA
product TDK LAK_CD011WL		0x0000 TDK LAK-CD011WL

so use only the vendor field for the end sentinel.
2003-04-10 04:11:15 +00:00
imp
bab509397b 1.37 was committed prematurely: back out until I can commit all parts at the
same time.
2003-04-09 22:10:28 +00:00