Commit Graph

857 Commits

Author SHA1 Message Date
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
martin 504487fbd6 Make pcmcia_isicattach return values the other way round (zero on success,
errno otherwise). Actually use that return value to avoid installing an
interrupt handler (possibly sharing an interrupt with other cards!) and
initialising the softc with bogus/half baked values.
2001-02-10 22:44:36 +00:00
ichiro f5c7ef6eb3 add corega pcca-11 wavelan card 2001-02-10 15:46:51 +00:00
ichiro bba5c1c08e regen 2001-02-10 14:08:45 +00:00
ichiro 8f64c96911 add some wavelan card 2001-02-10 14:08:10 +00:00
martin 688279a063 Stopgap fix: block interrupts in attach routine until handler is
established.

XXX real fix: make enable/disable for real and invoke them when needed.
XXX This has to wait until the layer 1 <-> layer 2 interface is
XXX restructured.
2001-02-03 22:44:23 +00:00
ichiro f83bca2bbb Contec FLEXLAN/FX-DS110-PCC work
reported by Shingo WATANABE(nabe@nabechan.org)
2001-01-29 11:26:28 +00:00
ichiro 4d076b5e9b regen 2001-01-29 11:23:43 +00:00
ichiro 012109227d add products
Contec FLEXLAN/FX-DS110-PCC wavelan card
2001-01-29 11:23:13 +00:00
ichiro 5e870d500f COMPAQ Agency NC5004 Wireless Card(Prism2) work. 2001-01-28 07:18:40 +00:00
ichiro afeced92a0 regen. 2001-01-28 07:15:07 +00:00
ichiro b74006da99 add product id
COMPAQ Wireless Card NC5004(Prism2)
2001-01-28 07:14:47 +00:00
tv 82a01b7eeb Regen. 2001-01-23 19:24:19 +00:00
tv af31089a6d Re-add $FreeBSD$ RCS Id for the purposes of synchronization tracking.
This is not unprecedented, as we do it in >100 places in the tree.
If you disagree with this philosophy, take it to tech-kern for a discussion
FIRST before reverting; TNF, not one particular person, owns this file.
2001-01-23 19:24:00 +00:00
thorpej bcb0a27722 Regen; added Xircom CreditCard Token Ring II. 2001-01-23 05:42:43 +00:00
thorpej ad4bfb4606 Add Xircom CreditCard Token Ring II (woo, I found my card!) 2001-01-23 05:42:12 +00:00
thorpej 9eefbe5b74 Regen; there is absolutely no point in having a FreeBSD RCS ID in this file. 2001-01-20 17:04:03 +00:00
thorpej 7ad2150248 There is absolutely no point in having a FreeBSD RCS ID in this file. 2001-01-20 17:03:32 +00:00
taca ce1c8f1a25 Regen. 2001-01-20 08:50:30 +00:00
taca da5294450d In 1.111
> o Add RATOC REX_R280 card.
Since this already exists in pcmciadevs, delete it for preventing compile error.
2001-01-20 08:49:53 +00:00
imp cd3120ae66 Sync to pcmicadevs 1.111 2001-01-20 01:58:12 +00:00
imp d93492c616 Sync file with FreeBSD 1.8:
o Add NAKAGAWA METAL's LNT-10TN card.
o Add KINGSTON KNE-PC2 ethernet card.
o Add RATOC REX_R280 card.
o Add $FreeBSD$ id.

