Commit Graph

605 Commits

Author SHA1 Message Date
haya 5f8d27d58b regen. 2000-12-20 06:24:37 +00:00
haya f899f18228 Add IO Data CBIDE2 ata interface card. 2000-12-20 06:05:13 +00:00
sommerfeld 824092cc68 Regen, because jhawk didn't 2000-12-20 05:03:37 +00:00
jhawk 391d469a00 Backout most of 1.46, because Jason checked in a load of crap from
his local tree that doesn't build with -current...
2000-12-20 04:36:26 +00:00
jhawk 6cca4087d9 s/NULL}/NULL }/
Did I mention this awk script really sucks?
2000-12-20 04:32:48 +00:00
thorpej 814729d3ae Regen. 2000-12-19 17:11:38 +00:00
thorpej d4bbed68f8 " " -> "&sp" in two entries, per Rafal Boni. 2000-12-19 17:11:22 +00:00
thorpej 54e034de88 Identify the SMC 2632W as a Prism II. From Rafal Boni, kern/11776. 2000-12-19 16:55:57 +00:00
thorpej ef0031e520 Regen; add SMC 2632W. 2000-12-19 16:54:14 +00:00
thorpej 0ca5cacc47 Add SMC 2632W. From Rafal Boni, kern/11775. 2000-12-19 16:53:41 +00:00
onoe 684fe5613d cleanup attach procedure, use tsleep() instead of long delay (and ignore
timeouts).
stop driver after suspend.
XXX: should use command interrupt but no document...
XXX: status update sometimes failed perhaps due to collision.
	(RID 0xff50 or 0xff68 access failed)
2000-12-19 08:00:55 +00:00
onoe f9af49b21b I've inverted the logic of an_probe() in my previous commit to dev/ic/an.c 2000-12-19 01:59:21 +00:00
abs cf699a23e5 Add a 'value engineered' generic pcmcia CD-ROM drive, badged 'AMACOM'.
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'CD-ROM'.
I'd be encouraged at some progress towards 'generic devices', except
someone else is bound to produce something that identifies the same, but
requires a quirk. Can I go back to my sparc now?
Make two other comments consistent while here.
2000-12-18 17:21:11 +00:00
thorpej 6b16911a43 ALTQ'ify. 2000-12-14 06:27:23 +00:00
onoe a7125e435c Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...
2000-12-14 04:11:25 +00:00
mycroft 69d3816bec Make this compile again. *sigh* 2000-12-13 07:35:49 +00:00
thorpej d197326e7a Add a missing return after freeing an mbuf. From Dave Huang <khym@bga.com>. 2000-12-12 17:25:34 +00:00
onoe aa513e6338 add support(?) for PC4500 which is a 2Mbps product.
Though ifconfig -m no longer show 5Mbps/11Mbps for PC4500 by this fix,
I cannot find how to set fixed transmit speed to the firmware.
FreeBSD version of driver apparently ignore the value set by ancontrol(8).
2000-12-12 05:34:02 +00:00
onoe 99675e3dde cleanup headers: remove duplicate definition, split reg.h/var.h. 2000-12-12 05:11:15 +00:00
thorpej c0bcfa5994 Support SIOC{G,S}80211POWER. 2000-12-12 04:04:29 +00:00
onoe c63194c7af To fix panic at "ifconfig an0 down",
define ANCACHE in if_an_pcmcia.c (XXX)
try not to access registers after interface down.
2000-12-11 23:58:55 +00:00
onoe 9c25e9208a Port 'an' driver for Aironet PC4500/PC4800 IEEE802.11 card from FreeBSD.
This is very adhoc work for IETF meeting.
- Since it seems that 'an' and 'wi' have similar hardware, low level
  functions should be shared.
- There are PCI/ISA cards of Aironet but not supported yet.
- The wiconfig interface is changed so that wiconfig cannot be used.
- 'ancontrol' of FreeBSD is not ported.
- Only infrastructure mode is tested.
- WEP is not supported.

Though I only have an Aironet card, Cisco card should be expected to work.
2000-12-11 23:16:50 +00:00
thorpej 17bf4cff64 Add support for 802.11 authentication frames, required to interoperate
with Aviator Pro cards on Windows.  Written by Steve Weiss for OpenBSD,
ported to NetBSD by me.
2000-12-11 17:53:19 +00:00
castor dac94f4d7b Make sc->wi_txbuf an array of u_int16_t instead u_int8_t so alignment
is handled correctly.  Thanks to Martin Husemann for nagging me to
do the right thing.
2000-12-09 22:59:44 +00:00
drochner aa2b1723f5 regen 2000-12-08 18:38:15 +00:00
drochner 917a1a2bfe add IBM microdrive 2000-12-08 18:37:24 +00:00
soren 1a5d87c9fa Regen. 2000-11-21 00:25:43 +00:00
soren 219abdb871 Typo. 2000-11-21 00:25:35 +00:00
soren 6faa85c6d3 Note 3Com card support. 2000-11-21 00:25:20 +00:00
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