Commit Graph

948 Commits

Author SHA1 Message Date
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
kanaoka 678e078f04 Add support for "Laneed LD-10/100CDA". 2001-07-05 08:03:45 +00:00
thorpej e00f3a5560 Remove unneeded include files. From Onno van der Linden. 2001-07-01 16:35:36 +00:00
uwe 87345845e1 Make mhzc_alloc_ethernet search the right address range.
Fixes: kern/11451.
Reviewed by: thorpej
2001-07-01 02:16:25 +00:00
gmcgarry 52f5073f28 Jumbo patch:
- data alignment fix
- kludge around broken multicast by using promisc mode
  (IPv6 router solicitation now works)
- add support as random source
- support device power-up and power-down
- vlan support
- misc. comment and style fixes
2001-07-01 01:57:29 +00:00
christos d136cfe99e regen 2001-06-29 14:57:17 +00:00
christos 8b753a3651 PR/13337: de SAINT LEGER Rodolphe: Add support for the cn40bc ne clone. 2001-06-29 14:56:21 +00:00
ichiro 46a9744df4 enabling EMTAC A2424i Wavelan Card
It work fine.
2001-06-27 16:03:01 +00:00
toddpw a865af9ad5 Enable attachment for Kingston KNE-PC2 Ethernet. 2001-06-13 13:41:01 +00:00
wiz 0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
gmcgarry 6fee8596c7 Packet includes CRC, so mark it in the mbuf header. Fixes the
"discarding oversize frame (len=1518)" problem.
2001-06-10 21:53:08 +00:00
thorpej c619444a71 Use the DL10019 media routines on the DL10019 and DL10022 (a change
I forgot to commit long ago).
2001-06-05 02:27:02 +00:00
thorpej 4e7cb03446 Differentiate between a DL10019 and a DL10022 (they have slight
MII differences).
2001-06-03 04:52:28 +00:00
ichiro 598241f757 add product COREGA FEther-PCC-TXF
kern/11357 and report from goro@venus.dti.ne.jp
2001-05-21 13:48:25 +00:00
ichiro fd7d5008e8 regen 2001-05-21 13:45:10 +00:00
ichiro 4108bc4645 add product COREGA FEther PCC-TXF 2001-05-21 13:44:48 +00:00
ichiro 309a9b433c delete RCS Id from pcmciadevs rev 1.128 2001-05-20 10:47:50 +00:00
ichiro 3b35709de7 make compile again
(fix warning : missing white space after `#define....)
2001-05-20 09:54:47 +00:00
ichiro a2dd9d529f regen 2001-05-20 09:16:14 +00:00
ichiro caed7fa236 add vendorID National Instruments
add productID PCMCIA-GPIB
2001-05-20 09:15:54 +00:00
jhawk 4601552595 Regen 2001-05-18 06:14:40 +00:00
jhawk 6f032f45b3 Support the Socket EA pcmcia ethernet (ne). It's ooooold. 2001-05-18 06:05:52 +00:00
ichiro 0fcd8f3c7f regen 2001-05-17 13:15:47 +00:00
ichiro 8f8e3e808f add products
Intel PRO/Wireless 2011 LAN PC Card
2001-05-17 13:14:19 +00:00
ichiro 8a78799bf4 support BUFFALO AirStation WLI-PCM-S11
this card are PRISM2.5 card.
2001-05-16 14:33:21 +00:00
ichiro 25221c413e regen 2001-05-16 12:57:55 +00:00
ichiro 4c575cc65b add product
BUFFALO AirStation 11Mbps WLAN Card
2001-05-16 12:57:27 +00:00
lukem ff47810d07 fix previous delint 2001-05-16 06:29:01 +00:00
lukem be493349d2 delint: zero sized array initalisation is a gccism 2001-05-16 04:39:03 +00:00
ichiro 2970b99ac9 It enabled it to control roaming mode and authentication mode.
Roaming mode can change value into 'firm mode' and disable.
Authentication mode can change into 'Open System authentication'
and 'Shared Key Authentication' with Prism2 chip.

wi_get_id() was introduced in order that chip might judge automatically
whether it is Prism2 chip. Therefore, a pp_prism2 entry in
"struct wi_pcmcia_product" became unnecessary.
2001-05-15 04:14:06 +00:00
ichiro 7f2de75450 Corega FEther PCC-TXD works fine. 2001-05-14 01:44:42 +00:00
ichiro 9a107674e5 regen 2001-05-14 01:43:42 +00:00
ichiro 70f4199532 add product Corega FEther PCC-TXD 2001-05-14 01:41:16 +00:00
jmc a3263e073a Turn off PCMCIADEBUG by default. This should get set with options in a config file 2001-05-13 04:24:51 +00:00
jmc 95cc3bf342 Turn off PCMCIACISDEBUG by default. This should get set with options in a config file 2001-05-13 04:24:28 +00:00
jmc 6cf92c7dba Turn off PCMCIADEBUG by default. This should get set with options in a config file 2001-05-13 04:23:46 +00:00
ichiro 8bb5cfe6aa divided into PCMCIA attachment and common code of wi.
since if_wi_ieee.h does not depend for pcmcia,
sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h .
2001-05-06 03:26:38 +00:00
christos afdcbf7e55 Correct formatting. Put the port and the ethernet address in their own
line.
XXX: it is stupid that pcmcia_io_map() prints " port 0xNNN[-0xMMM]". This
makes the printing code confusing.
2001-04-29 20:12:01 +00:00
christos 3ae161c702 don't put a trailing comma in pcmcia_devinfo. All the drivers use
printf("%s\n", devinfo) and it looks stupid.
2001-04-29 20:10:24 +00:00
joda 55ffdd0e46 make this compile with the new scsi framework 2001-04-27 08:06:33 +00:00
bouyer 937a7a3ed9 Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
jdolecek 745ab257dc Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
jdolecek 372e5956ef Only install headers which are actually used by our userland. This
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.

I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
2001-04-11 07:42:31 +00:00
onoe 5653ae7375 Add Cisco Aironet 350 Series.
XXX: work as same as 340 series.
     do not use any 802.11e security enhancements yet..
2001-04-06 09:28:39 +00:00
onoe 8a81c1e899 regen: add Cisco Aironet 350 Series. 2001-04-06 09:27:13 +00:00
onoe f53e32994a Add Cisco Aironet 350 Series 2001-04-06 09:26:29 +00:00
toshii d85c2b7e17 Change place of tuple.{memt,memh} initialization. 2001-03-27 18:09:31 +00:00
martin 5171d409a5 First step to cleanup the hardware driver <-> upper layers interface.
This now provides slightly more functionality than the FreeBSD layer1-newbus
interface. It was meant to be a simple change to one header and a few
c files, but the change rippled all through various stuff.

To prevent a change to the kernel<->userland interface right now the kernel
is now lying about card types to userland (but who cares). This will be fixed
when the userland interface changes, after layer 3 <-> layer 4 has been
fixed.

Functional changes:

Provide a clean interface for hardware drivers to attach to the upper
layers. This will need another small change in the B-channel handling
when a similar change to the layer 3 <-> layer 4 interface happens.

Avoid passing indices into global arrays of pointers around, instead pass
the pointers itself. Don't code hardware driver types by predefined magic
numbers (think LKM). Prepare for detachable drivers (think pcmcia).

While there remove some sets of function pointers always pointing to the
same function (meant to be the configurable set of D channel protocol
handlers). It is unlikely another supported D-channel protocol will fit into
that (maximal layer interface) abstraction. When we get support for another
protocol, we will need to come up with a workable interface. Besides, the
old implementation was, uhm, strange.
2001-03-24 12:40:29 +00:00
ichiro 89063179ad enable I-O DATA WN-B11/PCM wlan card with WEP
reported by Shingo WATANABE <nabe@nabechan.org>
2001-03-18 21:13:12 +00:00
ichiro 7c7a848854 regen 2001-03-18 21:12:01 +00:00
ichiro 6fb0c29aed add product I-O DATA WN-B11/PCM wlan 2001-03-18 21:11:30 +00:00
uch c567a80bdc CF memory mapped addressing mode. http://www.compactflash.org/cfspc1_4.pdf 2001-03-08 15:20:57 +00:00
ichiro 1aba32dc5e it wait until busy flag disappears.
it was able to prevent some cards with late initializing faling in wi_reset().
2001-03-08 11:07:08 +00:00
onoe 31e372c586 Extra wait at WI_CMD_INI is needed for some PRISM-II based cards.
(ex. ELECOM, AIr@Hawk/LD-WL11/PCC)
2001-03-04 11:18:51 +00:00
lukem 3aeb5f2f29 whitespace police 2001-02-24 01:59:46 +00:00
jdolecek 522f569810 make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
aymeric 5a6198b1a2 Put the correct ethernet address prefix for the Synergy 21 card.
This reflects reality, although the value is ignored anyway.
2001-02-20 22:34:23 +00:00
martin f0d6660cf4 Filename cleanup: remove i4b_ prefixes outside sys/netisdn, last round.
Renamed in sys/dev/ic:
i4b_hscx.c -> hscx.c
i4b_hscx.h -> hscx.h
i4b_ipac.h -> ipac.h
i4b_isac.c -> isac.c
i4b_isac.h -> isac.h
i4b_isic.c -> isic.c
i4b_isicbchan.c -> isic_bchan.c
i4b_isicl1.c -> isic_l1.c
i4b_isicl1.h -> isic_l1.h
i4b_isicl1fsm.c -> isic_l1fsm.c
2001-02-20 22:24:31 +00:00
aymeric 4291ee011b regen 2001-02-19 21:32:37 +00:00
aymeric c838a01906 Add an entry for the Synergy 21 S21810+
From Stefan Blomen <Stefan.Blomen@gmx.de>
2001-02-19 21:30:38 +00:00
martin cc812b4ce2 Filename cleanup police (per discussion with Soren S. Jorvang):
remove all (legacy) "i4b_" prefixes outside of sys/netisdn.
Prefix all card specific driver support files with the basename
of the driver bus attachement file.

Renamed here:
i4b_isic_pcmcia.c -> isic_pcmcia.c
i4b_isic_pcmcia.h -> isic_pcmcia.h
i4b_avm_fritz_pcmcia.c -> isic_pcmcia_avm_fritz.c
i4b_elsa_isdnmc.c -> isic_pcmcia_elsa_isdnmc.c
i4b_elsa_mcall.c -> isic_pcmcia_elsa_mcall.c
i4b_sbspeedstar2.c -> isic_pcmcia_sbspeedstar2.c
2001-02-18 10:36:42 +00:00
martin 618dd31ddd Rename pcmcia_isic.[ch] to i4b_isic_pcmcia.[ch] to better fit in the
grand sheme of names.
2001-02-17 15:00:49 +00:00
martin 982f2baf7e Abort attach when failing to allocate io range.
Don't allocate one large io range, this fails about every time on real
pcmcia buses (not attached to pci/cardbus bridges) because of other
devices interfering in that range. Use the bogusly small region for
now, which works purely by chance (map granularity) on cardbus bridges
too (more or less).
XXX - make this map three different, small regions after layer1 <-> layer2
XXX   interface has been brought in shape.
2001-02-17 11:41:35 +00:00
thorpej f234f12854 Oops, `mii' attribute has to go onto the device decl. 2001-02-13 02:31:41 +00:00
thorpej 4641c2d237 Regen; D-Link DMF-560TX. 2001-02-13 02:09:37 +00:00
thorpej 65fd586599 Add a new D-Link ID (they seem to actually have a valid one, now!),
and add the DMF-560TX product.
2001-02-13 02:07:53 +00:00
thorpej db1896b76f ne at pcmcia needs dl10019, mii, mii_bitbang 2001-02-13 01:58:56 +00:00
thorpej 043e519d55 Adjust the way that media is initialized on DP8390-compatible
chips.  The dp8390_softc now has media_init and media_fini
function pointers that do the work.
2001-02-12 18:49:03 +00:00
ichiro 2ddca54f69 add wavelan card
corega PCCA-11
NEC CMZ-RT-WP
NTT-ME SS-LAN
2001-02-11 03:29:59 +00:00
ichiro 2fdf447129 regen 2001-02-11 03:28:16 +00:00
ichiro ad06ea6353 typo 2001-02-11 03:27:49 +00:00
martin abd28c6cc2 Stopgap fix for PR 9984: sprinkle some (small) delays at appropriate
places into the CIS reading code.

The card in question has IO8 only enabled in its CIS info and is apparently
not able to keep up with quick reads. It words fine in a pcmcia slot but
panics(!) the kernel in a TI 1250 cardbus slot. This may be a failure of
the pci cardbus code when initializing this bridge. When finding (and
fixing) that, we should back this change out.

The card I am testing with is not broken, I have multiple versions of it
(AVM Fritz! pcmcia ISDN card), all work fine on windows and all cause
us to panic because of bogus CIS info read.

XXX - panicing because of bogus CIS data is probably another error.
2001-02-10 23:22:10 +00:00