| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok jsg@
|
|
|
|
|
|
|
| |
Note that pseudo-drivers not using if_input() are not affected by this
conversion.
ok mikeb@, kettenis@, claudio@, dlg@
|
|
|
|
| |
ok dlg@
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
| |
|
|
|
|
| |
ok dlg@
|
| |
|
|
|
|
|
| |
don't have to. Just remove these include lines.
Compiled on amd64 i386 sparc64; OK henning@ mikeb@
|
|
|
|
| |
ok deraadt@ henning@ claudio@
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
we now know the interface has already been stopped
|
|
|
|
|
|
|
| |
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by..
RAMDISK - 2176 bytes
RAMDISKB - 1504 bytes
RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users.
Build tested on almost all archs by todd@/brad@
ok naddy@
|
|
|
|
|
|
|
|
| |
Found by LLVM/Clang Static Analyzer.
initial patch from me, rewritten by jsing@
ok jsg@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
| |
|
|
|
|
|
| |
do multiple inserts/detaches as well.
ok jsing@
|
|
|
|
|
| |
turned out to be not calling pci_intr_disestablish() from jsing@
ok jsing@
|
|
|
|
|
|
| |
From DragonFly
ok dlg@
|
|
|
|
|
|
| |
suggested by dlg@ awhile ago.
ok dlg@
|
|
|
|
|
|
| |
No functional change.
ok dlg@
|
|
|
|
|
|
| |
- set the IFCAP_VLAN_MTU capabilities flag.
ok dlg@
|
|
|
|
|
| |
each 128 packets or call et_txeof after 1 second whichever happens first.
looks good jsg@
|
|
|
|
|
| |
solve the watchdog timeouts seen when single packets are sent out.
OK jsg@
|
|
|
|
| |
ok claudio@
|
|
|
|
|
| |
This makes et(4) work and as ususal this is commited over et(4) to prove
that it is usuable. with and ok jsg@
|
|
for Agere/LSI ET1310 Ethernet devices and ET1011 'TruePHY'.
All the gross register related bit macros are not yet removed.
Currently only Tx seems to work. Putting this in the
tree in case someone else wants to look at it while
I deal with exams for the next few weeks.
|