Commit Graph

528 Commits

Author SHA1 Message Date
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
mycroft
bcb26b717f Add the Nokia C020 WLAN card. 2000-03-22 22:33:47 +00:00
mycroft
b6a2605ef2 Regen. 2000-03-22 21:41:48 +00:00
mycroft
86151f6ec3 Add the Nokia C020 WLAN card.
(`Guess who Charles works for...')
2000-03-22 21:39:57 +00:00
onoe
5644a7e248 Update awi driver, which now supports AMD 79c930 based 802.11 DS cards
as well as 802.11 FH cards.  Also, it can operate in infrastructure mode,
adhoc mode, and wi(4) (aka WaveLAN/IEEE) compatible adhoc mode.
2000-03-22 11:22:20 +00:00
tron
282dcaac92 Regen. 2000-03-20 18:39:52 +00:00
tron
a28ca8f97e Add support for RPTI-EP400 PCMCIA network adapter. Patches supplied by
Tim Walls in PR kern/9644.
2000-03-20 18:39:32 +00:00
mycroft
634d0c9744 Oops; fix a slight biff in the PIO input routine. 2000-03-20 06:01:11 +00:00
tsutsui
553896782a Cosmetics. ( 0x80 -> NCRSTAT_INT ) 2000-03-20 03:49:22 +00:00
mycroft
df8c3f5ceb Interrupts work now. Woohoo. 2000-03-20 00:53:17 +00:00
mycroft
f1ebad18a4 Add esp_pcmcia. For the moment it's polled, since interrupts don't seem to be
working.
2000-03-19 21:54:01 +00:00
mycroft
9dd3a0973d This turns out to be the wrong interface for what I needed -- but I'll leave
the code here for now.
2000-03-18 21:11:16 +00:00
mycroft
03dddfc09e Preliminary support for 53c40x-based cards. Needs some more work. 2000-03-18 17:59:52 +00:00
mycroft
302a1bd362 Regen. 2000-03-18 15:01:33 +00:00
mycroft
2ab04a0400 Add the Panasonic 4X CD-ROM Interface CArd. 2000-03-18 15:00:31 +00:00
onoe
9eb76252d0 Regen. 2000-03-16 16:48:59 +00:00
onoe
8a8e062c16 cards for if_awi:
Add AirSurfer Pro
	Change the name for AMD Am79C930.  The same CIS strings are used
	both for Melco WLI-PCM and NTT-EL SS Magic.
2000-03-16 16:38:41 +00:00
cgd
49389b9817 tabbing consistency on the 3c1 entry 2000-03-13 23:36:02 +00:00
cgd
5402c76d3e add an entry to the product table for the 3C1. This seems to work,
at least as necessary to pull out the MAC address, etc.  Not actually
tested xmit & rcv yet.
2000-03-13 20:32:28 +00:00
cgd
8409d84d62 regen 2000-03-13 20:31:23 +00:00
cgd
00a2570a2e Add 3com Megahertz 3C1 10Mbps LAN CF+ Card 2000-03-13 20:30:24 +00:00
onoe
cf32e2713c Adopt the macro name change of if_ieee80211.h.
also fixed the value for receiving packets in infrastructure mode,
while no one has been tested with.
2000-03-10 05:47:42 +00:00
thorpej
91c44a72b8 Set ifp->if_baudrate as appropriate. 2000-03-06 21:02:37 +00:00
thorpej
a6f861574a No longer necessary to futz with ifp->if_baudrate here. 2000-03-06 21:02:00 +00:00
enami
68484a4ad9 - Remove redundant assignment.
- Don't disestablish shutdown hook if we can't establish it.
- Noneed to manage resouces individually.
2000-03-06 10:31:27 +00:00
enami
e924f6f853 Minor cleanups. 2000-03-02 10:29:22 +00:00
enami
48721f291a Fix typo and thinko in previous commit. 2000-03-02 05:54:22 +00:00
enami
027db8bf87 Add ifmedia support so that dhcp happy. Also, add nwid support. 2000-03-02 05:00:47 +00:00
mycroft
17f933f6ce Add missing break that hosed multicast. 2000-02-28 06:44:52 +00:00
enami
8841a11f4d - Disestablish an interrupt if failed to enable the card.
- If card isn't enabled, just set given information into softc.  Addresses
  PR#9457.
- Some cleanups and cosmetic changes.
2000-02-27 23:10:51 +00:00
augustss
45b36632c0 Add code (off by default) to keep track of the signal strength of the last
few packets received from different MAC addresses.
2000-02-27 20:40:42 +00:00
uch
20e5cfa32f Billionton Systems Inc. LNT-10TN card. 2000-02-27 11:15:47 +00:00
uch
d386caeaec regen. 2000-02-27 11:14:43 +00:00
uch
663c327808 Add Billionton Systems Inc. LNT-10TN NE2000 Compatible card. 2000-02-27 11:14:03 +00:00
uch
16c31080a5 IT8368E legacy mode requires mode change between I/O access and
attribute memory access. XXX
2000-02-26 19:02:22 +00:00
itojun
beecfd4814 cnw is 8bit-only card. map memory region as 8bit only.
(there are so many 8bit-only card fixes.  don't we have some hint on cis tuple?)
From: feico
2000-02-26 05:34:43 +00:00
chopps
dcfbcbec76 remove bogus debug (was reading unmapped CCR) 2000-02-22 21:29:36 +00:00
thorpej
bfaa657135 Fix printf formats on the Alpha. 2000-02-22 08:23:22 +00:00
enami
158df7b6f1 Don't establish an interrupt if attach is in progress. Anyway, current wdc
and its children doesn't require interrupt on attach.
2000-02-21 03:55:22 +00:00
enami
91026fe7f2 Cosmetic changes. 2000-02-21 03:26:41 +00:00
enami
6779fc2bb2 Fix thinko in previous commit. 2000-02-20 03:48:40 +00:00
enami
ac75116d32 Try other config entry on i/o space alloc failure. 2000-02-20 03:18:15 +00:00
sommerfeld
7adb22cfa5 Add detach support.
Light cleanup.
2000-02-17 15:58:32 +00:00
enami
4a1320b29f Put the entry of FNW-3700T after the entry of SVEC-PN650TX
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-02-14 23:13:49 +00:00
itojun
99b18eac36 on attach, check if we've got meaningful mac address or not,
to detect io mapping problem.

on detach, handle resource deallocations more carefully.
2000-02-13 06:17:58 +00:00
enami
84b6105bbe Check if device is active in wi_intr and wi_inquire. 2000-02-12 23:35:28 +00:00
chopps
53e6733789 awi is an 8-bit only card, so set the 8bit flag. 2000-02-12 19:58:35 +00:00
itojun
02bf7fcd13 add wi_detach and friends so that we can hot-swap wi card. 2000-02-12 16:08:04 +00:00
chopps
d8595b9af3 map common memory 8 bit for cis scan when following longlinks. 2000-02-10 09:01:52 +00:00