Commit Graph

919 Commits

Author SHA1 Message Date
chris ae7f07a2ab Add detection for the NetGear FA411. It just seems to work as an ne device. 2002-05-08 18:18:55 +00:00
onoe 453bd2f8c2 Add support for LINKSYS Instant Wireless Network CF Card 2002-05-07 09:39:52 +00:00
onoe cb52efccad regen: Add LINKSYS Instant Wireless Network CF Card 2002-05-07 09:37:28 +00:00
onoe 902298b5c5 Add LINKSYS Instant Wireless Network CF Card 2002-05-07 09:36:50 +00:00
chris c419c08421 Regenerate for Netgear FA411. 2002-05-06 22:28:18 +00:00
chris b72d0938bb Add in Netgear FA411. 2002-05-06 22:26:48 +00:00
takemura 65b0c92cb8 Added cast '(u_int16_t *)'.
4th arg of bus_space_read_multi_2 and bus_space_write_multi2 shuld be
u_int16_t *.
2002-05-05 03:19:26 +00:00
uch f1447dc5d6 add BUFFALO LPC3-CLT Ethernet Adapter. 2002-04-30 13:14:38 +00:00
uch f1967f2bb2 regen. 2002-04-30 13:13:48 +00:00
uch 07c3f6d008 add BUFFALO LPC3-CLT Ethernet Adapter 2002-04-30 13:12:33 +00:00
augustss 7f7ab48604 Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
2002-04-22 09:41:19 +00:00
onoe a40f47b098 Add support to Symbol Wireless Networker CF card.
The card is Type 1 CF card and it doesn't have firmware in.
So we need to download the firmware image into the card before
touching it.
XXX downloading code should be written in generic (bus independent),
    but I don't have enough information for now.
2002-04-15 15:05:58 +00:00
martin e4998611e9 Fix copyright notice. 2002-04-14 12:24:26 +00:00
christos 45c8aefabf PR/16058: Tero Kivinen: Don't attempt to free resources that we failed to
get in the attach phase.
2002-04-13 17:06:53 +00:00
martin 0cdadad2cd Defer initialization of the ISAC chip until we enable interrupts - it gets
into a strange failure mode if we do it with disabled interrupt. When
(re-)enabling interrupts reset transmitter and receiver and clear any
pending state.
2002-04-13 10:28:36 +00:00
martin f12d3f51e7 Remove some redundant tries to disable interupts. We already avoided enabling
them.
Fix a stupid typo when enabling/disabling interrupts: we clear pending
interrupts when enabling, not disbling isac interrupts.
2002-04-10 23:51:06 +00:00
ichiro 6a3322ff00 regen 2002-04-10 02:08:59 +00:00
ichiro 68eb465167 add product Instant Wireless Network PC Card, Version 3 2002-04-10 02:07:45 +00:00
martin 58502ab93e Combine sc_enabled and sc_dying into one field sc_intr_valid, they are used
for the same purpose (ignoring invalid interrupts).

For cards that are not able to stop all interrupts (or we don't know a way
to do that in software, at least) run the clearirq callback even when
ignoring an interrupt because we are not enabled. Otherwise the card would
stop interrupting.

Reserve a driver specific callout handle and an int value in the generic
isic_softc to allow card drivers to implement fancy blinkenlights.
2002-04-08 12:20:49 +00:00
christos 1a0ee78709 make sure that we don't die if attach fails and we pull the card. 2002-04-03 00:18:31 +00:00
martin a35450fe90 Backout previous. While it fixes half of the problem for me, it is not
the right fix.
2002-03-31 13:27:32 +00:00
martin 6d37025002 Establish/disestablish the interrupt handler when enabling/disabling the
controller - no matter if we are called from attach or not.
This makes my FreeCOM CD drive work at first attach (PR 13480).

