Commit Graph

695 Commits

Author SHA1 Message Date
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
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
enami e00270524e ASIX AX88190 support (Planex FNW-3700-T and Melco LPC3-TX) from FreeBSD/PAO3. 2000-02-09 15:40:23 +00:00
enami 67bc20747a Support Xircom CompactCard Ethernet CFE-10. 2000-02-09 14:54:53 +00:00
enami 99f529f0b3 - Since all resources are mandatory, no need to manage individually.
- KNF some code.
- Factor out some code into function.
- Disestablish an interrupt handler when failed to enable card power.
2000-02-09 14:42:33 +00:00
enami dc87f2899f - No need to keep track enable/disable state here. The smc91cxx.c also
manages it.
- Disestablish an interrupt when failed to enable card.
- Don't say I'm enabled if failed to enable card.
2000-02-09 13:40:42 +00:00
enami 94a6dd9169 Regen. 2000-02-09 13:33:22 +00:00
enami 947c0fee74 Add an entry for Planex FNW-3700-T. 2000-02-09 13:32:23 +00:00
enami e729d284ad Add an entry for Melco LPC3-TX. 2000-02-09 13:20:55 +00:00
enami e92b285eaf Add an entry for Xircom CompactCard Ethernet CFE-10. 2000-02-09 13:07:45 +00:00
enami 1658944ebe - Don't rely on implicit declaration.
- Sinc wi/ existing coding style.
2000-02-08 12:51:30 +00:00
enami c7573d517e - Bail out from attach stage if failed to enable card, number of iospace
or memspace is unexpected, failed to map iospace or failed to configure
the controller properly.
- Disestablish an interrupt handler if failed to enable card.
2000-02-08 12:49:12 +00:00
augustss a534cd4254 Correct John Markus Bjørndalen's horribly mangled name in a comment. 2000-02-07 09:40:37 +00:00
augustss a8365d0e29 Use pcmcia_devinfo(). 2000-02-07 09:36:27 +00:00
augustss e2ab50484b Add a pcmcia_devinfo() function (akin to pci_devinfo). It generates a
string suitable for printing in the attach message.
2000-02-07 09:35:29 +00:00
nathanw 958e687d69 LP64 printf fixes. 2000-02-05 20:02:42 +00:00
enami 645c869160 Add detach support for ethernet portion. 2000-02-05 04:44:00 +00:00
enami 9267b8f018 Remove unnecessary includes. 2000-02-05 04:41:49 +00:00
enami 730f15bb19 Free resources on attach failure. 2000-02-04 09:31:07 +00:00
enami 82235a8673 Actually, no need to keep track of sc_ih. 2000-02-04 09:30:28 +00:00
chopps 2a1352a5b3 enable the card before establishing the interrupt to avoid being called
with stray interrupts before we are ready.
clear the card interrupt after enabling the card
2000-02-04 08:45:41 +00:00
explorer 59db45db2a bring over WEP mode from FreeBSD/OpenBSD 2000-02-04 07:48:29 +00:00
explorer 4a5667f967 undo part of the previous commit. I'll just steal the code from freebsd,
to minimize differences between the drivers.
2000-02-04 06:22:52 +00:00
enami af9710cf6e Disestablish an interrupt if failed to enable the card. 2000-02-04 04:54:51 +00:00
enami 6f28840935 Remove no longer necessary old code. 2000-02-04 03:40:00 +00:00
enami 3ff6804bdd Release the resource on attach failure. 2000-02-04 03:38:06 +00:00
explorer de4f36ae63 Add encryption structure definitions -- it's interesting tht the gold card
has 128 bit encryption, but the key space is 14 * 8 bits, or 112 bits...
I wonder where the other 16 bits comes from?
2000-02-04 02:03:02 +00:00
cgd 942a54e0c1 replace the *_lookup table entry match/lookup functions in all of
these drivers with a single common function (which supports tables
of variable-sized structures).  Things are mostly as they were before:
tables are terminated by entry with NULL name, etc.  There's also
the ability to call a driver-specific match function which can be used
to augment the table lookup.
2000-02-04 01:27:12 +00:00
chopps 71d64756c2 wrap optimized copy routines in an ifdef 2000-02-03 21:27:35 +00:00
enami d6df5ce334 Make the product lookup table driven. 2000-02-03 08:52:21 +00:00
enami f1ce315cc0 Regen. 2000-02-03 08:26:33 +00:00
enami fc92de5f92 Add an entry for Icom WAVEMASTER SL-200. 2000-02-03 08:25:55 +00:00
chopps a5dc628e12 manipulate packet counters, support detach, and add commented out code to
DTRT on suspend
2000-02-02 18:39:44 +00:00
thorpej eed75dbc26 Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
flags down from the parent to child vi mii_attach().
2000-02-02 17:09:38 +00:00
itojun b2cac6e684 if_detach for sm/pcmcia.
with addition of resource allocation flags in softc (to DTRT on detach).
2000-02-02 16:04:40 +00:00
itojun 7a7a3bcfdf handle attach failure in ne/pcmcia more carefully. (otherwise we'll
have trouble on detach)
2000-02-02 13:06:15 +00:00
itojun 7aa608e563 handle attach failure in more detail. make sure to
pcmcia_function_disable() on failure.
2000-02-02 13:02:56 +00:00
itojun 4e1b4b724b implement cnw_detach.
XXX it looks that whenever there's error-return in xx_attach,
we need to have some check in xx_detach().  otherwise, routines such as
ether_ifdetach() will be called without call to ether_ifattach().
2000-02-02 12:25:13 +00:00
itojun f4e8883ccd use a bit more standard (sys/device.h) prototype for {dp8390,ne2000}_detach(). 2000-02-02 11:41:56 +00:00
itojun 2b4766a6b2 enami's fix to dp8390 did the trick, it does not hang up any more.
enable detach routine by default.
2000-02-02 11:17:32 +00:00
itojun 17f5887294 implement if_detach code for ne/pcmcia.
XXX still incomplete, ne_pcmcia_detach() commented out for safery - please test
2000-02-02 10:00:06 +00:00
enami a909d816d2 Add detach support. 2000-02-02 09:34:51 +00:00
augustss 82559ba682 Move detach operations around a little to simplify (and perhaps get it
right?).  Prompted by Jason, itojun and myself.
2000-02-02 08:41:00 +00:00
augustss 4a6ae7bdfc Get rid of shutdown hook and attached media on detach. 2000-02-02 08:08:50 +00:00
thorpej 84dc99fdea Bring some order to the chaos which was the MII code function naming
"conventions".
2000-02-02 08:05:26 +00:00
augustss ea45df4d30 Make sure to get rid of shutdown hook and ttach media on detach. 2000-02-02 08:00:21 +00:00
itojun af1d56129f wrap bpfdetach() with NBPFILTER > 0. 2000-02-02 07:47:33 +00:00
augustss 0151072444 Make ep driver detachable. 2000-02-02 07:23:28 +00:00
augustss 2c371af454 Make ray driver detachable. 2000-02-02 07:22:06 +00:00
enami 11264e95ef Regen. 2000-02-01 10:21:00 +00:00
enami ad68157d83 Add an entry for Melco WLI PCM (but driver isn't available yet). 2000-02-01 10:19:51 +00:00
enami 25b484e01a Pass an appropriate value as alignment (0 is not such a value). 2000-02-01 10:12:04 +00:00
enami d549d0992b Rearrenge code a bit for the sake of another device. 2000-02-01 10:00:41 +00:00
enami db644f36ea Cosmetic changes. 2000-02-01 08:58:25 +00:00
enami 98ba9b6a65 Sync awi_pcmcia_get_enaddr with mbe_pcmcia_get_enaddr. 2000-02-01 08:52:05 +00:00
enami f06ba20199 RCS Id police. 2000-02-01 08:43:25 +00:00
enami 82cf6568cf Sync wi/ if_wavelan_ieee.h version 1.4 of FreeBSD. 2000-02-01 08:23:37 +00:00
enami 19aa9f2cbb The workaround for Hagiwara SYS-COM Compact Flash card is no longer necessary. 2000-02-01 06:48:15 +00:00
enami a945b488ae Regen. 2000-02-01 05:51:31 +00:00
enami 032ef78e07 Print more detailed name for Corega ethernet cards. 2000-02-01 05:50:18 +00:00
augustss e00a11df5e Make it easy to switch between using attribute memory and not. 2000-01-26 22:28:38 +00:00
augustss 3d3f376619 Print out what kind of card it is earlier and more accurately. 2000-01-26 02:25:47 +00:00
thorpej dc4e418fa6 Add the Linksys Etherfast 10/100. These are currently being rebadged
as the NetGear FA410TX 16-bit PC Card.
2000-01-26 01:27:12 +00:00
thorpej def54ed969 Regen. 2000-01-26 01:06:03 +00:00
thorpej a73e3e37b1 Add the Linksys Etherfast. 2000-01-26 01:05:23 +00:00
soren a81c1788ab Regen. 2000-01-25 21:58:23 +00:00
soren 3a9b991c44 Add Lexar Media CF. 2000-01-25 21:58:06 +00:00
mycroft 3f72e2e3f9 Oops; fix a bug in the previous:
If one entry has the DL10019 bit set and another does not, don't fail
immediately if the checksum doesn't work.
2000-01-25 18:04:07 +00:00
itojun 9d17b2ca6a bring in stabilization codes in freebsd PAO/bsdi cnw driver.
- link integrity bit check.
- don't send too many packets, add some delay between them (this one is
  not enabled by default - try it if you see performance problem on
  heavy traffic)
