thorpej
b84f740be0
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
2000-11-15 01:02:11 +00:00
hubertf
a7398324e3
Regen for ELSA WaveLan IDs
2000-11-10 01:03:29 +00:00
hubertf
e00d559554
Add ELSA WaveLAN card & a noname clone(?)
2000-11-10 01:02:32 +00:00
toddpw
d3ca42abf0
Add support for Socket Comm. PC Card Ethernet, and tidy up naming.
2000-11-03 09:07:24 +00:00
thorpej
b2429742a5
Print out product info on attach.
2000-11-02 18:55:46 +00:00
msaitoh
5bf3b4ba22
regen
2000-11-02 07:16:16 +00:00
msaitoh
24429db457
add support:
...
MELCO LPC2-TX
Telecom Device TCD-HPC100
MACNICA ME1-JEIDA
2000-11-02 07:15:43 +00:00
msaitoh
41cfcbebb0
Fix two bugs.
...
- Doesn't fail ne_pcmcia_attach() if ne_pcmcia_ax88190_set_iobase() failed.
- Check whether LIOBASE register is writable or not (dirty hack!).
Fix PR. 11285
2000-11-02 07:04:46 +00:00
haya
a4df364077
METHOD CHANGE: Use CIS_FUNCE data which is decoded by pcmcia_cis.c,
...
instead of decode cis tuple by itself. This change leads to suppress
one power-cycling.
2000-10-25 09:32:11 +00:00
haya
8130f0ec5d
Add a cis decoding function which decodes some CISTPL_FUNCE tuples for
...
disk and network functions.
2000-10-17 10:13:46 +00:00
shin
6444136d42
cosmetic change.
2000-10-17 01:50:40 +00:00
itojun
d01f7f6e2b
correct memory size to be mapped. PR 11242.
2000-10-16 10:26:41 +00:00
jonathan
6e67f82712
Fix wi_intr() to avoid touching card registers during insert/remove events,
...
when sharing an interrupt with other devices:
check sc->sc_enabled, and drop the interrupt if its' off.
Also check for IFF_RUNNING, on advice of Enami Tsugotomo.
2000-10-13 19:15:08 +00:00
enami
3a909c64a6
Use splnet instead of splimp in wi_ioctl.
2000-10-12 04:50:58 +00:00
enami
4c00a9d6aa
Bail out initailzation on buffer allocation failure.
2000-10-12 03:29:59 +00:00
enami
b204f9e433
Use ether_ioctl.
2000-10-12 02:24:08 +00:00
thorpej
7ca3fb9ef0
Move the check for "promisc + unicast + not for us" into ether_input(),
...
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
enami
b4b2cdf575
Replace misused DIAGNOSTIC with WI_DEBUG.
2000-09-28 06:29:41 +00:00
enami
2f625bf43f
Remove unnecessary and commented out code.
2000-09-28 06:24:48 +00:00
joda
00305bb997
provide some randomness
2000-08-28 13:25:22 +00:00
jhawk
ce7a425d77
Revert last, softc is now updated.
...
I neglected to checkin the if_wivar.h update earlier, sorry.
2000-08-26 00:08:43 +00:00
jhawk
a44862dea9
oops, missed this file earlier (Doh!):
...
Add support for "microwave oven robustness" with wiconfig -M.
2000-08-26 00:05:54 +00:00
sommerfeld
3a2b5d49a6
partial backout of last commit: #if 0 references to sc->wi_mor_enabled
...
since it doesn't exist in the softc.
2000-08-25 03:11:14 +00:00
imp
9386fe0821
Sync to 1.98 of pcmciadevs
2000-08-24 07:12:20 +00:00
imp
cbacec4196
Sort BAY into numerical order.
2000-08-24 07:10:36 +00:00
jhawk
5056d0ce7c
Add support for "microwave oven robustness" with wiconfig -M.
2000-08-23 19:01:04 +00:00
jhawk
8c3116e66a
Copy wi_{dst,src}_addr from struct wi_frame into faked-up ether_header
...
instead of addr1 and addr2. THis means that tcpdump -e will show the
correct MAC address for communications with access points instead of showing
the BSSID.
In the future there should be 802.11 support for bpf/libpcap/tcpdump,
but that is aways down the road.
Also fix a typo in a comment.
2000-08-18 04:11:48 +00:00
jhawk
324576262d
Fix typo in comment for WI_RID_AUTH_TYPE
2000-08-14 00:44:22 +00:00
ad
19fd9da968
Define SIOC[SG]IFGENERIC in <sys/sockio.h>, as FreeBSD and OpenBSD do.
2000-08-10 11:48:41 +00:00
gmcgarry
f21a75dee3
XIDEBUG_CONFIG -> XID_CONFIG. From R.Massar@Fh-Worms.DE
2000-07-31 21:49:47 +00:00
enami
35913a898c
Sync internal state and ifmedia state. Addresses PR#10424.
2000-07-31 03:25:11 +00:00
briggs
e6dde2bd42
Add MII support to smc91cxx driver. This is supported for the 91c100
...
and 91c100FD (FEAST) controllers. Existing controllers should continue
to work as they have. Added the card's memory to the probe message.
2000-07-30 21:34:47 +00:00
drochner
457d8d7c7e
print parent device name too, so we know which socket a card was probed at
...
and whether pcmcia or cardbus
2000-07-28 19:17:02 +00:00
onoe
188122248a
I've confirmed that Samsung MagicLAN SWL-2000N (PRISM-II) works
...
with WEP enabled.
2000-07-26 07:28:56 +00:00
onoe
cc8e6675e2
add Samsung MagicLAN SWL-2000N
2000-07-26 07:24:15 +00:00
onoe
27d41a1de3
Map txrate for prism2, where each bit is apparently assigned to the
...
corresponding rate; 1Mbps, 2Mbps, 5.5Mbps, 11Mbps.
2000-07-25 12:04:29 +00:00
gmcgarry
5463f7b316
Improve the model identification and match. Addresses PR-10485.
2000-07-24 21:50:10 +00:00
gmcgarry
b023fdd2b7
Regen.
2000-07-24 21:47:40 +00:00
gmcgarry
0f37cacaf1
Add entries for all Xircom ethernet models.
2000-07-24 21:45:00 +00:00
onoe
afa5b645c2
add support for SIOCS80211NWKEY and SIOCG80211NWKEY.
2000-07-21 04:48:55 +00:00
abs
c9355a957c
Add the pccard controller for a Toshiba Portege drive. No vendor ID, no
...
product ID, and in this temporary loan, no bleeding power supply so it
can only probe the controller and not the drive. Still, its something.
2000-07-20 23:20:01 +00:00
onoe
47f692248f
add WEP support also for PRISM2 cards.
...
Corega works fine with WEP, but farallon doesn't work well with WEP for now..
2000-07-18 15:01:55 +00:00
onoe
905b4e497f
Add support for Corega Wireless LAN PCC-11, and Farallon SkyLINE 11Mb.
...
Note that Corega card works at 3.3V only, then it requires cardbus code
for now.
2000-07-18 14:53:26 +00:00
onoe
4a2a3bf091
Add Farallon SkyLINE 11mb card as Intersil Prism2
...
vendor:product of the card is Lucent:WaveLAN, and CIS string shows
"INTERSIL" "HFA384x/IEEE"...
2000-07-18 14:48:10 +00:00
jun
ceafcbd834
apply Kenji Aoyama <aoyama@nk.mcu.or.jp>'s patch
...
on port-hpcmips-ja@jp.netbsd.org Mon, 10 Jul 2000 21:21:47 +0900
FIX:
Can't read CIS tuple chain:some TDK CF Flash memory card.
2000-07-14 08:02:12 +00:00
itojun
e93c7e8dd2
typo. From: jdolecek
2000-07-05 18:47:51 +00:00
itojun
5f1c4bb519
use memory mapped address, instead of i/o memory access, for control
...
registers. rationale:
- Netwave cards choke if we map i/o memory to >= 0x400
- even though, CIS tuple talks nothing about it
- it is not possible to specify range in pcmcia_io_map
- it would be very bad to do a try-and-error bus_space allocation for
i/o memory regions < 0x400
- we can have exactly the same functionality with memory mapped access
this should correct PR 10139.
the memory mapped access idea was from WIDE wildboar/bsdi cnw code.
2000-07-05 18:42:19 +00:00
onoe
807a12c8cd
change the argument of SIOCS80211NWID and SIOCG80211NWID ioctls from
...
u_int8_t array to struct ieee80211_nwid to prepend length field.
The length field is necessary because IEEE 802.11 spec doesn't prohibit
even '\0' for SSID.
Though the name and the value of SIOC... macro is unchanged, this change
breaks binary compatibility. The only affected userland program on the
tree is ifconfig(8).
As Jason suggested on tech-net, it is better than live with problems
since there are no releases for this ioctls yet.
2000-07-05 02:35:53 +00:00
onoe
af32c63489
remove unneeded include "opt_awi.h"
2000-07-05 02:27:25 +00:00
onoe
793eb28211
Support WEP functions for awi driver.
...
arc4 implementation by Kalle Kaukonen has been added.
define "wlan" in files.
XXX: only awi depends on wlan for now.
Allow authentication for adhoc (IBSS) mode.
Disable adhoc mode without bssid (mediaopt adhoc,flag0) for FH radio.
FH cannot work without synchronization by beacons.
Align IP header for ethernet encapsulation (IFF_FLAG0) mode.
Print available access points for IFF_DEBUG.
2000-07-04 14:27:56 +00:00
joda
5f9b72f44c
match 3Com 3CRWE737A (AirConnect)
2000-06-30 16:40:31 +00:00
joda
c8edea398b
regen
2000-06-30 16:33:38 +00:00
joda
35c8e4d91e
add 3Com 3CRWE737A (AirConnect)
2000-06-30 16:33:17 +00:00
mrg
261538ecac
remove include of <vm/vm.h>
2000-06-28 16:39:25 +00:00
soren
d157be73ff
Update from Onno: add media selection.
2000-06-14 22:54:37 +00:00
soren
0ea5e0720a
IBM Tropic Token Ring PCMCIA attachment. XXX Needs work.
...
Many thanks to Onno van der Linden for his help in getting this working.
2000-06-13 20:03:47 +00:00
soren
a6c8d6231e
Regen.
2000-06-13 02:18:19 +00:00
soren
d15c2a6a04
Include vendor name for IBM products.
2000-06-13 02:18:00 +00:00
onoe
7b45a44396
Add Farallon SkyLINE Wireless LAN Card for awi(4) driver.
...
Tested on FreeBSD 3.4-RELEASE by Dirk-Willem van Gulik <dirkx@webweaving.org>.
2000-06-09 13:05:02 +00:00
gmcgarry
f44d7a9a53
Rename remaining references from xe to xi. Clean up debug messages.
2000-06-09 08:22:13 +00:00
onoe
4da3935bae
cleanup haeders.
...
add opt_awi.h to define AWI_DEBUG, AWI_WEP_ARC4.
show the firmware version at attach.
create a framework to support WEP (encryption code is not included for now).
a new wiconfig compatible ioctl interface replaced the awictl interface.
fix memory leak in selecting AP
fix bugs in ESSID selection
changes from FreeBSD-current by Warner Losh:
revision 1.2
date: 2000/04/17 22:58:15; author: imp; state: Exp; lines: +16 -1
Provide mem* for compat with NetBSD to fix LINT
fixes from FreeBSD-current by Guido van Rooij:
revision 1.4
date: 2000/05/29 19:58:10; author: guido; state: Exp; lines: +5 -2
Fix a panic resulting from an obvious null pointer deref.
Apparently some other panics still exist in this driver, but with
this fix, it was at least possible to run the Nokia card at SANE 2000.
2000-06-09 05:31:15 +00:00
soren
f0d0078f1b
Add Olicom GoCard.
2000-06-06 17:19:59 +00:00
soren
4b7ec26c89
One comment too much..
2000-06-06 16:16:36 +00:00
soren
c4df411abd
Add comments for a few drivers and the lines for the Tropic attachment.
2000-06-06 16:15:31 +00:00
pooka
e1e9261889
fix typo
2000-06-06 14:01:40 +00:00
gmcgarry
fc43b2daa3
Replaced by xi(4).
2000-06-05 23:21:35 +00:00
gmcgarry
3129070fd6
New driver for Xircom CreditCard PCMCIA Ethernet. Replaces xe driver which
...
didn't work. Renamed to avoid clash with next68k network driver.
2000-06-05 23:14:22 +00:00
gmcgarry
63ce2b1954
Clean up usage of XIRCOM/TDK identifiers.
2000-06-05 23:06:31 +00:00
gmcgarry
923b803b77
Regen.
2000-06-05 23:05:30 +00:00
gmcgarry
b1cff781b9
- Clean up XIRCOM entries
...
- Add entry for Xircom CreditCard Ethernet + Modem 28
- Add entry for Intel EtherExpress PRO/100
- Add entry for Compaq Netelligent 10/100 Ethernet
2000-06-05 23:04:04 +00:00
tsutsui
5138b1b1bb
Well, this is esp_pcmcia, not esp_pci.
2000-06-05 15:36:45 +00:00
tsutsui
a12331c461
Oops, struct scsipi_adapter was changed recently.
2000-06-05 15:19:42 +00:00
tsutsui
8c4d1bf1f9
Adapt MI ncr53c9x changes.
2000-06-05 15:08:00 +00:00
jhawk
1e59d99d28
For all network drivers that call ether_ifattach(), and also
...
have _detach() functions:
Ensure that softc keeps state about whether the attach succeeded,
and make the detach function return immediately if the attach did
not complete.
2000-05-29 17:37:12 +00:00
mycroft
4bfbc7641d
Recognize the DE-650 with another vendor/product pair and OUI.
2000-05-25 17:21:48 +00:00
itojun
37cc37ead2
correct pcmcom detach (like card removal). PR 9334.
2000-05-24 03:44:46 +00:00
enami
28ec465498
Remove $Id.
2000-05-23 08:41:49 +00:00
enami
f87f33d513
Allow userland to retrieve whether the card support WEP while the
...
card power is off. This allows wiconfig to set WEP key etc while power off.
2000-05-23 08:25:51 +00:00
mycroft
b7c3dc6d20
Recognize more models of the IBM card. From PR 10137.
2000-05-23 02:55:19 +00:00
enami
769cc65919
Free memory when failed to map it.
2000-05-15 08:08:12 +00:00
enami
01f1223f94
Cosmetic changes.
2000-05-15 07:57:19 +00:00
drochner
ac9d663468
My (Cabletron) card supplies two more statistics counters.
...
Instead of dropping them all, read out min(expected, supplied).
2000-05-14 17:19:18 +00:00
is
4d65db2d97
RATOC REX-R280 (another if_mbe_pcmcia card) support by UCHIYAMA Yasushi.
...
Originally part of pr 6789, reworked by the submitter to fit into -current.
2000-05-11 19:24:35 +00:00
augustss
fd36bc02a6
Swap the order of disabling the function and disestablishing the interrupt
...
on detach. This avoid accessing unmapped registers on multi-function cards.
2000-05-08 13:53:32 +00:00
augustss
621323af72
KNF some comments.
2000-05-08 13:51:36 +00:00
thorpej
8ec60a189f
Make sure the payload is aligned when using E2-over-802.11 encapsulation,
...
as enabled by the LINK0 flag. Fixes PR kern/9700.
2000-04-22 22:36:14 +00:00
joda
5c507c46b5
regen
2000-04-17 12:01:20 +00:00
joda
4f797c7b55
Panasonic KXLC003
2000-04-17 12:00:35 +00:00
scw
d5d6c20e74
Regen
2000-04-12 21:13:12 +00:00
scw
e083abcad8
Add support for the SOHOware PCMCIA Ethernet card, model ND5100-E.
...
This seems to be a re-badged NDC (National Datacomms. Corp) card.
It needs a quirk entry due to lack of manufacturer tuple in the CIS.
For some reason, the 'Tx/Rx' LED on the connector module is inverted
such that it is off during network activity...
2000-04-12 21:07:55 +00:00
bouyer
3b69a8011b
make it compile again after ATAPI changes.
2000-04-01 17:52:14 +00:00
augustss
169ac5b3c1
Remove register declarations.
2000-03-30 12:41:09 +00:00
enami
c522067861
Maintain IFF_ALLMULTI flag by ourself.
2000-03-27 11:03:47 +00:00
enami
8d29747e3b
When we fall into allmulti case due to too may multicast address,
...
properly set the type and length in struct wi_ltv_mcast.
2000-03-27 07:04:21 +00:00
enami
19e7b1b8ae
No need to call wi_setmulti() if ether_{add,del}multi returns 0.
2000-03-27 06:48:05 +00:00
kleink
8abfe24915
Cast timeval members to types we know the printf conversions of.
2000-03-26 20:24:12 +00:00
itojun
240cf24ebd
regen (sorry forgot to do separate commit for them)
2000-03-26 10:31:19 +00:00
itojun
74846d31f5
add CIS for Corega Wireless LAN PCC-11 (no driver support yet)
2000-03-26 10:24:51 +00:00
tsutsui
9100212ef0
Add a "sc_rev" member to ncr5380_softc and handle CXD1180 quirk
...
in MI ncr5380sbc.
2000-03-25 15:27:54 +00:00
thorpej
fc96443d15
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00