| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
defined in if_mib.h.
|
| |
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
|
|
| |
bugs related to support of dc21041 chips and other problems.
Submitted by: Matt Thomas <matt@3am-software.com>
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
the usage. I'm not satisfied with the naming, but now at least there is
less bogus stuff around.
|
|
|
|
|
|
|
|
|
| |
CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei()
ptei() kvtopte() ptetov() ispt() ptetoav() &c &c
new:
NPDEPG
Major macro cleanup.
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
Sorry for the delay.
(%D is for hexdumping.)
|
|
|
|
| |
Reviewed by: davidg
|
| |
|
| |
|
|
|
|
| |
Noticed by: hilit19.el (stop laughing! ;)
|
|
|
|
|
|
|
| |
detected. This dramatically reduces the collision rate (about 1/10th of
what is was previously).
Submitted by: Matt Thomas <matt@lkg.dec.com>
|
| |
|
|
|
|
|
|
|
|
| |
"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>
|
|
|
|
|
| |
dropped for 4.4, but for some reason this flag lived on. (Until
today, that is.)
|
| |
|
|
|
|
| |
the machine will wedge later.
|
|
|
|
|
|
| |
DC21041 NICs and with ZNYX cards.
Submitted by: Matt Thomas
|
|
|
|
|
|
| |
difference is more or less cosmetic.
Submitted by: Matt Thomas
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
support for the DC21140.
|
|
|
|
| |
and SMC 9332).
|
|
|
|
| |
Submitted by: Wolfgang Stnglmeier <wolf@kintaro.cologne.de>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
in an if () expression. Problem fixed by removing the test for ETHERTYPE_*
before passing packet to higher layers.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
related to interrupts being enabled before the device attach. The interrupt
should be mapped *after* the device attach.
|
| |
|