| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and
grows struct ifmediareq.
Old ifconfig and dhclient binaries can still assign addresses, however
the 'media' subcommand stops working. Recompiling ifconfig and dhclient
with new headers before a reboot should not be necessary unless in very
special circumstances where non-default media settings must be used to
get link and console access is not available.
There may be some MD fallout but that will be cleared up later.
ok deraadt miod
with help and suggestions from several sharks attending l2k15
|
|
|
|
|
|
|
| |
Note that pseudo-drivers not using if_input() are not affected by this
conversion.
ok mikeb@, kettenis@, claudio@, dlg@
|
| |
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
| |
additional register was erroneously added in the MAC register set
such that 7 TX statistics counters were wrong.
From FreeBSD
ok mikeb@
|
|
|
|
| |
to include that than rdnvar.h. ok deraadt dlg
|
| |
|
|
|
|
|
| |
drivers) activate functions at DVACT_RESUME time do not need to do
so, since their PHYs are repaired by IFF_UP.
|
|
|
|
|
|
|
|
| |
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
| |
don't have to. Just remove these include lines.
Compiled on amd64 i386 sparc64; OK henning@ mikeb@
|
|
|
|
|
|
| |
necessarily correct, there might not even be a link when attaching.
ok mikeb@ reyk@
|
|
|
|
|
|
|
|
|
| |
the FreeBSD code.
age(4) tested by Thomas Pfaff; alc(4) tested by Gabriel Linder;
ale(4) tested by Johan Torin.
From Brad
|
|
|
|
|
|
| |
better. No functional change.
From Brad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unnecessary nsegs variable from alc_encap() and
use map->dm_nsegs. Also remove unnecessary FreeBSD check
for 0 DMA segments check.
- Remove printfs in alc_encap() failure paths that shouldn't
be there.
- Add missing IF_PREPEND() from failure path coming off of
alc_encap() within alc_start().
- Fix error handling within alc_encap(). Previously alc_encap()
was attempting to unload a DMA map upon failure from
bus_dmamap_load_mbuf() even though one wasn't loaded at that
point and then always forcing mbufs through the EFBIG path.
Tested by Gabriel Linder.
From Brad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
detects no established link and it will re-establish link when the
cable is plugged in. Previously it failed to re-establish link
when the cable was plugged in such that it required turning the
interface down and then up to make it work. This was caused by
incorrectly programmed hibernation parameters. Further details
regarding PHY setup are necessary to be able to re-enable this
feature.
Tested by Matteo Filippetto and Gabriel Linder
From FreeBSD via Brad
|
|
|
|
|
|
| |
chunk to where it should be.
From Brad
|
|
|
|
|
|
|
| |
the alc(4) NIC while running or the NIC not working if the cable is
not plugged in upon boot up.
From Brad; tested by matteo filippetto, Gabriel Linder and edd@
|
|
|
|
|
|
| |
Abel Abraham Camarillo Ojeda.
From Brad
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
capability to mii(4).
- Limit DMA burst size to be less than or equal to 1024 bytes.
Controller does not seem to support more than 1024 bytes DMA burst.
- Do not touch CMB TX threshold register when CMB is not used.
From FreeBSD via Brad
- Properly initialize sc_product and alc_rev early enough in
alc_attach() with the PCI product id and PCI revision.
- Further sync if_alcvar.h changes from FreeBSD for L2C/L1D
addition commit which in OpenBSD has been merged into if_alcreg.h
From Brad; tested by Gabriel Linder and edd@.
|
|
|
|
|
|
| |
Tested on L1C by Abel Abraham Camarillo Ojeda, thank you.
From FreeBSD via kevlo@, ok jsg@
|
|
|
|
| |
ok claudio krw
|
|
|
|
| |
tested by Gabriel Linder, ok kevlo, miod
|
|
|
|
|
| |
- "could not disable Rx/Tx MAC" from FreeBSD
- "could not disable RxQ/TxQ" from Gabriel Linder
|
|
|
|
|
|
|
|
| |
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations
to get ready.
Discussed quite a while back with kettenis and jakemsr, oga suddenly needed
it as well and wrote half of it, so it was time to finish it.
proofread by miod.
|
|
|
|
| |
ok deraadt@ henning@ claudio@
|
|
|
|
| |
this let me know.
|
| |
|
|
|
|
|
|
| |
when computing multicast hash.
From Brad via FreeBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with m_tag_copy_chain() failures.
Use m_defrag() to eliminate hand rolled defragging of mbufs and
some uses of M_DUP_PKTHDR().
Original diff from thib@, claudio@'s feedback integrated by me.
Tests kevlo@ claudio@, "reads ok" blambert@
ok thib@ claudio@, "m_defrag() bits ok" kettenis@
|
|
this driver was written by Pyun YongHyeon from FreeBSD.
"go ahead" deraadt@
|