Commit Graph

885 Commits

Author SHA1 Message Date
martin
c7a70b196f Add ELSA XI325 Wireless LAN, from Jasper Wallace 2002-06-17 07:38:42 +00:00
martin
8d0aae90e8 Add support for ACTIONTEC wireless lan card, from jasper@pointless.net
in PR kern/17194.
2002-06-08 18:06:09 +00:00
martin
cd8bd9c2e1 Regen (ACTIONTEC wireless lan card added) 2002-06-08 18:02:08 +00:00
martin
e59eb100a6 Add ACTIONTEC wireless lan card. 2002-06-08 18:01:14 +00:00
jonathan
9f02dbda6b Add stanza to match and configure D-Link DFE-670 cards (a DL10022 variant).
Also print a little more info (including CIS tuples) when cards don't match,
making it a little easier to patch in entries.
2002-06-03 01:17:49 +00:00
jonathan
bf7d101fb6 Regen from pcmciadevs 1.171 after adding D-link DFE-670 ethernet card. 2002-06-03 01:15:15 +00:00
jonathan
4cd89ab8cc Add device-id for D-Link DFE-670 (10/100 DL10022-like card). 2002-06-03 01:13:01 +00:00
lukem
06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
itojun
aa309c7dc2 regen 2002-06-01 21:03:37 +00:00
itojun
e35096b705 new ne0 pcmcia pccard: corega EtherII PCC-TD
PR 17134, From: <fujiwara@f.pyon.org>, Kazunori@netbsd.org, Fujiwara@netbsd.org
2002-06-01 21:03:14 +00:00
mycroft
f6dc1467bf Add a Nortel e-Mobility card. 2002-05-31 13:30:36 +00:00
mycroft
75612b306d Regen. 2002-05-31 13:29:35 +00:00
mycroft
216a97aba4 Add a Nortel e-Mobility card. 2002-05-31 13:29:19 +00:00
tshiozak
94a6bb8164 add PLANEX GW-NS11H Wireless LAN PC Card. 2002-05-26 14:37:19 +00:00
tshiozak
7b488909a7 add PLANEX GW-NS11H Wireless LAN PC Card 2002-05-26 14:35:10 +00:00
thorpej
7f2c33ee8b Add another Linksys card. 2002-05-20 00:51:29 +00:00
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