Commit Graph

629 Commits

Author SHA1 Message Date
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
is 5a76bfb229 Yet another Fujitsu Ethernet card.
Contributed by HEO SeonMeyong in PR 8658.
1999-10-27 19:10:02 +00:00
enami a2369d8e97 Cancel active transfers on aic/wdc detach.
Also makes LS-120 drive works for me again.
1999-10-20 15:22:24 +00:00
enami b4e3ec7f3d Don't restrict the ethernet portion after modem portion. It prevents
us from using some config entries (com at 0x3xxx).
1999-10-20 14:57:57 +00:00
haya 4eee111127 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
thorpej b77486892b Regen. 1999-10-11 17:51:45 +00:00
thorpej d9497def78 Add 3Com/Megahertz 3CCFEM556BI 10/100 Ethernet/Modem. From Ryoji KATO,
PR #8331.
1999-10-11 17:51:24 +00:00
thorpej f4f5698f06 Add quirks for the 3Com/Megahertz 3CCFEM556BI 10/100 Ethernet/Modem,
from Ryoji KATO, PR #8331.
1999-10-11 17:50:21 +00:00
thorpej eda20693f0 Add support for the 3Com/Megahertz 3CCFEM556BI 10/100 Ethernet/Modem combo. 1999-10-11 17:49:21 +00:00
thorpej f134ebc280 Sync the ASCII Ethernet address decoder with mhzc.c. New version by
Chuck Cranor is more efficient and fixes a bug which would have caused
data corruption in some cases.
1999-09-28 23:20:42 +00:00
thorpej 619bd37d4d Fix a slight buglet in `enable' magic odering, point out by
Chuck Cranor.
1999-09-28 22:46:43 +00:00
thorpej b5a2d37e04 Add a driver for the Megahertz Ethernet/Modem combo cards, e.g. XJEM3336.
This supplies an attachment of the `sm' and `com' drivers.

Thanks to Chuck Cranor for sifting through the Linux smc91c92_cs.c driver
to find the magic sequence that brings the Ethernet portion of the card
on-line!
1999-09-28 17:58:55 +00:00
thorpej 9103e43937 Don't handle the Megaherz XJEM3336 here. 1999-09-28 17:57:03 +00:00
enami bb03434a5f Support Planex Communications Inc, FNW-3600-T. 1999-09-27 23:19:12 +00:00
enami 488eb98613 Regen. (btw, this typo was pointed out by kawamoto@es.osaka-u.ac.jp). 1999-09-27 22:58:56 +00:00
enami f419b27fb3 Oops, s/FMW/FNW/g. 1999-09-27 22:57:26 +00:00
enami 60acf2e610 Regen. 1999-09-27 04:28:27 +00:00
enami f095a1088a Add entry for Planex Communications Inc. FMW-3600-T. 1999-09-27 04:27:28 +00:00
enami 2a328ebcb2 Allow to detach aic, but turned off by default. The patchable variable
aic_dodetach controlls this.
1999-09-26 08:14:57 +00:00
enami ed505bdf67 regen. 1999-09-25 09:48:07 +00:00
enami 9f3378ecd4 Add support for Corega EthernetII PCC T. This diff is submitted
as PR#8485 by HEO SeonMeyong.
1999-09-25 09:47:13 +00:00
enami 67e874d814 Allow to detach wdc, atapibus, wd and cd. 1999-09-23 11:04:29 +00:00
enami 99024b0423 print newline. 1999-09-22 10:03:37 +00:00
enami e7daddb730 fold long line and kill empty line at the end of file. 1999-09-21 03:39:37 +00:00
itojun f5e553eb57 IPv6 support.
ETHERTYPE_IPV6 packets are encapsulated by RFC1042 encap.
Tested with Japanese card, with WaveLan bridge (wiconfig -p 1).
NOTE: I dunno if encapsulating IPv6 packets by RFC1042 is the correct way,
  as RFC1042 only defines behavior for ETHERTYPE_{IP,ARP,REVARP} packets.
  Since WaveLan bridge encapsulates IPv6 packets with RFC1042, we have no
  choice.

Gather joined multicast addresses via SIOCADDMULTI, and configure multicast
filter properly.  This is also required for IPv6 support
(which heavily depends on multicast).

Fix IFF_RUNNING management
- to prevent IFF_RUNNING from raised on "wiconfig", before "ifconfig up"
- to prevent the driver from occupying extra interrupts on "ifconfig up",
  then "down", then "up".
1999-09-10 00:30:59 +00:00
is 125de40b64 Ambicom support by Vincent Aymeric 1999-09-09 18:12:05 +00:00
is a0cbbf08fe Ambicom support by Vincent Aymeric 1999-09-09 18:09:10 +00:00
soren 211476aea7 Match 1460 names with Adaptec. 1999-09-07 19:30:10 +00:00
tron 766b5fef17 Regen. 1999-08-24 17:48:31 +00:00
tron 7a80808434 Add Allied Telesis LA-PCM (NE2000 compatible) and Contec C-NET(PC)C
(MB8696x based) pcmcia ethernet cards. Patches supplied by
Kawamoto Yosihisa in PR kern/8260 and kern/8261.
1999-08-24 17:47:44 +00:00
tron b6c7adba38 Regen. 1999-08-14 13:43:27 +00:00
tron 3622436247 Add support for 3Com 3CXEM556B-INT as suggested by Noriyuki KOIZUMI in
PR kern/8188.
1999-08-14 13:43:02 +00:00
cgd 0ef6a875b8 regen for updated pcmciadevs 1999-08-06 06:39:57 +00:00
cgd 1780131e5c add an entry for the IBM EtherJet Ethernet PC Card (cs8920 based) 1999-08-06 06:39:29 +00:00
hwr f6bf685b94 Regen. 1999-07-22 20:58:18 +00:00
hwr baf7e04902 Insert a space in New Media Corporation. Fixes kern/7817 by Lloyd Parkes. 1999-07-22 20:56:38 +00:00
sommerfeld 5d94c1dc69 Clarify that the empty string, not the string ANY, as the network name means
pick any access point
1999-07-15 14:31:52 +00:00
sommerfeld 48f2389776 Add shutdown hook to turn off card.
Fix BPF tap code.
1999-07-14 23:07:29 +00:00
sommerfeld 5d33b8fc14 Install a header needed by userspace wiconfig program 1999-07-14 22:32:05 +00:00
sommerfeld 52faa3e2d7 Blitz port of the FreeBSD wi* driver for the Lucent WaveLan IEEE
PCMCIA wireless LAN.
Original driver written by Bill Paul <wpaul@ctr.columbia.edu>
1999-07-14 22:24:07 +00:00
sommerfeld 313081da93 Add a few 802.11 cards 1999-07-14 22:13:27 +00:00
bad 54b747eb16 In pcmcia_pars_cis_tuple(): in the PCMCIA_TPCE_FS_MEMSPACE_TABLE case
there is one more memspace in the table then the PCMCIA_TPCE_MS_COUNT
mask produces.
1999-07-11 00:34:37 +00:00
bad c95ed3d2e5 In pcmcia_print_cis(): When printing io and mem spaces don't append trailing
0s if length or hostaddr are zero, instead DTRT.
1999-07-11 00:26:29 +00:00
mjl 52d0d1398b Regen after tyop. 1999-06-23 10:41:08 +00:00
mjl 1720673bc2 Corrected tyop. 1999-06-23 10:40:16 +00:00
mjl 2abd78cfd3 Regen. 1999-06-23 10:37:10 +00:00
mjl e44e18cc01 Add manufacturer Lasat Communications A/S, product Lasat Credit 288 Modem. 1999-06-23 10:36:19 +00:00
mjl 36da665f8c Added NewMedia BusToaster, an Adaptec 152x compatible. 1999-06-19 18:50:28 +00:00
mjl fb7137cfd9 Regen 1999-06-19 18:49:34 +00:00
mjl 4e0161f8dc Regen 1999-06-19 18:17:14 +00:00
mjl c32aeb153b Added NewMedia BusToaster SCSI Host Adapter 1999-06-19 18:16:07 +00:00
christos 61d84403a8 Regen 1999-05-24 13:05:40 +00:00
christos cf715aec57 Fix PR/7634 properly, by adding the card to pcmciadevs 1999-05-24 13:05:12 +00:00
augustss 8fb4b44439 SMC 8022 PCMCIA ethercard entry for if_ne_pcmcia.c
From Zdenek Salvet <salvet@ics.muni.cz> in PR 7634.
1999-05-24 10:17:49 +00:00
christos 544c14bcf6 KNF! 1999-05-23 00:48:46 +00:00
thorpej f98d358a1f Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
thorpej c9ee8bf3c4 Fix a couple of problems w/ 3c574 support. Doesn't quite work yet, but
it's a little closer.
1999-05-09 18:48:52 +00:00
thorpej 0837de9c4b Add support for the Fujitsu Towa LA501 Ethernet card. PR #6524, Stephen Ma. 1999-04-27 04:56:18 +00:00
thorpej ae3e4919c2 Regen. 1999-04-27 04:52:04 +00:00
thorpej 7931c9f84e Add the Fujitsu LA501 Ethernet card. PR #6524, Stephen Ma. 1999-04-27 04:48:43 +00:00
thorpej d5a491540c Disable power management until the bug that caused it to hang the
machine can be found.