Something is wrong with the detach code; it won't work on second attach
and will panic on second detach - but that has to wait until the kids
took care of some easter eggs.
2002-03-31 07:19:03 +00:00
martin e5c92d53f8 Be a nice citizen, enable interrupts only when we are ready to talk
to the ISDN (i.e. when userland has /dev/isdn open).
2002-03-30 19:13:44 +00:00
martin f5e2c967fc Split BRI attaching into two phases, so lower layer drivers can get their
BRI identifier and L3 driver state early on, then finish initializing and
announce the controller to userland when it's ready.
2002-03-29 20:29:53 +00:00
martin 67cbf4c4a8 Rearange things to avoid panics on detaching cards that failed to
attach.
2002-03-29 11:21:23 +00:00
martin 21090ba9b3 Remove a XXX comment that is no longer true. 2002-03-29 11:10:38 +00:00
christos c30c25e24a PR/16108: Emmanuel Lochin: One more card identifier. 2002-03-28 15:26:58 +00:00
martin ebd73ccd11 After Jason Thorpe explained to me how it is supposed to work, implement
(de)activate for pcmcia cards.
Implement detach/(de)activate for PCI cards.
Clean up internal state (free call-descriptors) if a controller is
detached while it has open connections.
2002-03-27 07:39:35 +00:00
martin a994533d0a Make pcmcia cards detach properly.
Notify userland of attaching/detaching cards.
This partly fixes PR 15951.
2002-03-25 12:07:33 +00:00
martin 0bc69b6498 Now that we have all the pieces of the puzzle available start to unriddle
and move them in their proper places.