2000-01-25 16:48:47 +00:00
thorpej c02060ba9b Regen. 2000-01-25 15:44:21 +00:00
thorpej d1c481fc31 Fix a typo. 2000-01-25 15:43:59 +00:00
mycroft 509c38cc44 Regen. 2000-01-25 08:07:14 +00:00
mycroft 6a4d06f322 Use the Ethernet vendor ID to differentiate multiple cards with the same
vendor,product pair.  (Yuck.)
2000-01-25 08:06:49 +00:00
jlam 03ebb087f7 Regen. 2000-01-25 06:53:26 +00:00
jlam 4d836ce7f2 Fix product code for Aironet PC4800. Should be 0x0007. 2000-01-25 06:52:54 +00:00
chopps b5064330de The cfe is initialized to the default entry, when a table entry value
is present don't OR in the flags with the defaults, replace them.
2000-01-25 06:36:17 +00:00
chopps 8c090e4862 set havenet to 0 when we are switching between operating modes and only
after association in ifrastructure mode.  Also, deal with roam start
and rejoin net commands.
2000-01-25 05:32:28 +00:00
sommerfeld 43311a870f Regen 2000-01-25 01:17:40 +00:00
sommerfeld 97597e1d12 Add ID for BayStack 660 (DS version of 650) 2000-01-25 01:15:06 +00:00
enami 7acb650645 - fix comment style/indentaion.
- add comment to refer aic_pcmcia_enable.
2000-01-24 23:14:23 +00:00
chopps 7d55178466 support switching to/from adhoc/infrastructure mode with media opt.
fill in 802.11 correctly for 802.11 infrastructure.
code not verified with base station yet.
2000-01-24 22:05:53 +00:00
augustss c0214682f7 Add missing \n in attach message, and add a little more information. 2000-01-24 01:32:00 +00:00
chopps 9704db4fc4 add driver for raylink/aviator wireless 802.11 FH 2Mbps cards, currently only
tested with aviator 2.4
2000-01-23 23:59:21 +00:00
chopps 1e33763b41 regen 2000-01-23 23:56:58 +00:00
chopps 7527798475 WebGear->Raytheon 2000-01-23 23:55:45 +00:00
aymeric 8ac52796d5 add right casts to printf bus_space parameters 2000-01-23 20:44:04 +00:00
enami b7868a436d Don't overwrite cfe->flags. 2000-01-20 08:47:59 +00:00
jlam 24ea998b2a Regen. 2000-01-18 17:20:32 +00:00
jlam 069f019108 Add Aironet Wireless Communications' vendor and product codes. 2000-01-18 17:19:33 +00:00
jtk 5253149d51 add mii attribute to xe. (Needed to make PHY attachment work.) 2000-01-18 03:11:11 +00:00
cgd d447117750 Some additional sanity checks to keep this code from bursting into
flame if presented with bad CIS data (e.g. because of a memory space
conflict):
* more sanity checking on LONGLINK_MFC CIS tuples (exact length check, sanity
  check on size vs. size of array we allocated for them), to avoid various
  missteps which could cause this code to complete trash the kernel stack.
