summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ne2000.c
AgeCommit message (Collapse)Author
2022-01-09spellingJonathan Gray
feedback and ok tb@ jmc@ ok ratchov@
2015-11-24You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.Martin Pieuchot
2015-11-24The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.Martin Pieuchot
2010-04-20- Fix a calculation bug with the RX ring buffer memory address whichTheo de Raadt
slipped into the original NetBSD code around sixteen years ago. Although it has been working so far because some devices used address zero and other devices ignored the wrong higher bits. - Remove the mem_ring override in ne2000_attach() now that dp8390_config() calculates mem_ring correctly. From NetBSD, via brad
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2006-11-07- The ASIX AX88796 is an NE2000 compatible ethernet chip, but doesn't seemBrad Smith
to have "remote DMA complete bit" is ISR. So, don't wait for ISR.RDC bit after writing a packet. From bsh@NetBSD - Figure out whether the shared memory region is word-accessible in the same place we figure out its size, and store this in the softc, rather than using a series of comparisons later. From mycroft@NetBSD - support for the NE2000 type AX88790. From Yong-Jhen Hong <yongjhen at alqualonde dot org> via NetBSD Tested by deraadt@ and Adriaan <misc dot adriaan at gmail dot com> ok deraadt@
2006-10-20use the ASIX AX88190 defines from ax88190reg.h and remove someBrad Smith
AX88190 specific defines from ne2000reg.h From NetBSD
2006-10-20remove another chunk of unused NetBSD code.Brad Smith
2006-10-20remove some NetBSD code.Brad Smith
2006-10-20ansiBrad Smith
2006-10-10Add bus_space_barrier.Brad Smith
Add DELAY in some busy loops to allow the DMA engine to actually do something (neccessary on fast processors). From ws@ & mycroft@ NetBSD Testing by deraadt@ nick@, ok deraadt@
2006-07-29Do not redefine ALIGNED_POINTER, it comes from <machine/param.h>Miod Vallat
2006-07-09In ne2000_detect(), temporarily mark the dp8390 subpart as inactive, so thatMiod Vallat
we ignore interrupts; this allows unplugging a card when the probe gets stuck without panicing.
2005-10-22shorten ne(4) dmesg entries from 2-3 lines to 1.Brad Smith
Thanks to Han Boetes for testing on an isapnp card.
2004-01-07amout -> amount; from Pedro Martelletto.Federico G. Schwindt
2003-10-21typos from Tom Cosgrove;Jason McIntyre
Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
2002-03-14First round of __P removal in sysTodd C. Miller
2001-03-29Add MII support to NE2000 PCMCIA driver. Both the Netgear FA410TXC andAaron Campbell
New Media LiveWire Fast Ethernet adapters now work after these changes, although the Netgear card still requires media to be set manually.
2001-03-13The prescence of a DL10019 does not appear to imply a 24k buffer size. AlwaysAaron Campbell
use an 8k buffer for NE1000 cards, 16k otherwise. This is likely sub-optimal, but at least it fixes the D-Link DE660 card, which hasn't worked since last August (and it seems like a fairly common model). fgsch@ ok. Thanks to Felix Kronlage who donated a test card and dongle for me to debug with.
2001-03-12Adjust the way that media is initialized on DP8390-compatibles; from NetBSD.Aaron Campbell
The dp8390_softc now has media_init and media_fini function pointers that do the work. fgsch@ ok
2000-05-30Changes from NetBSD:Federico G. Schwindt
* support for ax88190 * set the memory size based on the ne2k type, changing the number of transmit buffers. * make ne2000_attach return some value so it can be used in pcmcia. * move code for dl10019 to the pcmcia part.
1999-03-26Add support for some 100Mbit PCMCIA cards.Federico G. Schwindt
Change the ne2000_detect parm list.
1998-11-06Support for RealTek 8019 and 8029 NE2000-compatible network interfaces.Federico G. Schwindt
1998-10-14syncFederico G. Schwindt
1998-10-05We really should use our bus.h API, all big-endian users were brokenNiklas Hallqvist
1998-10-05Remove unimportant printf.Federico G. Schwindt
1998-10-04Use swap16 not bswap16 in OpenBSDNiklas Hallqvist
1998-09-22Add the NE[12]00 core driver from NetBSD.Federico G. Schwindt