Home | History | Annotate | Download | only in pcmcia
History log of /src/sys/dev/pcmcia/if_ne_pcmcia.c
RevisionDateAuthorComments
 1.161  27-Dec-2019  msaitoh s/enty/entry/ in comment.
 1.160  17-Oct-2013  christos branches: 1.160.30;
remove unused variable
 1.159  26-Nov-2011  nonaka branches: 1.159.8; 1.159.12;
Add Corega Ether CF-TD LAN Card.
 1.158  02-Jan-2010  christos branches: 1.158.12;
convert to pmf
 1.157  05-Sep-2009  tsutsui Invert logic around nested pmf(9) registrations for readability.
 1.156  05-Apr-2009  uwe Provide pmf(9) hooks that do what dopowerhooks(9) hook does.

XXX: Do NOT call pmf_class_network_register() yet, b/c db8320.c
doesn't provide if_stop method!
 1.155  16-May-2008  jnemeth branches: 1.155.6; 1.155.12;
added Corega LAPCCTXT FastEthernet
 1.154  05-Apr-2008  cegger branches: 1.154.2; 1.154.4; 1.154.6;
use aprint_*_dev and device_xname
 1.153  28-Mar-2008  uwe aprint_naive("\n");
 1.152  12-Mar-2008  cube Split device_t and softc for the NE2000 Ethernet chip and all its variants
and attachments. Use device_t accessors, correct types, and ANSIfy when
appropriate.
 1.151  09-Mar-2008  dholland Use NE2000_TYPE_UNKNOWN instead of just 0 in a couple places.
 1.150  19-Oct-2007  ad branches: 1.150.12; 1.150.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.149  16-Nov-2006  christos branches: 1.149.2; 1.149.8; 1.149.22; 1.149.24; 1.149.28;
__unused removal on arguments; approved by core.
 1.148  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.147  24-Sep-2006  jmcneill Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
 1.146  23-Sep-2006  jmcneill PR# 15666: EDIMAX EP-4101 PCMCIA card support (patch included)
 1.145  23-Sep-2006  jmcneill PR# 27840: patch for IO DATA PCET/TX-R PCMCIA Ethernet card support
 1.144  30-Aug-2006  christos branches: 1.144.2; 1.144.4;
fix initializers.
 1.143  11-Jul-2006  peter Add power hooks for "ne* at pcmcia?".

ok christos@
 1.142  23-Mar-2006  christos branches: 1.142.4;
PR/33133: Dave J. Barnes: Belkin F5D5020 Ethernet PCMCIA card not recognised
 1.141  11-Dec-2005  christos branches: 1.141.4; 1.141.6; 1.141.8; 1.141.10; 1.141.12;
merge ktrace-lwp.
 1.140  30-May-2005  christos branches: 1.140.2;
- add const
- avoid variable shadow
- do proper UNCONST with XXXUNCONST
 1.139  27-Feb-2005  perry nuke trailing whitespace
 1.138  04-Feb-2005  perry de-__P
 1.137  15-Oct-2004  enami branches: 1.137.4; 1.137.6;
Don't change the logic when simplifing code; a OR was changed to AND
and a test was removed but they shouldn't be changed.
 1.136  14-Oct-2004  christos PR/27255: Nikos Ntarmos: PCMCIA NIC with blank CIS tuples crashes the kernel
Simplify the code for readability.
 1.135  12-Aug-2004  mycroft Now that we write the IOBASE in generic code, don't do it here. Instead,
implement the hackish/stupid test for the AX88190 by just checking whether
the IOBASE is available in the CCR.

This is unspeakably wrong, but it leaves the code doing ~the same thing it
did before.
 1.134  12-Aug-2004  mycroft The AX88790 hack never made any sense. It's setting the PWRDWN bit in the CCR!
So, I'm removing it.
 1.133  11-Aug-2004  mycroft Always use PCMCIA_WIDTH_AUTO rather than PCMCIA_WIDTH_IO16. This spec is