I've not added these cards the their respective drivers, however.
2001-01-20 01:56:16 +00:00
martin 28899ce913 Add another CIS variant for ELSA mc/isdn card 2001-01-19 20:04:07 +00:00
martin c423d2c0f9 Add support for another PCMCIA ISDN card: Sedlbauer speed star II.
While there fix two outdated comments.
2001-01-18 22:13:59 +00:00
jdolecek 34c8ae80da constify 2001-01-18 20:28:15 +00:00
nonaka 58acc910af regen 2001-01-16 15:57:54 +00:00
nonaka 417efc284d Add Roland SCP-55 2001-01-16 15:56:48 +00:00
thorpej 372338915a Use splnet() to block network interrupts, not splimp(). 2001-01-14 17:37:41 +00:00
ichiro bf4e834543 ELSA XI-300 WaveLanCard (PRISM2) work.
OEM. ADLINK 330C
http://www.adtec.co.jp/CGI/parts/parts_detail.cgi?product_id=ADLINK330C
2001-01-14 06:54:01 +00:00
jhawk 0d99070cf2 Change wi(4)'s default from ad-hoc mode to BSS mode. Also
some minor manpage fixes.
2001-01-11 19:33:51 +00:00
ichiro 3a755611ac about WI_TIMEOUT:
It is not enough to initialize NANOSPEED ROOT-RZ2000 WLAN Card.
In fact, this card needs about 66900 counts.
2001-01-11 11:54:21 +00:00
ichiro a86eb3e683 NANOSPEED ROOT-RZ2000 WLAN Card work.
(PRISM II)
2001-01-11 11:37:54 +00:00
ichiro c8cf783ce8 regen 2001-01-11 11:33:19 +00:00
ichiro b7cad127b5 add product
NANOSPEED ROOT-RZ2000 WLAN Card
2001-01-11 11:32:56 +00:00
ichiro 35b9cac9d5 regen. 2001-01-10 23:48:54 +00:00
ichiro 263cb744f8 add EMTAC A2424i 11Mbps WLAN Card 2001-01-10 23:47:56 +00:00
aymeric fc0f2f8909 Added four config entries for the DLink DE-650CT.
XXX I think we should have if_ne_pcmcia.c try to allocate I/O addresses
	around 0x300 or we'll end up with a lot of quirks for NE2k based
	cards which have bad CIS's.
2001-01-10 17:37:27 +00:00
takemura 1c518d67a0 Add WDC_CAPABILITY_SINGLE_DRIVE to ignore secound drive. Wdc on pcmcia will
be attached with this flag.
Some CF Card (for ex. IBM MicroDrive and SanDisk) doesn't seem to implement
drive select command. In this case, you can't eliminate ghost drive properly.
So you should use this flag to ignore the ghost by force.
2001-01-06 14:55:49 +00:00
martin 242656c78a Enable the imported ISDN4BSD based ISDN subsystem.
This is the kernel part (userland to follow soon) of the latest (and
very probably last) release (version 0.96) of ISDN4BSD. ISDN4BSD has a
homepage at http://www.freebsd-support.de/i4b/.

It gives the user various ways to use the isdn connection: raw data (via
the i4brbch "raw b-channel" device), ppp (via the isp "isdn PPP" device),
voice/answering machine (the i4btel "telephone" device) and ip over isdn
(the ipr device, "IP over raw ISDN").

Supported are a bunch of common and older cards, more to be added soon
after some cleanup. Currently only the european E-DSS1 variant of the
ISDN D channel protocol is supported.
2001-01-05 13:09:15 +00:00
martin c3cb638bca Initial import of ISDN4BSD release 0.96 2001-01-05 12:49:52 +00:00
castor 02d83a4c77 Fix PR port-hpcmips/11477 "only hpcmips panics with wireless network cards"
Adjust the payload of receive mbufs so the data following the
ethernet header is aligned.
2000-12-30 07:57:52 +00:00
sato 4e15bd1d3a add Novac PCMCIA-IDE Card(Card for HD530P PCMCIA-IDE Box).
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'PnPIDE'.
2000-12-27 10:41:00 +00:00
onoe 4ee7a7cdcd use pcmcia_devinfo() to print product info. 2000-12-21 15:32:46 +00:00
haya 22be9ab855 Add IO Data CBIDE2 ata interface card. 2000-12-20 09:56:34 +00:00
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
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