Age | Commit message (Collapse) | Author |
|
Fixes clicking and other noise related issues.
ok ratchov@
|
|
from NetBSD via Alexey Suslikov, thanks
"looks good" ratchov@
|
|
|
|
|
|
|
|
them wrong in several cases that i've noticed and Merging when needed is
still fairly simple, anyway. This shaves another 500 bytes from an amd64
kernel due to not having to flip the sign on some things. It also stops
my eyes bleeding.
Tested by a few along with the last diff that went in.
|
|
filling in a pre-allocated one on each attach.
Makes the code a bunch nicer, shrinks a kernel by about 1.5k on amd64,
helps with my sanity, and paves way for later changes.
Tested by a few for a couple of weeks now.
|
|
the MAC address registers. In most cases these already have the correct
MAC address. This should address PR5743. Thanks to Rodolfo Gouveia for
testing earlier diffs.
ok dlg@
|
|
|
|
|
|
|
|
|
|
if so.
|
|
change. Prevents us from getting stuck in LINK_STATE_UNKNOWN. Fixes PR 5914.
tested by deraadt@, sthen@
ok deraadt@
|
|
|
|
|
|
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch case.
Thus allowing drivers to define their own ioctl handlers and then
falling back on ether_ioctl(). The only functional change this results
in at the moment is having all Ethernet drivers returning the proper
errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown
ioctl's.
Shrinks the i386 kernels by..
RAMDISK - 1024 bytes
RAMDISKB - 1120 bytes
RAMDISKC - 832 bytes
Tested by martin@/jsing@/todd@/brad@
Build tested on almost all archs by todd@/brad@
ok jsing@
|
|
256 buffer descriptors, and the 256th descriptor is flakey. this
driver uses one descriptor for each block of the buffer, so we need
to make sure buffer size / block size < 256, or we will run out of
usable descriptors.
lets me play youtube videos via gnash on my auvia equipped machine.
ok ratchov@
|
|
appears the machine Mark got had a disk which failed very soon after
that
ok kettenis
|
|
serial ports.
|
|
|
|
Communications Controller) found on IBM SurePOS 300 series.
|
|
|
|
actually compile again (no one's tested it yet, still and I don't have
one).
|
|
here rework it a little bit to remove a shadowed variable.
|
|
|
|
|
|
Tested on ASUS P5E-VM DO motherboard.
ok oga
|
|
and JMicron JMP202/JMP211 Ethernet PHYs.
Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau and then ported to OpenBSD by me.
Thanks once again to JMicron for supplying hardware and
information which made this possible.
Some cleanup still needs to be done, and checksum offload
needs to be sorted out, but the driver otherwise seems
to work great. Comitted over a JMC250 card.
|
|
Found by LLVM/Clang Static Analyzer.
ok jakemsr@
|
|
Found by LLVM/Clang Static Analyzer.
ok brad@
|
|
Found by LLVM/Clang Static Analyzer.
ok brad@ krw@
|
|
Found by LLVM/Clang Static Analyzer.
ok claudio@
|
|
Found by LLVM/Clang Static Analyzer.
ok henning@ brad@
|
|
Found by LLVM/Clang Static Analyzer.
ok ratchov@
|
|
If the RX path runs into an out of mbuf scenario, the code
will leave the RX chain with a NULL'd mbuf-slot.
We now always reassign a valid mbuf, even if m_devget() fails.
OK brad@, thib@
|
|
code. No functional change.
ok krw@
|
|
|
|
|
|
Based on a diff from Robert <robert at openbsd dot pap dot st>
|
|
While there, fix a bounds checking error in azalia_[gs]et_port().
ok deanna@ ratchov@
|
|
|
|
|
|
|
|
- Add some more Intel ICH9 product id's.
Most of the Intel product id's are from
Robert <robert at openbsd dot pap dot st>
|
|
stripping: Add a field to the mbuf pkthdr to hold the tag and an
mbuf flag that tells if the tag is valid. Inspired by FreeBSD.
Struct packing suggested by kettenis@. csum_flags is now 16 bits.
Adapt to this in the drivers.
ok reyk@, henning@
|
|
held a lock over all driver ioctls in order to be ``mpsafe''. Stop lying
to ourselves for a start. This code is not fully mpsafe, and should not
pretend to be so. Put the locking around where it should, and rely on
biglock for the rest. This will need to be fixed, but avoids some of the
horrible that we have right now.
Tested by many over a long time and several iterations.
|
|
Found by LLVM/Clang Static Analyzer.
ok claudio@
|
|
|
|
|