pretty clear on how this works.
 1.132  10-Aug-2004  mycroft Now that all the silly string printing is gone, move the location where we
print a newline so it doesn't have to be done in every driver.
 1.131  10-Aug-2004  mycroft More careful about cleaning up pointers.
 1.130  10-Aug-2004  mycroft Print diagnostics in only one place if intr_establish() or function_enable()
fails.

Also, be a little more careful about passing up error values, and consistently
clear our interrupt handler pointer.
 1.129  10-Aug-2004  mycroft Update to the new world order.

"While I'm here..."
All that grotesque code allegedly for the 88190 and 88790 is actually just
mapping the CCR and writing to it. So, enable the device normally and use
pcmcia_ccr_{read,write}() rather than doing this crap ourselves.
 1.128  09-Aug-2004  mycroft Adapt to the new world order.
 1.127  09-Aug-2004  mycroft Create two windows iff the config table asks for it. Try to make them
contiguous. Map windows with mode AUTO since we have mixed size access.
 1.126  08-Aug-2004  mycroft Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular
case (ne@pcmcia) where we were using these to create a subregion, it is better
handled by calling bus_space_subregion().

Now there is a 1:1 mapping between I/O spaces in the config table and windows
mapped in the function. Rework the multifunction mapping code to take
advantage of this by using both I/O base addresses if necessary.
 1.125  07-Aug-2004  mycroft Clean up attach messages.
 1.124  06-Aug-2004  mycroft A few things:
* The DEPCM-XX cards don't need to be recognized by OUI or string -- they
work just fine with the IO-DATA PC-LAT/E attachment, and are probable OEM.
So, remove the DEPCM case.
* PCMCIA_STR_* elimination.
* The Megahertz EM3336 is not always an X-Jack device, so take the "XJ" out
of the product number.
 1.123  17-Jul-2004  mycroft A bit of cleanup:
* Change PCMCIA_CIS_* values that are empty to PCMCIA_CIS_INVALID.
* Use wildcard OUIs in a few more places.
* Steal a method for differentiating the AX88[17]90 from the Linux driver.
* Remove the ZoNet card entry; it's now a duplicate of the Compex entry.
 1.122  09-Jul-2004  enami This comment describes about the entry for FNW-3700T so please don't put
other entry between them.
 1.121  09-Jul-2004  enami Add BUFFALO LPC-CF-CLT Ethernet Adapter entry.
 1.120  07-Jul-2004  mycroft More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.
 1.119  07-Jul-2004  mycroft Add new devices. Use pcmcia_devinfo().
 1.118  07-Jul-2004  mycroft Add a couple more entries.
 1.117  07-Jul-2004  mycroft This table is dumb.
1) Remove all the PCMCIA_STR_* values, and instead print the actual CIS
info. This is infinitely more helpful.
2) For some of the OEM cards, collapse multiple table entries into one
entry that doesn't compare the OUI.
It's a start.
 1.116  07-Jul-2004  mycroft Add another OUI for a Melco card.

XXX
The way this table is done is kind of dumb. There's really every little point
in matching anything beyond vendor/product IDs in most cases, unless we
specifically need to do some hackery to find the MAC address. In many cases 4
or 5 manufacturers well have the same vendor/product IDs, but different OUIs
and possibly different strings. In these cases, we rarely need to look at the
OUI or the strings to DTRT.
 1.115  04-Jul-2004  mycroft Add an entry for the Netgear FA410TX -- though not quite the way it was
suggested in PR 20227.
 1.114  19-Jun-2004  itohy Add corega FEtherII PCC-TXD.
From website of Sano Yukihiko.
 1.113  25-May-2004  is My incarnation of the RPTI 400 card tells 0:0:0:0:0:0 when using the ASIC
