imp
835285fed8
Improve support of MFC cards (Multi-function cards). This commit
...
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.
2002-03-29 08:05:39 +00:00
imp
b8c72f4eaa
Regen for 1.28 of pccarddevs
2002-03-17 05:06:37 +00:00
imp
31881ddbed
Add support for the home Wireless Network airway wireless pcmcia card.
...
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.
2002-03-17 05:05:42 +00:00
imp
03b0ddafe2
Make hw.pccard.debug and hw.pccard.cis_debug tunable/sysctl. Setting to 1
...
will enable more verbose debugging output from the pccard system.
2002-03-07 08:03:53 +00:00
shiba
3af9954d93
Add u_int16 prodext value in CISTPL_MANF_ID. This gets a fifth byte
...
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
2002-02-20 14:30:46 +00:00
imp
ca03e62ab0
o Count the number of mem and io spaces we allocate. If none work, bail out
...
o Add some better debugging code.
o Minor style(9) fixes.
2002-02-19 05:04:37 +00:00
imp
de7d451aca
Do the cast away of unsignedness in a way that is more commprehensible.
2002-02-19 05:01:43 +00:00
imp
fc3cad7e87
Null interrupt handlers should be OK, so if we don't have a function,
...
just return.
2002-02-10 05:04:20 +00:00
imp
001b5dc57d
o Use bus_generic_setup_intr instead of bus_setup_intr.
...
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.
2002-02-10 03:34:44 +00:00
imp
d22d828b7d
Boot verbosify printing the CIS, since we don't normally need to do that.
2002-02-09 21:34:06 +00:00
imp
4e8bb198e7
Remove DETACH_NOWARN
2002-02-07 06:43:29 +00:00
imp
a6ee5d93d9
Default debugging to OFF now.
2002-02-04 15:55:21 +00:00
imp
2eb20551ff
Move cardaddr to memory structure.
...
Forgotten by: imp
Reminded by: Dave Cornejo
2002-01-29 16:57:50 +00:00
imp
a8d6fd7393
Sync to 1.27 of pccarddevs
2002-01-29 06:10:15 +00:00
imp
3f314d0de0
MFNetBSD:
...
1.159: sorting (not relevant to us, since I'd done thie before)
1.158: joda; Ericsson PRISM2 WIRELEASS LAN CARD.
1.157: aymeric Edimax Technology ethernet card
2002-01-29 06:09:39 +00:00
imp
c289a894f7
Regenerate from 1.26 pccarddevs
2002-01-08 20:52:57 +00:00
imp
56b014505e
Catch up to NetBSD:
...
1.156 pooka; Socket Low-Power CF WLAN
1.155 ichiro; IBM Smart Capture Card II
1.152-154 ichiro; Fujitsu CF EtherCard and FMV-181,182,182A
1.151 christos; Symbol Spectrum24
2002-01-08 20:52:23 +00:00
imp
9292ea9a4d
Add support for suspending/resuming CardBus bridges.
...
We really should have and use power state information, but none exists
today.
Submitted by: YAMAMOTO Shigeru-san <shigeru@iij.ad.jp>
2001-12-15 05:58:28 +00:00
imp
e231bcb189
Sync to pccarddevs 1.25
2001-12-12 20:06:29 +00:00
imp
e2b68f4e4f
Move LINKSYS2 to its correct numerical location.
...
Add BONDWELL B236 Game Card Joystick. A PC Card joystick card.
2001-12-12 20:05:48 +00:00
imp
67df0b50e4
implement MFC links properly (and I think long links too). This make
...
the sprint wireless card try to attach. Sadly, the pci code at the
bridge keeps this from happening.
Bug w/o PR: jhb :-)
2001-12-04 13:48:16 +00:00
imp
fc9dbdce84
Sync to 1.24
2001-11-28 08:33:41 +00:00
imp
7fa4817fe2
Merge from NetBSD:
...
1.147 (my changes to sync to FreeBSD's file)
1.148 Buffalo AirStation CFtytpe WLAN Card (ichiro)
1.149 IBM SCSI PCMCIA (yamt)
1.150 <restore 1.148 lost in 1.149> (enami)
2001-11-28 08:33:12 +00:00
imp
335a26d4b8
Only call pccard_function_disable when we have a configured config
...
entry. Otherwise we panic on boot for cards that we can't allocate a
config entry for (my 3.3V wavelan card currently fails thusly).
2001-11-26 07:14:00 +00:00
imp
e42e956dfb
Weed out those pccard entries that match everything. These are too
...
dangerous to allow :-)
This should fix the ed1: <PLANEX ... bug.
2001-11-20 06:15:24 +00:00
imp
3b062a2907
Update to 1.23 pccarddevs
2001-11-19 06:28:20 +00:00
imp
c81de63164
Add ZOOM as one of the bgous vendors
2001-11-19 06:27:33 +00:00
imp
2f8016404c
Update to 1.22 pccarddevs
2001-11-19 05:22:46 +00:00
imp
4d30d470db
Nits to make it whitespace compatible with what I'm about to commit to NetBSD
2001-11-19 05:22:28 +00:00
imp
18df5bf636
Update to 1.21 pccarddevs
2001-11-19 05:11:50 +00:00
imp
15c4a90ac4
Merge NetBSD 1.146: Linksys Instant Wireless Network card.
...
Obtained From: NetBSD
2001-11-19 05:11:35 +00:00
imp
aed28d261d
Update to 1.20 pccarddevs
2001-11-19 05:04:08 +00:00
imp
9dec539715
Merge NetBSD 1.145: Xircom XE2000
2001-11-19 05:02:55 +00:00
imp
d61787d6b5
Regenerate with 1.19 of pccarddevs
2001-11-16 06:59:27 +00:00
imp
4ab389c3ff
Merge in most (hopefully all) of the devices that OpenBSD has that
...
NetBSD/FreeBSD doesn't have listed.
2001-11-16 06:58:47 +00:00
imp
3e552735d1
Sync to 1.18 of pccarddevs
2001-11-15 07:50:38 +00:00
imp
e1f7a9c3c0
Add vendor for NDC.
2001-11-15 07:50:09 +00:00
imp
686e52b5ce
Hoist the Card/Card2 macros that I invented for the wi driver into
...
pccard layer and rename them PCMCIA_CARD and PCMCIA_CARD2 respectively
(note, this is being done with an eye towards NetBSD integreation so
it is easier to keep lists of cards between us and them in sync).
Use this in the an and wi drivers.
2001-11-15 06:37:13 +00:00
imp
bdcad4abe9
Sync to 1.17 of pccarddevs
2001-11-11 23:52:49 +00:00
imp
d0d2eaf8b0
Add GENTEK as one of the bogus vendors we need to id cards from the cis
2001-11-11 23:52:28 +00:00
imp
eac3f73dc1
Sync to 1.16 pccarddevs to get new PCMCIA_ symbols
2001-11-11 20:15:47 +00:00
imp
db8e4ff08f
Move from using PCCARD_ symbols gereated from this file to using PCMCIA_
...
symbols so that driver lists are easier to share and keep in sync.
2001-11-11 20:15:06 +00:00
imp
68f56cbafe
Sync to 1.15 pccarddevs
2001-11-11 19:37:28 +00:00
imp
22a47e8fea
MFNetBSD:
...
1.140 imp (that's me) sort the file
1.141 christos Another cdrom
1.142 mjl Corega PCCB-11
1.143 mjl Corega PCC-TD
1.144 ichiro ELSA CF wavelan card XI-800
2001-11-11 19:36:44 +00:00
imp
da7f535b3c
Regen.
2001-10-05 05:32:51 +00:00
imp
44d85e12de
MFNetBSD:
...
1.139: augustss; Add EigerLabs sound card.
1.138: ichiro; Typo
1.137: ichiro; GEMTEK CF-size WaveLAN card based on Prism2.5 eval
1.136: ichiro; Symbol Spctrum24 LA4100 Series CF WaveLAN card
1.135: pooka; Psion Gold Card
1.134: christos; zonet zen (Henrik Berglund)
1.133: christos; dlink-660+ (janberg@netbsd.org )
1.132: itojun; 3Com 3CRWE62092A Wireless LAN
2001-10-05 05:32:27 +00:00
shiba
5757abe58a
Update cis tuple parser, add a pccarddevs entry,
...
and improve PCCARD_IVAR_ETHADDR in pccard_read_ivar().
Change points:
(1) Read Function Ext tuple.
(2) Add Ratoc REX-R280 entry(fe driver).
(3) Take ether address from function ext tuple.
Reviewed by: imp
Obtained from: NetBSD
2001-09-02 06:37:41 +00:00
jon
10f5273e6a
Make pccard_product_lookup non-static again...
...
When something is exported, do not mark it as static for no apparent reason...
Broken by: me
2001-08-27 11:28:00 +00:00
imp
1df82af8cb
More notes to the reader about issues in pccard code here.
2001-08-27 01:24:33 +00:00
imp
c7dc6a1b50
Merge notes, but not code, from my latest tree on pccard_function_init and pccard_function_free
2001-08-27 01:18:21 +00:00