Addresses kern/6488, from Thorsten Frueauf.
1999-04-27 02:53:30 +00:00
abs c28fffe947 Fix enet_vendor entries for Compex Linkport Enet B (PR 7238) 1999-04-16 22:35:49 +00:00
abs 71c5a6babd Fix ethernet address location for Compex Linkport ENET-B. From PR 7238. 1999-04-09 23:19:27 +00:00
christos 036ec6601c Add FDC_HEADSETTLE to wait for the heads to settle timeout 1999-03-19 16:09:57 +00:00
abs ab9ab83d05 Add ID for IBM 'PCMCIA Portable CD-ROM Drive'. We only have one of these and it
may be broken (it choked under Windows), but it at least now probes.
1999-02-19 21:49:43 +00:00
nathanw 58d4d7e933 Regen. 1999-02-19 02:53:06 +00:00
nathanw 6b150eb8f6 Fix typo.
XXX fix Makefile.pcmciadevs to catch this sort of thing.
1999-02-19 02:52:17 +00:00
nathanw 6e788dfcb5 Regen. 1999-02-19 00:44:15 +00:00
nathanw 3300c6ba4b Add Fujitsu SCSI 600 card 1999-02-19 00:43:00 +00:00
christos 000c8bbf35 Regen 1999-01-01 19:30:52 +00:00
christos 512db6124c Add Xircom Netwave driver from Michael Eriksson 1999-01-01 19:30:03 +00:00
marc 9ada0bf40f check for end of tuple while reading cfe data 1998-12-29 09:03:15 +00:00
marc 0380eb8f98 added SVEC_LANCARD 1998-12-29 09:00:50 +00:00
marc 5d9e772403 added support for quirks based on cis strings, added quirk entry for SVEC_LANCARD 1998-12-29 09:00:28 +00:00
marc 0de74697c4 rebuilt from pcmciadevs 1998-12-29 08:59:14 +00:00
marc b5f4f4dcfe add SVEC losing ethernet card 1998-12-29 08:58:37 +00:00
marc ae7cea0a83 initialize a variable to avoid a false compiler warning. 1998-12-25 00:54:46 +00:00
marc b5afabb89a check in generated files again so the included CVS id is correct 1998-12-25 00:54:11 +00:00
marc 1a6e9eab49 add quirk support for cards which lie extensively about their CIS 1998-12-24 04:51:59 +00:00
marc 2636bc951d add code to permit pcmcia intr debugging 1998-12-24 04:50:43 +00:00
marc 2cf34a47e0 The PCMCIA_PRODUCT_3COM_3CXEM556 requires the same CCR hack as the
3c562.
1998-12-24 03:59:00 +00:00
marc b6a56aac7f add an entry to the products array for the
PCMCIA_PRODUCT_3COM_3CXEM556.