to read the Ethernet address. However, as other OS's drivers suggest,
something which looks right is at offset 0x110.
 1.112  25-Apr-2004  itojun make it compile (printf # of arg mismatch)
 1.111  25-Apr-2004  cube Add a third possible vendor code for the D-Link DFE670-TXD. While there,
make the `unmatched vendor code' error message slightly more verbose to
make things easier next time this kind of issue arises.

Reported and tested by Pierre-Philipp Braun.
 1.110  13-Mar-2004  cube branches: 1.110.2;
The D-Link DFE-670TXD can appear with two different vendor IDs for the MAC
address. The two IDs belong to D-Link. Therefore, add a duplicate entry
with a matching vendor ID.

Reported and tested by syn at sceen dot net.
 1.109  13-Feb-2004  wiz RealTek -> Realtek.
 1.108  01-Feb-2004  uwe Recognize TAMARACK Ethernet Card.
From PR: 12273 and Mathias Menzel-Nielsen (matze matzsoft de).
 1.107  07-Nov-2003  hamajima support Corega Ether PCC-TL -- from Yasushi Oshima
 1.106  28-Oct-2003  mycroft Eliminate bogus initializer.
 1.105  25-Oct-2003  christos Fix uninitialized variable warnings
 1.104  22-Oct-2003  christos support for NE2000_TYPE_AX88790 from
Yong-Jhen Hong yongjhen at alqualonde dot org
 1.103  02-Sep-2003  ichiro add support IO-DATA PCET/TX-R EthernetCard
 1.102  26-Jul-2003  martin Add support for socket communications 10/100 CF ethernet card.
From Scott Renfro in PR 22260.
 1.101  09-Apr-2003  christos branches: 1.101.2;
A cardflash NE2000 from Michael Francini francini at mindspring dot com.
 1.100  16-Jan-2003  kanaoka Add support for SMC 8041TX 10/100 Ether PC Card.
 1.99  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.98  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.97  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.96  15-Sep-2002  bouyer Add ACCTON EN2216-PCMCIA-ETHERNET (there seems to be different variants of
the ACCTON EN2216) to pcmciadevs, and support this adapter by if_ne_pcmcia.
Tested by R�mi Zara <remi_zara@mac.com>.
 1.95  13-Sep-2002  simonb Fix indent botch.
 1.94  23-Jul-2002  christos PR/17686: Cliff Albert: Dynalink L10C pcmcia card is not supported
 1.93  03-Jun-2002  jonathan Add stanza to match and configure D-Link DFE-670 cards (a DL10022 variant).

Also print a little more info (including CIS tuples) when cards don't match,
making it a little easier to patch in entries.
 1.92  01-Jun-2002  lukem SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
 1.91  01-Jun-2002  itojun new ne0 pcmcia pccard: corega EtherII PCC-TD
PR 17134, From: <fujiwara@f.pyon.org>, Kazunori@netbsd.org, Fujiwara@netbsd.org
 1.90  08-May-2002  chris branches: 1.90.2; 1.90.4;
Add detection for the NetGear FA411. It just seems to work as an ne device.
 1.89  30-Apr-2002  uch add BUFFALO LPC3-CLT Ethernet Adapter.
 1.88  28-Mar-2002  christos PR/16108: Emmanuel Lochin: One more card identifier.
 1.87  31-Jan-2002  haya Add an entry for NEC 9801N_J12, which is an OEM of IBM infomover.
PR #14084.
 1.86  30-Jan-2002  is Add Lantech Fastnet/TX (really generic ASIX AX88190) card
 1.85  13-Jan-2002  aymeric add Edimax Technology Inc. EP4000A
add another Linksys Etherfast clone (Level One)
 1.84  15-Dec-2001  soren To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
 1.83  13-Nov-2001  lukem add RCSIDs
 1.82  21-Oct-2001  mjl Add Corega PCC-TD, as per PR/14161
 1.81  07-Aug-2001  christos Add zonet zen (Henrik Berglund)
 1.80  04-Aug-2001  enami MII access routines for ASIX AX88190.
 1.79  31-Jul-2001  christos recognize dlink-660+, from jandberg@netbsd.org (Jukka Andberg)
 1.78  05-Jul-2001  kanaoka branches: 1.78.2;
Add support for "Laneed LD-10/100CDA".
 1.77  29-Jun-2001  christos PR/13337: de SAINT LEGER Rodolphe: Add support for the cn40bc ne clone.
 1.76  13-Jun-2001  toddpw Enable attachment for Kingston KNE-PC2 Ethernet.
 1.75  05-Jun-2001  thorpej Use the DL10019 media routines on the DL10019 and DL10022 (a change
I forgot to commit long ago).
 1.74  03-Jun-2001  thorpej Differentiate between a DL10019 and a DL10022 (they have slight
MII differences).
 1.73  21-May-2001  ichiro add product COREGA FEther-PCC-TXF
kern/11357 and report from goro@venus.dti.ne.jp
 1.72  18-May-2001  jhawk Support the Socket EA pcmcia ethernet (ne). It's ooooold.
 1.71  14-May-2001  ichiro Corega FEther PCC-TXD works fine.
 1.70  20-Feb-2001  aymeric branches: 1.70.2;
Put the correct ethernet address prefix for the Synergy 21 card.
This reflects reality, although the value is ignored anyway.
 1.69  19-Feb-2001  aymeric Add an entry for the Synergy 21 S21810+
From Stefan Blomen <Stefan.Blomen@gmx.de>
 1.68  12-Feb-2001  thorpej 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.
 1.67  18-Jan-2001  jdolecek constify
 1.66  03-Nov-2000  toddpw Add support for Socket Comm. PC Card Ethernet, and tidy up naming.
 1.65  02-Nov-2000  msaitoh add support:
MELCO LPC2-TX
Telecom Device TCD-HPC100
MACNICA ME1-JEIDA
 1.64  02-Nov-2000  msaitoh 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
 1.63  17-Oct-2000  shin cosmetic change.
 1.62  25-May-2000  mycroft branches: 1.62.4;
Recognize the DE-650 with another vendor/product pair and OUI.
 1.61  23-May-2000  mycroft Recognize more models of the IBM card. From PR 10137.
 1.60  12-Apr-2000  scw 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...
 1.59  20-Mar-2000  tron Add support for RPTI-EP400 PCMCIA network adapter. Patches supplied by
Tim Walls in PR kern/9644.
 1.58  27-Feb-2000  uch Billionton Systems Inc. LNT-10TN card.
 1.57  20-Feb-2000  enami Try other config entry on i/o space alloc failure.
 1.56  14-Feb-2000  enami Put the entry of FNW-3700T after the entry of SVEC-PN650TX
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
 1.55  09-Feb-2000  enami ASIX AX88190 support (Planex FNW-3700-T and Melco LPC3-TX) from FreeBSD/PAO3.
 1.54  09-Feb-2000  enami Support Xircom CompactCard Ethernet CFE-10.
 1.53  09-Feb-2000  enami - 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.
 1.52  02-Feb-2000  itojun handle attach failure in ne/pcmcia more carefully. (otherwise we'll
have trouble on detach)
 1.51  02-Feb-2000  itojun use a bit more standard (sys/device.h) prototype for {dp8390,ne2000}_detach().
 1.50  02-Feb-2000  itojun enami's fix to dp8390 did the trick, it does not hang up any more.
enable detach routine by default.
 1.49  02-Feb-2000  itojun implement if_detach code for ne/pcmcia.
XXX still incomplete, ne_pcmcia_detach() commented out for safery - please test
 1.48  26-Jan-2000  thorpej Add the Linksys Etherfast 10/100. These are currently being rebadged
as the NetGear FA410TX 16-bit PC Card.
 1.47  25-Jan-2000  mycroft 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.
 1.46  25-Jan-2000  mycroft Use the Ethernet vendor ID to differentiate multiple cards with the same
vendor,product pair. (Yuck.)
 1.45  05-Dec-1999  danw add Epson EEN10B ethernet
 1.44  06-Nov-1999  enami branches: 1.44.2;
Support an earlier version of IO-DATA PCLA/T.
 1.43  28-Oct-1999  jun add
SOCKET LOW POWER ETHERNET Compact Flash Card.
 1.42  28-Oct-1999  jun add entry Corega PCC-TX PCMCIA card.
 1.41  28-Oct-1999  jun Sorry backout Patch about COREGA FAST_ETHER_PCC_TX.
 1.40  28-Oct-1999  jun add Corega PCC-TX PCMCIA Card (not CardBus but 100Base-TX) Entry.
 1.39  27-Sep-1999  enami branches: 1.39.2; 1.39.4; 1.39.6;
Support Planex Communications Inc, FNW-3600-T.
 1.38  25-Sep-1999  enami Add support for Corega EthernetII PCC T. This diff is submitted
as PR#8485 by HEO SeonMeyong.
 1.37  09-Sep-1999  is Ambicom support by Vincent Aymeric
 1.36  24-Aug-1999  tron 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.
 1.35  24-May-1999  christos Fix PR/7634 properly, by adding the card to pcmciadevs
 1.34  24-May-1999  augustss SMC 8022 PCMCIA ethercard entry for if_ne_pcmcia.c
From Zdenek Salvet <salvet@ics.muni.cz> in PR 7634.
 1.33  16-Apr-1999  abs Fix enet_vendor entries for Compex Linkport Enet B (PR 7238)
 1.32  09-Apr-1999  abs Fix ethernet address location for Compex Linkport ENET-B. From PR 7238.
 1.31  29-Dec-1998  marc branches: 1.31.2;
added SVEC_LANCARD
 1.30  18-Dec-1998  thorpej Add the Compex Linkport ENET-B Ethernet card, PR #6349, Ingolf Koch.
 1.29  18-Dec-1998  thorpej Add the SVEC/Hawking Tech. Combo card. PR #6461, Rafal Boni.
 1.28  18-Dec-1998  thorpej Add support for the Corega PCC-T Ethernet, PR #6603, Takahiro Kambe.
 1.27  18-Nov-1998  thorpej Now that the *_activate() functions don't do things which are attachment
specific, move them into the chipset drivers.
 1.26  18-Nov-1998  thorpej Move the i/o window unmap and i/o space free into *_detach().
 1.25  17-Nov-1998  thorpej 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.
 1.24  16-Nov-1998  itohy 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.
 1.23  04-Nov-1998  itohy 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.
 1.22  31-Oct-1998  thorpej Add code to detect a RealTek 8019 chip, and use the media selection
support if present.
 1.21  28-Oct-1998  thorpej Add media list, media list count, and default media arguments to
ne2000_attach().
 1.20  07-Oct-1998  jtk update for a broken variant of the Linksys E-CARD
 1.19  23-Sep-1998  veego Reorder the ne2000devs entries. So all PCMCIA_VENDOR_INVALID and/or
PCMCIA_PRODUCT_INVALID entries comes first.
 1.18  20-Sep-1998  dbj Added support for a Dayna Communicard E that probes with a
different product id (0x2f) than the one we had (0x2d)
 1.17  15-Aug-1998  thorpej Add the Trust Combo EthernetCard, from Dante Profeta.
 1.16  15-Aug-1998  thorpej Add support for the D-Link DE-660. From Tero Kivinen <kivinen@ssh.fi>,
PR #5691.
 1.15  19-Jul-1998  christos Add a devlist2h.awk so that we don't sprinkle the same constants over
each device driver file and use it.
 1.14  28-Jun-1998  christos PR/5671: Brett Lymn: Add CIS strings for en2212
 1.13  27-Jun-1998  christos PR/5662: Thilo Manske: Add signature of RPTI EP401 card.
 1.12  09-Jun-1998  thorpej Nuke __BROKEN_INDIRECT_CONFIG.
 1.11  06-Mar-1998  thorpej Add Dayna CommuniCard E, from Havard Eidnes, PR #5120. Also, remove a
few unnecessary/no-longer-completely-accurate comments.
 1.10  13-Feb-1998  enami Move entry for IO-DATA PCLA/T out from comment. Since there may be
two different location for MAC address, just make bus-independent
layer to ask it.
 1.9  31-Dec-1997  enami Don't print newline at beginning of line.
 1.8  18-Dec-1997  perry fix the Linksys Combo EthernetCard (for carrel)
 1.7  30-Nov-1997  drochner fix argument declaration inconsistency in the
non-"__BROKEN_INDIRECT_CONFIG" case
 1.6  20-Nov-1997  thorpej Add support for the D-Link DE-650, from Eric S. Hvozda <hvozda@helios.ack.org>,
PR #4455.
 1.5  02-Nov-1997  thorpej Adjust for ifmedia-related changes to dp8390 driver.
 1.4  19-Oct-1997  enami branches: 1.4.2;
Make `manufacturer' and `product' 32bit wide so that they can contain
both 16bit id values found in card CIS and special value to indicate
that no value found in CIS. Use that special value for the card that
doesn't have id values. Test that value in ne2000_match().
 1.3  18-Oct-1997  enami Pull down changes from branch which is commited to by mistake...

> revision 1.1.2.6
> date: 1997/10/18 10:50:21; author: enami; state: Exp; lines: +2 -2
> In the macro ne2000_match(), use its argument `fct' instead of
> using pa->pf->number directly.
 1.2  16-Oct-1997  thorpej Pull marc-pcmcia branch down from trunk.
 1.1  14-Oct-1997  thorpej branches: 1.1.2;
file if_ne_pcmcia.c was initially added on branch marc-pcmcia.
 1.1.2.6  18-Oct-1997  enami In the macro ne2000_match(), use its argument `fct' instead of
using pa->pf->number directly.
 1.1.2.5  16-Oct-1997  thorpej Copyright/license update.
 1.1.2.4  16-Oct-1997  thorpej Don't establish our interrupt hander at attach time. Instead, establish
it in the enable hook, and disestablish it in the disable hook. This gives
us two wins:

- Allows us to more fairly allocate an interrupt after other
devices which can't do dynamic allocation have hooked up
theirs.

- In the event the default interrupt allocation scheme is bad,
this allows us to bring an interface down, patch a kernel
variable (eventually, run a program that does the right
thing for us) to set up an interrupt allocation scheme suitable
for our laptop model, bring the interface back up, and have
the Right Thing happen.
 1.1.2.3  15-Oct-1997  enami No need to cast a generic pointer.
 1.1.2.2  14-Oct-1997  thorpej Add power management hooks.
 1.1.2.1  14-Oct-1997  thorpej Split off NE2000 support from the ISA "ed" driver, and create a new "ne"
driver that deals with NE2000s and compatibles on ISA, PCI, and PCMCIA
busses.

This driver uses the generic DP8390 core chipset back-end.

NOTE: There are several changes between this driver and the old "ed"
front-end for PCMCIA. Notably, the i/o space allocation strategy has
been changed somewhat to allow this to work with odd host pcmcia bridges.
 1.4.2.3  18-Dec-1997  perry pullup from trunk: fix the Linksys Combo EthernetCard (for carrel)
 1.4.2.2  20-Nov-1997  thorpej Pull up from trunk: Support D-Link DE-650.
 1.4.2.1  05-Nov-1997  thorpej Pullup from trunk: update for ifmedia changes to dp8390.c
 1.31.2.2  19-Apr-1999  perry branches: 1.31.2.2.2;
pullup 1.32->1.33, as requested by David Brownlee to fix pr 7238.
 1.31.2.1  14-Apr-1999  abs Pullup revision 1.32:
Fix ethernet address location for Compex Linkport ENET-B. From PR 7238
 1.31.2.2.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.39.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.39.4.1  15-Nov-1999  fvdl Sync with -current
 1.39.2.4  12-Mar-2001  bouyer Sync with HEAD.
 1.39.2.3  11-Feb-2001  bouyer Sync with HEAD.
 1.39.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.39.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.44.2.2  06-Nov-1999  enami Support an earlier version of IO-DATA PCLA/T.
 1.44.2.1  06-Nov-1999  enami file if_ne_pcmcia.c was added on branch comdex-fall-1999 on 1999-11-06 00:58:33 +0000
 1.62.4.7  14-Feb-2002  he Pull up revisions 1.81,1.85 (via patch, requested by aymeric):
Add support for the following cards:
o Edimax Technology Inc. EP4000A
o Linksys Etherfast clone (Level One)
o Zonet Zen
 1.62.4.6  09-Feb-2002  he Pull up revision 1.87 (requested by haya):
Add support for NEC 9801N-J12 pcmcia card.
 1.62.4.5  16-Jun-2001  he Pull up revision 1.76 (requested by toddpw):
Add support for ``Kingston KNE-PC2 Ethernet'' pcmcia cards.
 1.62.4.4  26-May-2001  he Pull up revision 1.72 (requested by jhawk):
Support the Socket EA pcmcia ethernet cards.
 1.62.4.3  04-Apr-2001  he Pull up revision 1.66 (via patch, requested by toddpw):
Add support for the Socket Communications LP-E Type II PCMCIA
NE2000 clone card.
 1.62.4.2  16-Mar-2001  he Pull up revisions 1.69-1.70 (requested by aymeric):
Add an entry and support for the Synergy 21 S21810+.
 1.62.4.1  05-Nov-2000  tv Pullup 1.64 [msaitoh]:
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
 1.70.2.12  17-Jan-2003  thorpej Sync with HEAD.
 1.70.2.11  18-Oct-2002  nathanw Catch up to -current.
 1.70.2.10  17-Sep-2002  nathanw Catch up to -current.
 1.70.2.9  01-Aug-2002  nathanw Catch up to -current.
 1.70.2.8  20-Jun-2002  nathanw Catch up to -current.
 1.70.2.7  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.70.2.6  28-Feb-2002  nathanw Catch up to -current.
 1.70.2.5  08-Jan-2002  nathanw Catch up to -current.
 1.70.2.4  14-Nov-2001  nathanw Catch up to -current.
 1.70.2.3  22-Oct-2001  nathanw Catch up to -current.
 1.70.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.70.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.78.2.7  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.78.2.6  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.78.2.5  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.78.2.4  11-Feb-2002  jdolecek Sync w/ -current.
 1.78.2.3  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.78.2.2  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.78.2.1  03-Aug-2001  lukem update to -current
 1.90.4.3  29-May-2004  tron Pull up revision 1.113 (requested by is in ticket #1703):
My incarnation of the RPTI 400 card tells 0:0:0:0:0:0 when using the ASIC
to read the Ethernet address. However, as other OS's drivers suggest,
something which looks right is at offset 0x110.
 1.90.4.2  18-Sep-2002  thorpej pullup-1-6 ticket #829, bouyer@antioche.eu.org.

1.95 -> 1.96 syssrc/sys/dev/pcmcia/if_ne_pcmcia.c
1.176 -> 1.177 syssrc/sys/dev/pcmcia/pcmciadevs

Original log message:

Add ACCTON EN2216-PCMCIA-ETHERNET (there seems to be different variants of
the ACCTON EN2216) to pcmciadevs, and support this adapter by if_ne_pcmcia.
Tested by R�mi Zara <remi_zara@mac.com>.
 1.90.4.1  11-Jun-2002  lukem Pull up revision 1.93 (requested by jonathan in ticket #146):
Add support for the D-Link DFE-670TXD pcmcia card.
 1.90.2.2  29-Aug-2002  gehenna catch up with -current.
 1.90.2.1  20-Jun-2002  gehenna catch up with -current.
 1.101.2.9  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.101.2.8  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.101.2.7  04-Feb-2005  skrll Sync with HEAD.
 1.101.2.6  19-Oct-2004  skrll Sync with HEAD
 1.101.2.5  21-Sep-2004  skrll Fix the sync with head I botched.
 1.101.2.4  18-Sep-2004  skrll Sync with HEAD.
 1.101.2.3  25-Aug-2004  skrll Sync with HEAD.
 1.101.2.2  12-Aug-2004  skrll Sync with HEAD.
 1.101.2.1  03-Aug-2004  skrll Sync with HEAD
 1.110.2.4  05-Jul-2004  he Pull up revision 1.115 (requested by mycroft in ticket #602):
Add an entry for the Netgear FA410TX. Fixes PR#20227.
 1.110.2.3  29-May-2004  tron Pull up revision 1.113 (requested by is in ticket #413):
My incarnation of the RPTI 400 card tells 0:0:0:0:0:0 when using the ASIC
to read the Ethernet address. However, as other OS's drivers suggest,
something which looks right is at offset 0x110.
 1.110.2.2  12-May-2004  tron Pull up revision 1.112 (requested by cube in ticket #315):
make it compile (printf # of arg mismatch)
 1.110.2.1  12-May-2004  tron Pull up revision 1.111 (requested by cube in ticket #315):
Add a third possible vendor code for the D-Link DFE670-TXD. While
there, make the `unmatched vendor code' error message slightly more
verbose to make things easier next time this kind of issue arises.
Reported and tested by Pierre-Philipp Braun.
 1.137.6.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.137.6.1  12-Feb-2005  yamt sync with head.
 1.137.4.1  29-Apr-2005  kent sync with -current
 1.140.2.4  17-Mar-2008  yamt sync with head.
 1.140.2.3  27-Oct-2007  yamt sync with head.
 1.140.2.2  30-Dec-2006  yamt sync with head.
 1.140.2.1  21-Jun-2006  yamt sync with head.
 1.141.12.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.141.10.1  19-Apr-2006  elad sync with head.
 1.141.8.3  03-Sep-2006  yamt sync with head.
 1.141.8.2  11-Aug-2006  yamt sync with head
 1.141.8.1  01-Apr-2006  yamt sync with head.
 1.141.6.1  22-Apr-2006  simonb Sync with head.
 1.141.4.1  09-Sep-2006  rpaulo sync with head
 1.142.4.1  13-Jul-2006  gdamore Merge from HEAD.
 1.144.4.2  10-Dec-2006  yamt sync with head.
 1.144.4.1  22-Oct-2006  yamt sync with head
 1.144.2.1  18-Nov-2006  ad Sync with head.
 1.149.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.149.24.2  23-Mar-2008  matt sync with HEAD
 1.149.24.1  06-Nov-2007  matt sync with HEAD
 1.149.22.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.149.8.1  23-Oct-2007  ad Sync with head.
 1.149.2.1  14-Nov-2012  riz Pull up following revision(s) (requested by jnemeth in ticket #1467):
sys/dev/pcmcia/pcmciadevs: revision 1.225
sys/dev/pcmcia/if_ne_pcmcia.c: revision 1.155
add Corega LAPCCTXD FastEthernet
added Corega LAPCCTXT FastEthernet
 1.150.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.150.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.150.12.1  24-Mar-2008  keiichi sync with head.
 1.154.6.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.154.4.3  11-Mar-2010  yamt sync with head
 1.154.4.2  16-Sep-2009  yamt sync with head
 1.154.4.1  04-May-2009  yamt sync with head.
 1.154.2.1  18-May-2008  yamt sync with head.
 1.155.12.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.155.6.1  28-Apr-2009  skrll Sync with HEAD.
 1.158.12.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.158.12.1  17-Apr-2012  yamt sync with head
 1.159.12.1  18-May-2014  rmind sync with head
 1.159.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.160.30.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed