aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/de
Commit message (Collapse)AuthorAgeFilesLines
...
* Unifdef -U__NetBSD__Peter Wemm1999-08-092-258/+1
| | | | Notes: svn path=/head/; revision=49566
* Unifdef -U__bsdi__Peter Wemm1999-08-092-305/+4
| | | | Notes: svn path=/head/; revision=49563
* s/Id/FreeBSD/Peter Wemm1999-08-093-3/+6
| | | | Notes: svn path=/head/; revision=49562
* Strip __FreeBSD_version >= 300000 conditionals.Peter Wemm1999-08-092-32/+9
| | | | Notes: svn path=/head/; revision=49561
* Merge changes from NetBSD rev 1.82 -> 1.86 via vendor branch.Peter Wemm1999-08-091-15/+102
| | | | | | | Among the changes: 1.84: support compex 4-port cards. Notes: svn path=/head/; revision=49560
* s/TULUP/TULIP/ - from vendor branch.Peter Wemm1999-08-081-3/+3
| | | | Notes: svn path=/head/; revision=49541
* Rename bpfilter to bpf.Dag-Erling Smørgrav1999-07-062-9/+9
| | | | Notes: svn path=/head/; revision=48645
* Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entirePeter Wemm1999-07-031-4/+1
| | | | | | | files. config will leave the whole file out if configured to do so. Notes: svn path=/head/; revision=48528
* Forgotten in previous commit:Andrew Gallatin1999-05-261-2/+2
| | | | | | | | | | | | Allow chipset drivers to specify the direct-mapped DMA window's mask in preparation for tsunami support. Previous chipsets' direct-mapped DMA mask was always 1024*1024*1024. The Tsunami chipset needs it to be 2*1024*1024*1024 Reviewed by: Doug Rabson <dfr@nlsystems.com> Notes: svn path=/head/; revision=47530
* #include "pci.h" for the build dir, not <pci.h>Peter Wemm1999-05-101-2/+2
| | | | Notes: svn path=/head/; revision=46896
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:Peter Wemm1999-05-091-5/+1
| | | | | | | | | | | #define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.) Notes: svn path=/head/; revision=46813
* Changes to support diskless booting on the alpha:Doug Rabson1999-05-031-5/+5
| | | | | | | | | | | | | | | * Make the network code in the bootstrap more chatty (helps debugging) * Add nfs root stuff to cpu_rootconf(). I also added a check to make sure it really was netbooting which allows the use of the same kernel for local and network boots. * Tweak the de driver so that it takes the speed setting from the console for the alpha (some PWSs have broken de chipsets). This is the same behaviour as NetBSD/alpha. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> Notes: svn path=/head/; revision=46356
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tPeter Wemm1999-04-241-1/+5
| | | | | | | hurt the driver portability to 3.x too much for where drivers are shared. Notes: svn path=/head/; revision=46024
* MF22... add bridging support to the device drivers. Without thisLuigi Rizzo1999-03-171-1/+22
| | | | | | | bridging cannot work on -current/releng3! Notes: svn path=/head/; revision=44829
* Merge NetBSD 1.80->1.82 changes from vendor branch into mainline.Peter Wemm1999-03-141-18/+20
| | | | Notes: svn path=/head/; revision=44738
* set if_snd.ifq_maxlen to something reasonable - note that if_de.c hasPeter Wemm1999-03-131-1/+5
| | | | | | | | | | a wierd double-queue arrangement.. It always empties the if_snd queue then puts the transmit packets into a different queue that is limited by the number of TX descriptors and does it's own discards... This should stop the boot-time XXX warning anyway. Notes: svn path=/head/; revision=44719
* Fix handling of IFF_ALLMULTI. The code did not callLuigi Rizzo1999-03-011-2/+4
| | | | | | | | | tulip_addr_filter() on SIOCSIFFLAGS, and was nuking the IFF_ALLMULTI on entering tulip_addr_filter(). As a result it was impossible to run a multicast router on a machine with a "de" interface. Notes: svn path=/head/; revision=44377
* Removed a bogus cast to v_caddr_t. This is part of terminatingBruce Evans1999-01-291-2/+2
| | | | | | | | | | v_caddr_t with extreme prejudice. Here the bogons were originally the same as for c_caddr_t (half-baked K&R support), but rev.1.95 changed one wrong cast and one harmless cast to 2 wrong casts, and rev.1.96 only fixed the originally wrong cast. Notes: svn path=/head/; revision=43391
* Removed bogus casts to c_caddr_t. This is part of terminatingBruce Evans1999-01-291-4/+3
| | | | | | | | | c_caddr_t with extreme prejudice. Here the original casts to caddr_t were to support K&R compilers (or missing prototypes), but the relevant source files require an ANSI compiler. Notes: svn path=/head/; revision=43386
* Fix warnings related to -Wall -Wcast-qualMatthew Dillon1999-01-281-2/+2
| | | | Notes: svn path=/head/; revision=43351
* Fix warnings in preparation for adding -Wall -Wcast-qual to theMatthew Dillon1999-01-281-2/+2
| | | | | | | kernel compile Notes: svn path=/head/; revision=43311
* Fix warnings in preparation for adding -Wall -Wcast-qual to theMatthew Dillon1999-01-271-5/+5
| | | | | | | | | | kernel compile. This commit includes significant work to proper handle const arguments for the DDB symbol routines. Notes: svn path=/head/; revision=43309
* Silence -Wtrigraph.Tim Vanderhoek1998-12-301-2/+2
| | | | | | | Submitted by: Bradley Dunn <bradley@dunn.org> (pr: kern/8817) Notes: svn path=/head/; revision=42155
* pci_device pd_probe function changed from returning char * to returningMatthew Dillon1998-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. Notes: svn path=/head/; revision=41766
* Alias Adaptec as a vendor of Cogent NICs.Mike Smith1998-11-281-1/+2
| | | | Notes: svn path=/head/; revision=41377
* If this is going to have checks for kernel versions, it might as wellPeter Wemm1998-11-062-15/+29
| | | | | | | do it so that it works. This code should run on 2.2.x now. Notes: svn path=/head/; revision=40944
* Revert part of previous commit. vaddr_t doesn't exist on FreeBSD. ThisPeter Wemm1998-10-142-6/+6
| | | | | | | | didn't affect the x86 kernel due to #ifdefs. It broke FreeBSD/Alpha kernel compiles though. Notes: svn path=/head/; revision=40339
* Update from NetBSD if_de.c 1.72 to 1.80. This is mostly bugfixes, andPeter Wemm1998-10-132-57/+91
| | | | | | | | | | looks like it will have most effect on decoding device capabilities and configuration. Approved by: jkh Notes: svn path=/head/; revision=40290
* Attempt to work around the page fault in tulip_txput(). I've been runningPeter Wemm1998-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. Notes: svn path=/head/; revision=40163
* Change #if __FreeBSD__ >= 3 to #if __FreeBSD_version >= 300000 to aidPeter Wemm1998-09-241-7/+15
| | | | | | | bootstrapping from a 2.2.x system. Notes: svn path=/head/; revision=39621
* Port de driver to alpha.Doug Rabson1998-09-161-3/+37
| | | | Notes: svn path=/head/; revision=39345
* Cast pointers to uintptr_t/intptr_t instead of to u_long/long,Bruce Evans1998-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. Notes: svn path=/head/; revision=37649
* Merge changes from vendor branch.Peter Wemm1998-07-081-2/+11
| | | | Notes: svn path=/head/; revision=37492
* Merge changes from vendor branch;Peter Wemm1998-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. Notes: svn path=/head/; revision=36945
* Fixed pedantic semantics errors (bitfields not of type int, signed intBruce Evans1998-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)). Notes: svn path=/head/; revision=36767
* This commit fixes various 64bit portability problems required forDoug Rabson1998-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. Notes: svn path=/head/; revision=36735
* merge benfor branch changes onto mainline.Peter Wemm1998-03-083-60/+498
| | | | Notes: svn path=/head/; revision=34317
* Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)Julian Elischer1998-03-081-1/+3
| | | | | | | | Submitted by: Kirk McKusick (mcKusick@mckusick.com) Obtained from: WHistle development tree Notes: svn path=/head/; revision=34266
* Removed unused #includes.Bruce Evans1998-02-201-3/+1
| | | | Notes: svn path=/head/; revision=33676
* Back out DIAGNOSTIC changes.Eivind Eklund1998-02-061-2/+1
| | | | Notes: svn path=/head/; revision=33134
* Turn DIAGNOSTIC into a new-style option.Eivind Eklund1998-02-041-1/+2
| | | | Notes: svn path=/head/; revision=33108
* Make INET a proper option.Eivind Eklund1998-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>. Notes: svn path=/head/; revision=32350
* Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.Eivind Eklund1997-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.) Notes: svn path=/head/; revision=31742
* Ifdefed a conditionally used #include.Bruce Evans1997-11-221-2/+4
| | | | | | | Staticized. Notes: svn path=/head/; revision=31350
* Merge 971020 stuff.. Check 21142? SROM CRC.Peter Wemm1997-11-082-7/+13
| | | | Notes: svn path=/head/; revision=31041
* Recognize even more of the Znyx 314 cards.Poul-Henning Kamp1997-10-251-2/+2
| | | | Notes: svn path=/head/; revision=30706
* Add an $Id$Peter Wemm1997-10-181-0/+1
| | | | Notes: svn path=/head/; revision=30557
* Merge in changes from Matt. Accton EN12xx support, bugfixes. There isPeter Wemm1997-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. Notes: svn path=/head/; revision=30556
* Import Matt's current de driver... He appears to be maintaining it inPeter Wemm1997-10-181-7/+27
| | | | | | | | the NetBSD source tree now. This is slightly newer than the updated .tar.gz on the 3am-software web site. Notes: svn path=/head/; revision=30549
* Attempt to support IPX.Peter Wemm1997-10-121-1/+22
| | | | | | | | Suggested patch by: Vasily V. Grechishnikov <bazilio@ied-vorstu.ac.ru> (plus cut/paste, whitespace and typo fixes) Notes: svn path=/head/; revision=30342