* clear the entire contents of the state structure before processing, so
  things like uninitted pointers will actually have a known value!
* be more careful with CISTPL_CFTABLE_ENTRY: check to see that the current
  state's default_entry isn't NULL before dereferencing it.
2000-01-14 23:09:53 +00:00
joda c61a134a00 add flags for memory width 2000-01-13 08:58:51 +00:00
joda 5e787daca3 xe@pcmcia 2000-01-09 17:23:05 +00:00
joda a72606bdaf now compiles on NetBSD 2000-01-09 17:21:38 +00:00
joda a6afd742f7 add NetBSD tag 2000-01-09 17:20:36 +00:00
joda 35957910a6 add Xircom 16-bit PCMCIA driver (from OpenBSD) 2000-01-09 17:10:43 +00:00
joda 7d1d793acc regen 2000-01-09 16:01:22 +00:00
joda a3bf37e388 add vendor-ids for Intel, Xircom, and Compaq (2) -- from Free/OpenBSD 2000-01-09 16:00:29 +00:00
augustss e81e75d36b Regen. 2000-01-08 07:35:39 +00:00
augustss 903e37734d Add EXP Computer Inc. PCMCIA controller.
From Brad Spencer <brad@anduin.eldar.org> in PR 9140.
2000-01-08 07:34:49 +00:00
augustss aafe48897d Regen. 1999-12-23 19:46:27 +00:00
augustss c1ea7e7feb Add the WebGear Aviator2.4 card. No driver yet, though. :( 1999-12-23 19:45:56 +00:00
sommerfeld d4cc45ba08 Fix hot-swapping for controllers which grab two ranges of port space.
(if the mapping of the second range succeeded, it would forget about
the window of the second address range, causing a subsequent insertion
event to fail..).

My Sony PCGA-CD51 now hot-swaps a lot better now.
1999-12-09 03:22:41 +00:00
danw fa517eaed3 regenerate 1999-12-05 20:09:17 +00:00
danw 5a3161ddbc add Epson EEN10B ethernet 1999-12-05 20:08:39 +00:00
itojun 42abf0bf78 regen. 1999-11-29 12:55:20 +00:00
itojun 1b6504a175 improve cnw driver, looking at bsdi/freebsd-pao cnw driver by wide+prb@bsdi.
- implement ioctls compatible with bsdi/freebsd-pao.  stat type is
  changed from u_int to u_quad_t to avoid overflows.  now it is possible
  to switch domain/encryption key from the userland, using cnwctl(8).
- implement multicast/promiscuous mode.  tested with IPv6.
1999-11-29 12:53:59 +00:00
itojun a075f72b0e cnw driver ioctls, from FreeBSD/PAO2 repository 1999-11-29 12:40:59 +00:00
jun 9c0f37b416 regen. 1999-11-29 02:28:55 +00:00
jun dd7b5aed5b Support for TDK LAC-CF010
by Ichiro Fukuhara (ichiro@ichiro.org) on kern/8900
ichiro test TDK CF Card on Opensource matsuri,tokyo and send patch to us.
thanx.
1999-11-29 02:28:19 +00:00
soren 6f6045c97d Regen. 1999-11-27 01:03:33 +00:00
soren 8c5ab0744f IBM cards update. 1999-11-27 01:03:18 +00:00
soren 506836faa1 Regen. 1999-11-26 17:17:21 +00:00
soren 71f7530292 Add two 3Com modems. 1999-11-26 17:16:53 +00:00
takemura cad52c9e08 Add a entry for Mobile Dock 2, which is 2.5" HDD adapter. 1999-11-21 10:13:08 +00:00
jtk a65648a323 regen 1999-11-20 18:32:31 +00:00
jtk 35b90fb812 add Xircom CE3 10/100 Ethernet 1999-11-20 18:32:08 +00:00
enami 38acee1010 Cope with new return value of pcmcia_scan_cis(). (Actually, it's not
so new but at least newer when I wrote these code).
1999-11-18 14:25:28 +00:00
enami f38640f00f Add some comments and reformat comment which doesn't confirm KNF. 1999-11-18 14:20:11 +00:00
enami 8567277ae0 Print range of all iospaces or all memspaces if their length aren't zero. 1999-11-07 07:44:21 +00:00
sommerfeld 8be740541b Extract MAC address from CIS data in pcmcia front end.
Fix multicast address manipulation.
ipv6 now works through this driver.
1999-11-06 16:43:53 +00:00
enami 9be459a1fb Regen. 1999-11-06 00:59:56 +00:00
enami 9c7bc44f91 Support an earlier version of IO-DATA PCLA/T. 1999-11-06 00:58:32 +00:00
sommerfeld 73bf131124 Add rcsid's 1999-11-05 05:13:36 +00:00
sommerfeld 12b00b0444 Allow this to build on 1.4.x, too 1999-11-04 18:41:14 +00:00
sommerfeld fd0062aeab Attempt to be smart about whether to use I/O space or memory space to
access the card's shared memory: if we can't allocate the 32k we need,
fall back and just use I/O space access.
1999-11-04 17:48:13 +00:00
sommerfeld 2ee5984fa6 Driver front-end for BayStack 650 PCMCIA 802.11 card.
Committed using the driver.
1999-11-04 17:12:43 +00:00
matt 5fcccf1e9c Add a placeholder for the ISA WaveLAN card 1999-10-29 21:35:43 +00:00
sommerfeld 77ee68352f regenerate 1999-10-28 20:00:29 +00:00
sommerfeld 2acce3142f Add BayStack 650 802.11 FH card 1999-10-28 19:59:31 +00:00
jun 061402cc4a add
SOCKET LOW POWER ETHERNET Compact Flash Card.
1999-10-28 09:21:46 +00:00
jun 0f51f21761 add entry Corega PCC-TX PCMCIA card. 1999-10-28 08:12:14 +00:00
jun a6e07f236b Sorry backout Patch about COREGA FAST_ETHER_PCC_TX. 1999-10-28 07:21:28 +00:00
jun 312acdff00 add Corega PCC-TX PCMCIA Card (not CardBus but 100Base-TX) Entry. 1999-10-28 06:38:51 +00:00
is 5ef42fc055 Regenerate. 1999-10-27 19:10:58 +00:00