This device requires the same CCR hack as the 3c562.
1998-12-24 03:57:45 +00:00
marc c9ffa39a53 add product id for 3Com/Megahertz 3CXEM556 1998-12-24 03:55:54 +00:00
nathanw e3504362c9 Regen. 1998-12-20 03:53:03 +00:00
nathanw 7003241eab Add IBM Wireless LAN Entry and Xircom CreditCard Ethernet+Modem. 1998-12-20 03:52:40 +00:00
nathanw d114556e2a Avoid using "generic" configuration table entries during first
resource allocation attempt - would crash system if a generic entry
preceded a workable specific entry.
Rearrange a little for clarity.
1998-12-20 03:49:53 +00:00
nathanw 9670878a82 Regen. 1998-12-19 23:48:39 +00:00
nathanw f920aee0b3 Add original Xircom CreditCard Ethernet. 1998-12-19 23:47:51 +00:00
thorpej cb707caaeb Add the Compex Linkport ENET-B Ethernet card, PR #6349, Ingolf Koch. 1998-12-18 22:10:29 +00:00
thorpej 95b5eb860d Regen. 1998-12-18 22:07:53 +00:00
thorpej fc685b5db5 Oops, tyop. 1998-12-18 22:07:39 +00:00
thorpej e2614a90c2 Regen. 1998-12-18 22:07:00 +00:00
thorpej 1142e9ca93 Add the Compex vendor ID, and product ID for the Compex Linkport ENET-B.
PR #6349, Ingolf Koch.
1998-12-18 22:04:48 +00:00
thorpej 875666be42 Add the SVEC/Hawking Tech. Combo card. PR #6461, Rafal Boni. 1998-12-18 21:54:14 +00:00
thorpej 1f7f191ac9 Regen. 1998-12-18 21:53:08 +00:00
thorpej f86bb230f6 Add the SVEC/Hawking Tech. combo card. PR #6461, Rafal Boni. 1998-12-18 21:52:53 +00:00
thorpej d9e7d7e6a1 Add support for the Corega PCC-T Ethernet, PR #6603, Takahiro Kambe. 1998-12-18 21:14:17 +00:00
thorpej 75553e60bf Regen. 1998-12-18 21:12:32 +00:00
thorpej eee452e216 Add Corega vendor ID and product CIS info for the PCC-T Ethernet card.
PR #6603, Takahiro Kambe.
1998-12-18 21:12:14 +00:00
bouyer 47ab212504 Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
pk cfe66472ab Use `pcmciabus' as the PCMCIA attachment 1998-11-26 15:32:44 +00:00
pk 0f7176ff24 Remove unwanted inclusion of an isa header file. 1998-11-22 21:58:50 +00:00
drochner 3e38051bc5 in wdc_softc: access the per-channel data via a pointer array instead of
an array of fixed-sized channel_softc elements. This way IDE controllers
which more than 1 channel (pciide) can extend the channel data easily
for private needs.
To avoid the double dereference at runtime, change the argument of
wdcstart() to the channel data pointer instead of the array index.
1998-11-21 15:41:41 +00:00
thorpej 7693f53714 Detach children in reverse order. We are more likely to be able to recycle
cloned unit numbers that way.
1998-11-20 05:20:20 +00:00
thorpej 8c2f638d29 Add support for power management and lazy interrupt establishment to the
PCMCIA aic6360 attachment.
1998-11-20 02:12:15 +00:00
thorpej 792462c236 Add support for power management and lazy interrupt establishment
to PCMCIA IDE controllers (include PCMCIA flash cards).
1998-11-20 01:52:22 +00:00
thorpej 4e8bf2fa99 Make the attachment messages a little prettier:
com3 at pcmcia1 function 0 port 0x2e8-0x2ef: serial device
com3: ns16550a, working fifo

I.e. don't wrap the line.
1998-11-19 00:04:02 +00:00
thorpej ac7560ad4a Add support for hot-swapping PCMCIA serial devices. 1998-11-19 00:01:30 +00:00
thorpej 1d0f24882d Now that the *_activate() functions don't do things which are attachment
specific, move them into the chipset drivers.
1998-11-18 18:34:52 +00:00
thorpej 257d3e31ae Move the i/o window unmap and i/o space free into *_detach(). 1998-11-18 18:15:56 +00:00
thorpej d088902264 Add detach and activate entry points. Mostly functional except for
#ifdef notyet'd if_delref() and if_detach(), which will be fixed up
when that code is committed.
1998-11-17 20:44:02 +00:00
thorpej 0c3ca7b31e Finish implementing interrupt-driven card insertion and removal support.
- Deactivate the card on removal and queue a REMOVAL event for the socket's
event thread to finish the detach.
- Queue an INSERTION event for the socket's event thread on insertion.

Implement a few missing infrastructure pieces to support this.

Hot swapping of PCMCIA cards now "works".  (Not quite; things like network
devices need changes for their respestive subsystems.  These changes are
coming soon...)
1998-11-17 08:49:11 +00:00
itohy 59bed57519 Oops, I should have been more careful about the last modification....
Since D-Link DE-650 is not the only exception, restore Linksys EC1 entry to the
previous position and move D-Link entry below that to make the source cleaner.
1998-11-16 08:17:01 +00:00
thorpej 3e6164e173 Make a comment about what pcmcia_detach_card() should do. 1998-11-14 01:54:25 +00:00
itohy 2d3363a6d0 regen. 1998-11-04 06:41:57 +00:00
itohy b0e0dc2101 (manufacturer, product) = (0x149, 0x265) is used both
"Linksys EthernetCard" and some new versions of "D-Link DE-650".
Changed the product string as such.
1998-11-04 06:40:54 +00:00
itohy 5bf12ef4b9 Allow newer versions of D-Link DE650 cards (the manufacturer and
the product are valid and the same as Linksys EthernetCard's) work
with the current ne driver.
Somewhat kludgy.
1998-11-04 06:37:09 +00:00
fvdl 7b10c3e7e4 Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.
1998-11-04 00:29:28 +00:00
thorpej d08eb2a32b Add code to detect a RealTek 8019 chip, and use the media selection
support if present.
1998-10-31 01:44:16 +00:00
enami 9ddbeaedbb - match if the function just probing is disk and its interface is ATA.
- use product table only for the card which requires quirks or doesn't
  have disk device interface tuple.
1998-10-29 09:49:51 +00:00
enami 3f3c763b1b Define some constants for function extension tuple of disk function. 1998-10-29 09:45:52 +00:00
enami 634f1b5bf7 fix typo and some indentation. 1998-10-29 09:42:45 +00:00
thorpej 56066ad5fb Add media list, media list count, and default media arguments to
ne2000_attach().
1998-10-28 00:13:47 +00:00
thorpej 2fd1cb5817 Regen. 1998-10-27 00:55:46 +00:00
thorpej 64acdc1e7a Product ID for Xircom CreditCard CE2 10base-T Ethernet. 1998-10-27 00:55:30 +00:00
thorpej 8f460d30f6 Nuke spurious ; 1998-10-14 18:05:45 +00:00
bouyer 19fddaeeb5 Merge bouyer-ide 1998-10-12 16:09:10 +00:00
thorpej 2101c736a3 Make the product lookup table-driven. 1998-10-11 18:42:01 +00:00
thorpej e0fa7545bf Use pcmcia_io_free() where appropriate. 1998-10-10 22:01:24 +00:00
thorpej 09b6735d35 Define missing pcmcia_io_free(). 1998-10-10 21:59:40 +00:00
thorpej f1c971ea72 Device driver for PCMCIA multi-port serial cards. Currently supports
the Socket Communications, Inc. dual-rs232 device.
1998-10-10 21:27:21 +00:00
thorpej 0a70a74239 Regen. 1998-10-08 20:44:00 +00:00
thorpej 8ba90a1c93 Correct product ID for Socket Communications Dual Serial Adapter. 1998-10-08 20:43:42 +00:00
thorpej 19d188b293 Regen. 1998-10-08 20:12:52 +00:00
thorpej 1b15f541a6 Add Megahertz X-JACK 56kbps Modem, from Johnny C. Lam, PR #6173. 1998-10-08 20:11:59 +00:00
thorpej 0b4cfbfe6e Fix some whitespace lossage. 1998-10-08 02:06:13 +00:00
jtk 568398bad2 regen data files 1998-10-07 01:08:57 +00:00
jtk 3067a16f6e update for a broken variant of the Linksys E-CARD 1998-10-07 01:08:37 +00:00
veego c31e48b356 Reorder the ne2000devs entries. So all PCMCIA_VENDOR_INVALID and/or
PCMCIA_PRODUCT_INVALID entries comes first.
1998-09-23 21:22:41 +00:00
dbj 392f960b14 Regenerated .h files to fix "generated from" CVS id. 1998-09-20 21:08:49 +00:00
dbj 1c578d0ad2 Added support for a Dayna Communicard E that probes with a
different product id (0x2f) than the one we had (0x2d)
1998-09-20 19:19:53 +00:00
enami b85655c706 Use an appropriate value for wpp_quirk_flag. 1998-09-18 14:43:58 +00:00
kenh d1e0ee615b Regen 1998-09-10 19:57:20 +00:00
kenh 537261f6c5 Reorganize the probe routine and add a quirk table. Much of this code
comes from Enami Tsugutomo (enami@but-b.or.jp).  Also add a couple more
devices to the pcmcia devices table.
1998-09-10 19:55:30 +00:00
christos bd52ba3c5a Assign copyright to TNF. 1998-09-05 14:42:05 +00:00
christos 236611ac0b Regen. 1998-09-05 14:18:04 +00:00
christos c7a4282124 Assign copyright to TNF. 1998-09-05 14:12:36 +00:00
msaitoh 7734e0ef29 fix version string (from PC Card Standard, April 1998 (Release 6.1)) 1998-08-22 23:41:48 +00:00
msaitoh 369bc4cb89 Allocate an I/O according to the config table entries.
Auto assign is done only when all cfe->iospace[0].start fails.
1998-08-22 17:47:58 +00:00
thorpej 6bfd748b46 First-crack at RoadRunner (3c574-TX 10/100Mbps PCMCIA). Doens't yet use
any of the RoadRunner speed hacks.
1998-08-17 23:20:39 +00:00
thorpej 93d3ff20b4 Regen. 1998-08-17 23:12:15 +00:00
thorpej d2f5e92d0a Add product ID for the 3Com 3c574-TX 10/100Mbps Ethernet, provided
by Laine Stump.
1998-08-17 23:10:12 +00:00
nathanw dbdebe9c17 Reduce com_devs[] to those devices (one!) that we need to match by CIS
string comparison. Change com_dev_match() somewhat to reflect that.
1998-08-17 03:28:51 +00:00
thorpej 5e177fa975 Regen. 1998-08-15 21:37:24 +00:00
thorpej ca15ee6ef6 Consolidate the Socket products, pointed out by Nathan Williams. 1998-08-15 21:36:25 +00:00
thorpej 05eabf2eef Regen. 1998-08-15 21:29:24 +00:00
thorpej 0ac0bf4615 Oops, that Socket Communications vendor ID was redundant. Sort the vendors
so I won't make that mistake again.
1998-08-15 21:28:26 +00:00
thorpej 1c7ae25125 Sigh, #if 0 the SMC 8020BT EtherEZ entry until we know what the product
ID really is.
1998-08-15 20:47:32 +00:00
thorpej fec04bbde8 Regen. 1998-08-15 20:46:31 +00:00
thorpej f2a088f77c Oops, that SMC product ID is actually for the 8016 EtherCard. *sigh* 1998-08-15 20:46:06 +00:00
thorpej 066e235e19 Take a stab at supporting the SMC 8020BT EtherEZ. (Similar to the
Megahertz; Ethernet address is stored in third CIS info string, but
may also be in the FUNCE/LANNID tuple.)
1998-08-15 20:11:38 +00:00
thorpej 8954eaede3 Regen. 1998-08-15 20:08:37 +00:00
thorpej 1bf26fea5a Add SMC vendor ID, and SMC 8020BT EtherEZ product ID. 1998-08-15 20:08:07 +00:00
thorpej a68f2398d3 Add the Trust Combo EthernetCard, from Dante Profeta. 1998-08-15 19:00:04 +00:00
thorpej b2097ee74d Regen. 1998-08-15 18:58:32 +00:00
thorpej 9314c120f7 Add the Trust Combo EthernetCard product ID, from Dante Profeta. 1998-08-15 18:58:05 +00:00
thorpej cb7214f1a4 Regen. 1998-08-15 18:56:16 +00:00