summaryrefslogtreecommitdiffstats
path: root/sys/dev/de
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Remove devconf, it never grew up to be of any use.phk1996-09-061-11/+7
|
* Use ether_ioctl() to do a lot of grunt work.phk1996-08-061-47/+6
|
* Updated this driver to a newer version from Matt. This should fix severaldg1996-06-141-664/+2352
| | | | | | bugs related to support of dc21041 chips and other problems. Submitted by: Matt Thomas <matt@3am-software.com>
* Let the user know what errors are experienced on received packets.wollman1996-05-211-2/+13
| | | | | | | | I spent the better part of a day trying to figure out why my experiment didn't work the way I expected, only to find out that the router was dropping huge numbers of packets because of PCI bus priblems. This does not fix the bug that errors are counted as input packets because my patch doesn't apply cleanly.
* Another sweep over the pmap/vm macros, this time with more focus onphk1996-05-031-2/+2
| | | | | the usage. I'm not satisfied with the naming, but now at least there is less bogus stuff around.
* removed:phk1996-05-021-3/+3
| | | | | | | | | CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei() ptei() kvtopte() ptetov() ispt() ptetoav() &c &c new: NPDEPG Major macro cleanup.
* Eliminate reference to ac_ipaddr in FreeBSD case.fenner1996-03-231-2/+2
|
* Clean up Ethernet drivers:wollman1996-02-061-8/+7
| | | | | | | | - fill in and use ifp->if_softc - use if_bpf rather than private cookie variables - change bpf interface to take advantage of this - call ether_ifattach() directly from Ethernet drivers - delete kludge in if_attach() that did this indirectly
* The last part of the ether_sprint -> %6D change.phk1996-01-261-3/+3
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Make PCI interrupt handlers return void like everybody else does.se1996-01-231-3/+2
| | | | Reviewed by: davidg
* Another mega commit to staticize things.phk1995-12-141-2/+2
|
* Untangled the vm.h include file spaghetti.dg1995-12-071-2/+3
|
* 'see" -> "see" (in the comment).asami1995-11-291-2/+2
| | | | Noticed by: hilit19.el (stop laughing! ;)
* Set flag to stop backoff counter from counting when carrier activity isdg1995-11-171-8/+14
| | | | | | | detected. This dramatically reduces the collision rate (about 1/10th of what is was previously). Submitted by: Matt Thomas <matt@lkg.dec.com>
* statizice some internal magic.phk1995-11-141-2/+2
|
* From Matt Thomas:dg1995-10-261-2/+3
| | | | | | | | "I screwed the initialization of the burstsize. Right now it will default to 0 (which can cause corruption problems on high latency PCI buses). It should be set to 8 longwords to avoid problems with certain PCI chipsets." Submitted by: Matt Thomas <matt@lkg.dec.com>
* Say goodbye to IFF_NOTRAILERS. Support for trailers was officiallywollman1995-10-131-2/+2
| | | | | dropped for 4.4, but for some reason this flag lived on. (Until today, that is.)
* Add SIOCGIFADDR support.dg1995-10-071-1/+7
|
* Check for failure to map the interrupt. Not doing so will guarantee thatdg1995-10-021-3/+8
| | | | the machine will wedge later.
* Latest version from Matt Thomas. This version works with the newerdg1995-09-291-229/+888
| | | | | | DC21041 NICs and with ZNYX cards. Submitted by: Matt Thomas
* Fixed bug that was fixed in 1.28.2.1/1.29 a little differently; thedg1995-06-281-4/+5
| | | | | | difference is more or less cosmetic. Submitted by: Matt Thomas
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-25/+25
|
* Fixed bugs in multicast address handling (flag was set in wrong register,dg1995-05-261-266/+427
| | | | | | | | | | | etc.). The tulip_start routine was rewritten to use less stack space (I've been having problems with wcarchive overflowing the stack and this should help a little). This version also has preliminary NetBSD support. Rod Grimes helped in testing this version of the driver. Thanks Rod. It's additionally been extensively tested here and on wcarchive. Submitted by: Matt Thomas
* There are two serious bugs in if_de.c. The first should not matterdg1995-05-221-3/+4
| | | | | | | | | | to most users (the wrong length is passed to ether_input). The second is more serious. The multicast hash algorithm uses the wrong (low) bits instead of the right (high) bits. This is only an issue if you use >12 multicast addresses but if you are using IP multicast then it might affect you... Submitted by: Matt Thomas
* Fixed bug in bpf/multicast support that caused multicast packets to getdg1995-05-221-7/+5
| | | | | | | | thrown out if bpfilter support and no BPF listener. (submitted by Bill Fenner) Removed unused variable and changed another from a stack variable to a static - the variable was a rather large array of structs that consumed a lot of stack space. (me)
* Fixed mbuf leak and panic that occurred when packets got too memorydg1995-05-051-99/+313
| | | | | | | | | fragmented. Added support for Cogent em100 boards. Fixed bug that caused BPF to toggle the card to UTP. Various other improvements. Submitted by: Matt Thomas and David Greenman
* Matt says that no pre-2.3 pass boards were supposed to ship, but I certainlyjkh1995-04-181-3/+3
| | | | | | | got a 2.2 version DC21040 chip in my SMC ethernet card! He suggests bumping the check all the way down to 2.0 since it's pre-2.0 we're actually guarding against. Submitted by: Matt Thomas <matt@lkg.dec.com>
* Changed minimum supported rev of DC21040 to pass 2.2.dg1995-04-171-3/+3
|
* Various changes from Matt Thomas to improve media selection and fixdg1995-04-131-98/+228
| | | | support for the DC21140.
* From Matt Thomas: Added support for 100Mb cards (such as the DEC DE-500-XAdg1995-04-091-134/+321
| | | | and SMC 9332).
* Cosmetic changes.se1995-03-211-6/+6
| | | | Submitted by: Wolfgang Stnglmeier <wolf@kintaro.cologne.de>
* Added a new field to the pci_device struct called pd_shutdown to specifydg1995-03-171-1/+20
| | | | | | | a device specific shutdown routine for devconf. Assign the value of this to the kern_devconf struct. Implement a device shutdown routine for if_de that disables the device. This will stop the device from corrupting memory after a reboot.
* Prepare for shared interrupts (required by the new PCI code that addsse1995-03-161-2/+6
| | | | | | support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards). Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
* Turn on "Capture Effect" avoidence. This modifies the collision algorithmdg1995-02-101-1/+2
| | | | | | | so that the interface won't have the effect of blocking other senders during bulk transfers (i.e. hogging the ethernet). It improves performance in all of my tests by reducing collisions and I believe it to be a Good Thing.
* Reapplied all of Stefan's changes. What a mess - the files were modifieddg1995-02-021-4/+11
| | | | | and moved at the same time. This made it *very* difficult to fix the revision log lossage that happend when the files were moved. SIGH.
* Fixed up include paths after copying these in the repository.dg1995-02-021-3/+3
|
* Restore my changes in rev 1.11 that Garrett killed in his commit.dg1994-12-221-2/+2
|
* Move ARP interface initialization into if_ether.c:arp_ifinit().wollman1994-12-221-2/+2
|
* Unbogify the size being passed to bzero when clearing struct softc.dg1994-12-181-2/+2
|
* The physical memory allocated for input DMA must be contiguous. The driverdg1994-12-111-3/+3
| | | | | | | worked in the past only because of good fortune. Anyway, use the contig alloc routine I wrote awhile ago (vm_page_alloc_contig) for the sound code to do this allocation. Also, specify read+write on the permissions to pmap_enter(). Specifying just read can have unexpected consquences.
* Fix bug I introduced that broke BPF support. Caused by a byte order problemdg1994-11-301-3/+1
| | | | | in an if () expression. Problem fixed by removing the test for ETHERTYPE_* before passing packet to higher layers.
* Moved conversion of ether_type to host byte order out of ethernet driversdg1994-11-241-2/+1
| | | | | | and into ether_input(). It was silly to have bpf want this one way and ether_input want it another way. Ripped out trailer support from the few remaining drivers that still had it.
* Bunch of fixes from Matt Thomas:dg1994-11-221-43/+61
| | | | | | | | | | | | | | 1) make #includes correct 2) fix bugs in address check macros 3) fixed bugs in, and enabled, recopy if heavily fragmented code 4) moved call to bpf tap to be before enqueing packet (probably gratuitous) 5) fixed bug that caused "abnormal interrupt" at boot time/first use 6) added support for reading Zynx address ROM 7) fixed bug that caused broadcasts to not work shortly after booting (only manifested if not using multicast - e.g. not in FreeBSD 2.0) 8) fixed spelling errors in comments Submitted by: Matt Thomas
* Added support for SIOCSIFMTU ioctl. Fixed bug that caused panic at boot timedg1994-11-131-5/+16
| | | | | related to interrupts being enabled before the device attach. The interrupt should be mapped *after* the device attach.
* Added missing call to bpf on the transmit side. Nuked revision log.dg1994-11-101-30/+5
|
OpenPOWER on IntegriCloud