Commit Graph

441 Commits

Author SHA1 Message Date
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