summaryrefslogtreecommitdiffstats
path: root/sys/dev/de
Commit message (Collapse)AuthorAgeFilesLines
* Silence -Wtrigraph.hoek1998-12-301-2/+2
| | | | Submitted by: Bradley Dunn <bradley@dunn.org> (pr: kern/8817)
* pci_device pd_probe function changed from returning char * to returningdillon1998-12-141-2/+2
| | | | | | const char *. Originally I was going to add casts from const char * to char * in some of the pci device drivers, but the reality is that the pci device probes return constant quoted strings.
* Alias Adaptec as a vendor of Cogent NICs.msmith1998-11-281-1/+2
|
* If this is going to have checks for kernel versions, it might as wellpeter1998-11-062-15/+29
| | | | do it so that it works. This code should run on 2.2.x now.
* Revert part of previous commit. vaddr_t doesn't exist on FreeBSD. Thispeter1998-10-142-6/+6
| | | | | didn't affect the x86 kernel due to #ifdefs. It broke FreeBSD/Alpha kernel compiles though.
* Update from NetBSD if_de.c 1.72 to 1.80. This is mostly bugfixes, andpeter1998-10-132-57/+91
| | | | | | | looks like it will have most effect on decoding device capabilities and configuration. Approved by: jkh
* Attempt to work around the page fault in tulip_txput(). I've been runningpeter1998-10-101-2/+2
| | | | | | | | | this myself for ages, but wasn't able to get any feedback from the people that I sent it to for testing. Guy Helmer <ghelmer@scl.ameslab.gov> has given it a shot (before getting on a plane, thanks!) and it appears to stop his reproducable page fault panic in the testing he was able to do.
* Change #if __FreeBSD__ >= 3 to #if __FreeBSD_version >= 300000 to aidpeter1998-09-241-7/+15
| | | | bootstrapping from a 2.2.x system.
* Port de driver to alpha.dfr1998-09-161-3/+37
|
* Cast pointers to uintptr_t/intptr_t instead of to u_long/long,bde1998-07-151-2/+2
| | | | | | | respectively. Most of the longs should probably have been u_longs, but this changes is just to prevent warnings about casts between pointers and integers of different sizes, not to fix poorly chosen types.
* Merge changes from vendor branch.peter1998-07-081-2/+11
|
* Merge changes from vendor branch;peter1998-06-133-26/+49
| | | | | | | | - connector selection values (should fix aui/bnc), - non-shifting version of crc calculation using a table, - interrupt mask adjustments, - add some brackets where a #ifdef could break an if(), - don't reset the card unless it's up.
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-081-2/+2
| | | | | | | or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* merge benfor branch changes onto mainline.peter1998-03-083-60/+498
|
* Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)julian1998-03-081-1/+3
| | | | | Submitted by: Kirk McKusick (mcKusick@mckusick.com) Obtained from: WHistle development tree
* Removed unused #includes.bde1998-02-201-3/+1
|
* Back out DIAGNOSTIC changes.eivind1998-02-061-2/+1
|
* Turn DIAGNOSTIC into a new-style option.eivind1998-02-041-1/+2
|
* Make INET a proper option.eivind1998-01-081-2/+5
| | | | | | | | | | | | This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>.
* Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.eivind1997-12-151-1/+3
| | | | | | | | The #ifdef IPXIP in netipx/ipx_if.h is OK (used from ipx_usrreq.c and ifconfig.c only). I also fixed a typo IPXTUNNEL -> IPTUNNEL (and #ifdef'ed out the code inside, as it never could have compiled - doh.)
* Ifdefed a conditionally used #include.bde1997-11-221-2/+4
| | | | Staticized.
* Merge 971020 stuff.. Check 21142? SROM CRC.peter1997-11-082-7/+13
|
* Recognize even more of the Znyx 314 cards.phk1997-10-251-2/+2
|
* Add an $Id$peter1997-10-181-0/+1
|
* Merge in changes from Matt. Accton EN12xx support, bugfixes. There ispeter1997-10-182-44/+193
| | | | | | a change that might have an effect on the problems some have seen with older chips, it looks like the driver may have mistakenly thought there was an SIA when there isn't.
* Import Matt's current de driver... He appears to be maintaining it inpeter1997-10-181-7/+27
| | | | | the NetBSD source tree now. This is slightly newer than the updated .tar.gz on the 3am-software web site.
* Attempt to support IPX.peter1997-10-121-1/+22
| | | | | Suggested patch by: Vasily V. Grechishnikov <bazilio@ied-vorstu.ac.ru> (plus cut/paste, whitespace and typo fixes)
* ``oops''. I cut/pasted the original free()'s based on mark's suggestionpeter1997-09-201-4/+4
| | | | | | | | rather than extracting the diff from Mark's patch, but it turns out that I was freeing one allocation twice due to a previous cut/paste braino. My botch, not Mark's. Pointed out by: Mark Valentine <mv@pobox.com>
* Missed a place where the extra descriptor buffers would need to bepeter1997-09-181-1/+3
| | | | | | freed. Submitted by: Mark Valentine <mark@linus.demon.co.uk>
* malloc() the rx and tx descriptors seperately rather than as part of thepeter1997-09-112-2/+17
| | | | | | | | | | | | | | | | | | large (over 4KB) softc struct. The descriptor array is accessed by busmaster dma and must be physically contiguous in memory. malloc() of a block greater than a page is only virtually contiguous, and not necessarily physically contigious. contigmalloc() could do this, but that is a bit on the overkill side. I'm not sure of the origins of the problem report and diagnosis, I learned of the problem via mail forwarded from Jim Shankland <jas@flyingfox.com>. Jim said that Matt Thomas's workaround was to reduce the number of transmit descriptors from 128 to 32, but I was concerned that it might cost performance. Anyway, this change is my fault, not Jim's. :-) Reviewed by: davidg
* Removed unused #includes.bde1997-09-021-16/+1
|
* Merge Matt's if_de.c changes in.peter1997-08-031-286/+546
|
* Import Matt's if_de driver 970703 release. This (apparently) supportspeter1997-08-032-8/+88
| | | | some newer Cogent (Adaptec) cards and has some other internal changes.
* Initial set of patches to get it to compile on >= 3.0. Most of thepeter1997-06-221-2413/+2972
| | | | | | | | changes relative to the 2.2 compatable version are include file related, the new multicast interface (!) and the new PCI interface. This should work "as-is" but has not been tested (I have not been able to get a dc21x4x based card for testing).
* Clean import of Matt Thomas's if_de.c driver as of 970508, rev 1.85. Thepeter1997-06-222-0/+1564
| | | | | | slightly later one with optional if_media will be imported shortly as well. Obtained from: Matt Thomas via http://www.3am-software.com/
* Recognize ZNYX 314 cards that have a MAC address with the low bit set.phk1997-04-051-2/+2
|
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includebde1997-03-241-2/+2
| | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files.
* Added Accton EN1207-TX support.kato1997-03-231-1/+4
|
* Added Allied Telesis CenterCOM LA100-PCI support. Currently, fullkato1997-03-201-1/+5
| | | | duplex mode doesn't work.
* Add support for the SMC9332BDT that's using the DE21140A chip. Thisjoerg1997-02-231-1/+15
| | | | | | | | | is merely a stop-gap measure until we can import an upgraded driver from Matt Thomas. Closes PR # 2696, and most likely also 2767. OKed by: core
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-01-131-58/+52
| | | | | | | previous hackery involving struct in_ifaddr and arpcom. Get rid of the abominable multi_kludge. Update all network interfaces to use the new machanism. Distressingly few Ethernet drivers program the multicast filter properly (assuming the hardware has one, which it usually does).
* Cosmetic code cleanup from Matt's latest driver.rgrimes1996-12-011-279/+313
| | | | | | | | | | | | | | | | | | | | a) Removal of private typedefs tulip_uint*_t, use standard u_int_*_t. b) Change [Dd][Cc]21.4. to just 21.4., seems Dec has done this to all of the drivers for all OS's. (Did they get in trouble with someone?) [The few that remain can either not be eliminated, or are waiting for additional driver functional changes that will remove them.] c) Move some code from dc21040.h into the driver, later a whole block of that code and more will move to devar.h, but for now this makes it easier to study diffs. d) Add a big bold comment to the README.de file about it not reflecting reality anymore. Note that these are all cosmetic changes and should be no functional change in the driver whatsoever. If _anyone_ spots a problem introduced by this please let me know ASAP!
* Put the packet error printf inside #ifdef DIAGNOSTIC.dg1996-11-101-1/+3
|
* Updated #includes to 4.4lite style.bde1996-10-151-2/+2
|
* Implement the 802.3 MIB in a way that uses the generic interfacewollman1996-10-101-3/+17
| | | | defined in if_mib.h.
* Add back shutdown support, this time using the at_shutdown() mechanism.dg1996-09-201-14/+11
|
* Updated driver to a newer version from Matt Thomas, preserving our localdg1996-09-181-476/+667
| | | | | | | changes. This version should fix a number of bugs such as with auto- speed sensing and at least one known panic. Submitted by: Matt Thomas (matt@3am-software.com)
OpenPOWER on IntegriCloud