Move the BRI registry from layer 2 (duh!) to layer 4, so active cards
(which don't have layer 3 or layer 2 in their driver). Remove all remaining
hard coded controller and driver types. Remove any arbitrary hard coded
limits, at least those that show up in the internal API.

This fixes PR 15950.
2002-03-24 20:35:43 +00:00
christos 071d0cb34b Search for space to attach a 3c562d correctly. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
2002-03-10 22:28:02 +00:00
cyber 7e4db265ee _io_alloc and _io_map work in pairs, dont try to do anything with the data
until afterward the _io_map.
In some pcmcia chipsets the _io_alloc is a noop.
2002-03-10 19:20:50 +00:00
martin df4ebf76f9 Regen (seems I forgot that after TDK/Elsa ISDN MCall addition) 2002-03-10 15:13:52 +00:00
martin e889f54f2f Adjust some unused register offsets to the new world order and fix a
comment.
2002-03-10 11:55:50 +00:00
martin 7e219b424d Remove RAY_USE_AMEM. This option claimed to use attribute memory access
for the registers, which was true, but actually the same as the driver
did without this option.

What it realy did is work around a stupid bug in the driver that did not
use the "offset" result from the pcmcia_mem_map call mapping the CIS memory.

We got away with this for a long time since on i386 and typical pcmcia
bridged the offset returned will be 0. It always failed (without
RAY_USE_AMEM=1) if the check for a different function CCR aliases in pcmcia.c
failed and mapped the CCR base new - this time at the CCR base of this
function (0xf00), so all register acceses (that had 0xf00 added) happened
way off in neverland.

Now we do not hardcode the CCR base to the register definitions, but
instead use the offset returned by pcmcia_mem_map. This makes the driver
work with and without CCR base aliases being found.
2002-03-10 11:32:18 +00:00
martin 877cb55678 regen (ELSA MicroLink mc all added) 2002-03-04 16:42:19 +00:00
martin b2b090d6b2 Add ELSA MicroLink mc all (ISDN + modem) card, OEMd from TDK. 2002-03-04 16:41:50 +00:00
is a4cfa723ac regenerate: fix typo in card name string. 2002-02-01 22:04:02 +00:00
is 48c749a49a fix typo 2002-01-31 14:27:29 +00:00
haya 30f44eaa28 Add an entry for NEC 9801N_J12, which is an OEM of IBM infomover.
PR #14084.
2002-01-31 08:45:14 +00:00
is 5fa8e00d02 Fix typo: ASIX, not AMBIX 2002-01-30 12:49:23 +00:00
is 8a6348be5f Add Lantech Fastnet/TX (really generic ASIX AX88190) card 2002-01-30 11:20:23 +00:00
simonb c37d15083b Fix a tyop in a comment. 2002-01-29 00:31:55 +00:00
aymeric 1a16f52c0a sort a couple of entries by vendor number. 2002-01-28 09:25:33 +00:00
joda 4a42472b23 add support for Ericsson PRISM2 card (kern/15130) 2002-01-17 09:56:43 +00:00
aymeric 36fb148d72 Remove the quirks I added for an ethernet card I have.
This ``quick fix'' shall not make it into a release, and the problem doesn't
come from the card but rather from my laptop.
2002-01-13 12:28:02 +00:00
aymeric 2968e4165f add Edimax Technology Inc. EP4000A
add another Linksys Etherfast clone (Level One)
2002-01-13 10:41:11 +00:00
aymeric 2ae5495943 regen 2002-01-13 10:39:33 +00:00
aymeric 0e264923e6 add Edimax Technology Inc. PCMCIA Ethernet Card 2002-01-13 10:38:47 +00:00
tsutsui b87a051ec8 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:17:05 +00:00
pooka 065a38a17f regen 2001-12-29 15:01:23 +00:00
pooka e42e0310b4 Socket Communications Low-Power CF WLAN 2001-12-29 15:00:45 +00:00
ichiro 63a6896a6c regen 2001-12-29 08:32:06 +00:00
ichiro 78efe121bf add product
IBM Smart Capture Card II
2001-12-29 08:31:01 +00:00
jmcneill ff0249d84d Fix block position calculation in esl_intr. 2001-12-25 04:05:34 +00:00
jmcneill b0df9e12af The check for AUMODE_PLAY in esl_set_params was breaking some applications.
Remove it.
2001-12-25 03:47:46 +00:00
jmcneill a89f9c462b 'nintr' from esl_softc was never used -- remove it 2001-12-25 03:46:34 +00:00
jmcneill c4669fd0d0 Fixes output at 44kHz, 16-bit, stereo. Thanks to Charles Hannum and
Lennart Augustsson for providing proper fixes.
2001-12-25 02:37:39 +00:00
christos 6e8072d607 enable the card before trying to establish an interrupt because we need the
ccr mapped on multi-function cards.
2001-12-24 12:07:27 +00:00
christos 0e9f2d7a35 when we disable, we first disestablish the interrupt and then the card.
when we enable, we first configure the card and then establish the interrupt.
This is so that the ccr is mapped on multifunction cards.
2001-12-24 09:30:40 +00:00
ichiro c4552cab7f support FUJITSU MB86960/5 based ethernet cards
FMV-J181,182,182A
2001-12-23 09:25:19 +00:00
ichiro e5761e3205 regen 2001-12-23 09:11:05 +00:00
ichiro 42ff7db32c change CIS name 2001-12-23 09:10:39 +00:00
ichiro 214499d236 change routine of device search.
mbe_pcmcia_lookup() is introduced
2001-12-18 11:32:47 +00:00
ichiro 62ddf45f47 regen 2001-12-18 11:23:49 +00:00
ichiro e59b8e538e add CIS strings of FUJITSU FMV-181,182,182A
delete ITCFJ182A, because FMV-182[A] ID is same as ITCFJ182A.
2001-12-18 11:23:24 +00:00
soren 3faa83dcb4 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-16 17:53:17 +00:00
ichiro 10c8cdf485 missing Misc Attribute of PCMCIA functions
FUJITSU CF Ether ITCFJ182A supported "Power down"
Power down supply current are 20mA
2001-12-16 06:07:50 +00:00
ichiro ff638ce5fd support FUJITSU CF EthernetCard
ITCFJ181A

mbe0 at pcmcia1 function 0: Fujitsu J182A Compact Flash Ethernet
mbe0: Ethernet address 00:00:0e:c5:01:ea
2001-12-16 05:44:33 +00:00
ichiro a4ad95c757 regen 2001-12-16 05:43:16 +00:00
ichiro dc739ee7b9 add FUJITSU CF EthernetCard
ITCFJ181A
2001-12-16 05:42:46 +00:00
soren 875bff0962 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
soren e324e87ca8 Fix typo in comment. 2001-12-15 12:01:55 +00:00
soren 3022b71f80 Correct copyright header. 2001-12-15 11:45:24 +00:00
soren df984ecc52 Use bus_size_t's for bus space read/write offsets. 2001-12-15 11:41:09 +00:00
christos 4950567ffc Regen. 2001-12-04 18:46:51 +00:00
christos 9925bfcf9f PR/13711: Peter Seebach: Symbol's Spectrum24 pcmcia/prism2 card isn't probed. 2001-12-04 18:46:30 +00:00
lukem ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
enami 60adc294b9 Regen. 2001-11-27 03:25:53 +00:00
enami f349dc8748 cvs -q update -j1.147 -j1.148 pcmciadevs 2001-11-27 03:25:16 +00:00
yamt f6b0ec4cce - regen for IBM SCSI PCMCIA. 2001-11-26 19:49:34 +00:00
yamt 64b2149540 add IBM SCSI PCMCIA. 2001-11-26 19:48:55 +00:00
yamt dbaca00330 move dev/isa/cs89x0{.c,{var,reg}.h} into dev/ic
and split isadma parts into /dev/isa/cs89x0isa*.
2001-11-26 19:17:05 +00:00
yamt 9324423e84 remove "stg", that I accidentally commited.
thanks, Tsutsui-san.
2001-11-26 14:21:33 +00:00
yamt b43f7a4791 add pcmcia frontend for cs driver. 2001-11-26 11:17:34 +00:00
ichiro a103dcf333 support BUFFALO CFtype WLAN card
wi0 at pcmcia1 function 0: BUFFALO, WLI-CF-S11G,
wi0: 802.11 address 00:07:40:0f:03:ea
wi0: using RF:PRISM2.5 MAC:ISL3873, Firmware: 1.3 variant 4
2001-11-26 04:34:56 +00:00
ichiro 1c1ddcc034 regen 2001-11-26 04:19:12 +00:00
ichiro 3dcc51c184 add device: BUFFALO AirStation CFtype WLAN Card 2001-11-26 04:18:26 +00:00
imp 98576a36a5 regenerate for 1.147 2001-11-19 05:25:22 +00:00
imp cd84d65811 Merge from FreeBSD:
o Add devices from OpenBSD
	o Minor sorting problems in my sorting attempt.
	o A few additional -1 vendors for better card pattern generation.
	o Add Zoom Air_4000 (needs to be added to awi)
	o Add Netgear FA411 info (needs to be added to ne, plus quirks/fixes
	  to base pccard stuff before it will work).
	o Merges through FreeBSD 1.22
2001-11-19 05:24:26 +00:00
mrg dbcf46ce8a match the linksys prism2 card. 2001-11-18 04:27:49 +00:00
mrg 9d4995d7d6 regen 2001-11-18 04:26:16 +00:00
mrg fa216ca465 add entries to allow one to match:
The Linksys Group, Inc., Instant Wireless Network PC Card, ISL37300PRevA
2001-11-18 04:25:43 +00:00
lukem 2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
lukem ab5d9d2b0c add RCSIDs 2001-11-13 07:24:43 +00:00
christos 64a6ea2e08 Regen. 2001-11-08 17:05:58 +00:00
christos c7a7458e1e PR/14503: Cesar Crusius: Add Xircom XE2000. 2001-11-08 17:05:42 +00:00
haya fd0fac251e Regen w/ devlist2h.awk ver 1.4. 2001-11-08 09:08:41 +00:00
haya ba93570e3c Bugfix; to create compilable pcmciadevs_data.h. kern/11659 2001-11-08 09:02:17 +00:00
imp fdf7743003 Add Intel PRO WLAN 2011. 2001-11-01 03:00:51 +00:00
ichiro 8f9f77356d add entry ELSA XI-800 CF wavelan card 2001-10-27 08:16:17 +00:00
ichiro 3fc98e32f6 regen 2001-10-27 08:15:22 +00:00
ichiro bfc10c9a50 add ELSA CF wavelan card
XI-800
2001-10-27 08:05:21 +00:00
bouyer b495351fbf Commit changes I posted to tech-kern on Oct 14, which makes the ethernet part
of my Xircom RealPort Ethernet 10/100 + Modem (REM56G) work.
The modem part is still not usable (this would need some PCMCIA magic that
I don't know how to do; see my message to tech-kern on Oct 07).
Change to pcmcia_cis.c from OpenBSD.
I checked that this doesn't break a 3com 3C562D (ethernet+modem) which I
also have.
2001-10-25 20:20:24 +00:00
mjl bea8701ec4 Add Corega PCC-TD, as per PR/14161 2001-10-21 23:18:50 +00:00
mjl bd2ba73f5b Regen 2001-10-21 23:17:37 +00:00
mjl cb19665fbc Add Corega PCC-TD, as per PR/14161 2001-10-21 23:16:48 +00:00
mjl a9ec452d57 Add Corega PCCB-11, as per PR/14298 2001-10-20 15:31:25 +00:00
mjl 8e7e3408b5 Regen. 2001-10-20 15:29:04 +00:00
mjl 259caf9257 Add Corega PCCB-11, as per PR/14298 2001-10-20 15:28:45 +00:00
christos d9b3639de6 quirk for panasonic adapter. 2001-10-14 19:21:45 +00:00
christos bc0ae7328a Regen. 2001-10-14 18:09:42 +00:00
christos 19c27f0e0d add another cdrom. The box says fujitsu, but the guts seem to be panasonic.
Mmm, inbreeding.
2001-10-14 18:09:22 +00:00
ichiro cbcfff63ec Add Intersil Prism2.5 Mini-PCI wavelan. 2001-10-13 15:00:23 +00:00
imp 407046e784 Resync after the sort 2001-10-09 03:18:37 +00:00
imp e23b40707e Sort in a sane way. This file had become somewhat disordered over
time.  Vendors are sorted by number.  Vendors are grouped
alphabetically, with entries within a vendor's group arranged
numerically.  CIS entries sorted alphabetically by identifier.
2001-10-09 03:17:22 +00:00
hubertf c072a38d4c Add missing comma 2001-10-04 23:36:10 +00:00
augustss 1339e88a86 Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
augustss d535feb911 Get rid of eslreh.h and use ../isa/essreg.h.
Minor whitespace fixes.
2001-09-29 19:30:29 +00:00
augustss b1d96a9b44 ANSIfy. 2001-09-29 19:06:32 +00:00
augustss f75a223c4e Add the esl driver. 2001-09-29 18:46:16 +00:00
augustss c018750423 Add esl driver for Eiger Labs sound card. From Jared D. McNeill
<jmcneill@invisible.yi.org>.
2001-09-29 14:00:57 +00:00
augustss 58a0f075d2 Regen. 2001-09-29 13:59:37 +00:00
augustss da8947c921 Add Eiger Labs sound card. 2001-09-29 13:59:16 +00:00
chris b08ac48955 Move the call to the xi_pcmcia_identify to before the first use of sc->sc_flags.
Doesn't fix my problem with auto negotiate, but it might help others.
2001-09-26 09:01:30 +00:00
itohy 0f210a885d Add simple boundary check on CIS parsing.
I have a weird PC-card-style appliance (I'm not sure I may call it a PC card)
whose ``CIS'' reads zeros forever, which caused kernel panic.

For your interest, it is a cooling fan to be inserted to a PC card slot.
2001-09-24 14:19:10 +00:00
ichiro 7f43a1ffd3 regen 2001-09-18 11:08:05 +00:00
ichiro 92dc2bcc76 fixed typo 2001-09-18 11:07:33 +00:00
onoe 6a617566bc Move IEEE 802.11 MAC management functions from awi driver to
if_ieee80211subr.c, which can be shared between any IEEE 802.11
drivers.
However, most of current working IEEE 802.11b wireless LAN cards
have rich firmware and we cannot have a control to management frames
for such cards.

IBSS creation is now supported for the awi driver.
2001-09-18 09:09:57 +00:00
ichiro 5ce8138011 add entry "GEMTEK CF WaveLAN Card" 2001-09-17 09:21:58 +00:00
ichiro 6d3a2e129f regen 2001-09-17 09:15:12 +00:00
ichiro 2c089df344 add product
GEMTEK CF-size WaveLAN Card based Intersil Prism2.5 Eval-Card
2001-09-17 09:07:53 +00:00
ichiro 0391dbdcec regen 2001-09-17 07:45:00 +00:00
ichiro a700fb7088 add product
Symbol Spectrum24 LA4100 Series CF-size WaveLAN card
2001-09-17 07:44:33 +00:00
pooka c89755275a * make this match the Psion Goldcard
* teach it to read the MAC addr from the correct place (from OpenBSD)
* change order of intr_dis/establish() and function_en/disable() to
  avoid panics on this multifunction card due to the CCR window
  not being mapped in intr_dis/establish()
2001-09-05 16:40:06 +00:00
pooka 429d846242 regen: psion gold card 2001-08-21 16:13:14 +00:00
pooka e62b69f246 add vendor Psion and product Psion Gold Card 2001-08-21 16:13:03 +00:00
christos 92bef1e82b regen 2001-08-07 13:57:41 +00:00
christos 6c97413c48 Add zonet zen (Henrik Berglund) 2001-08-07 13:57:24 +00:00
enami 97ceb61316 MII access routines for ASIX AX88190. 2001-08-04 11:38:57 +00:00
christos e01e4819af regen. 2001-07-31 17:01:34 +00:00
christos 4d31855a1c recognize dlink-660+, from jandberg@netbsd.org (Jukka Andberg) 2001-07-31 17:01:15 +00:00
wiz 7b3241693f aquired -> acquired, issueing -> issuing 2001-07-26 22:54:34 +00:00
onoe 993f9377b8 disable the function if attach fails. 2001-07-13 03:09:39 +00:00
itojun 3e747f67fa regen 2001-07-09 06:58:26 +00:00
itojun 2646db5158 add product code for 3Com 3CRWE62092A Wireless LAN
(what is the sorting rule for the file?)
2001-07-09 06:57:59 +00:00
thorpej 4953d4e85f bzero -> memset 2001-07-07 16:51:47 +00:00
thorpej 6c248b757c bcmp -> memcmp 2001-07-07 16:50:41 +00:00
thorpej 3a235c46fa bcopy -> memcpy 2001-07-07 16:50:14 +00:00
thorpej 3ae6eaea7f bcopy -> memcpy, strcpy 2001-07-07 16:49:57 +00:00