Age | Commit message (Collapse) | Author |
|
ok miod@ mpi@
|
|
|
|
ok pelikan@, henning@
|
|
of tulip_ifstart if the sendqueue was empty, but only if altq wasn't
compiled in (i. e., that's a _compile time_ decision and not based on
wether altq was actually used).
just use tulip_ifstart all the time, as before in our regular kernels.
kill tulip_ifstart_one completely.
makes sense to sthen
|
|
entries to decide if the IFF_ALLMULTI flag should be set, check if there
is at least one real range between them.
This should not change the behavior of any driver but if you encounter
any problem, feel free to revert the offending chunk and ping me about
it.
ok naddy@, dlg@
|
|
don't have to. Just remove these include lines.
Compiled on amd64 i386 sparc64; OK henning@ mikeb@
|
|
by making tulip_txput() aware of whether or not the mbuf it is processing
is in if_snq or not, rather than abusing the TULIP_TXPROBE_ACTIVE flag.
Found the hard way by kurt@, tested on AlphaServer 1000A, I've been sleeping
on this diff for about 3 years.
|
|
with this nothing in the tree fiddles if ifqueue internals any more, of
course except if.c and if.h (and some altq)
|
|
|
|
ok claudio@
|
|
take all interfaces down, via their xxstop routines. Claudio and I have
verified that none of the shutdown hooks do much extra beyond what xxstop
was already doing; it is largely a pile of junk.
ok claudio, some early comments by sthen; also read by matthew, jsg
|
|
|
|
|
|
ok dlg@
|
|
tidy up allocation of receive DMA maps. Previously the driver was
using DMA maps off the free list without fully allocating them, in
order to save two or three lines releasing them on error paths.
This was causing it to reuse a map already in use when under load.
From NetBSD.
Revert a workaround against a NULL pointer dereference on alpha
when invoking bus_dmaamp_sync.
All submitted by Brad.
|
|
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@
|
|
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@
|
|
invoking bus_dmaamp_sync, until the cause of the problem is found.
ok deraadt@
|
|
struct.
ok dlg@
|
|
ok kettenis@ cloder@ tom@ henning@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
outbound), using a new BIOCSDIRFILT ioctl;
guidance, feedback and ok canacar@
|
|
From NetBSD
tested on i386/alpha.
ok martin@ krw@
|
|
|
|
|
|
|
|
|
|
|
|
- move timeout_set() from tulip_attach() to tulip_pci_attach()
- free -> freedescs in tulip_txput()
- remove duplicate flag setting in tulip_2114x_media_preset()
TULIP_MEDIA_10BASET_FD switch case
- some cleaning
reduces the delta from the NetBSD driver
|
|
From NetBSD rev 1.67 and verified to still be there in -current.
|
|
From thorpej NetBSD
ok krw@ martin@
|
|
ok martin@
|
|
- remove more unused code
- remove some of the macros to make this more readable
ok krw@
|
|
ok krw@ martin@
|
|
pcisubmatch(); kettenis@ testing; brad@ ok
|
|
|
|
|
|
breaks some onboard de(4)'s. The conventional way of getting media settings
is just fine on alpha, so let's just use this. Shrinks de(4) a bit on alpha.
While there de-inline tulip_21140_mediainit().
ok brad@
|
|
some drivers actually had hooks for SIOCSIFADDR, most just useless includes
"looks good" deraadt miod brad
|
|
- wrap more functions in TULIP_PERF* macros
ok brad@
from NetBSD
|
|
|
|
- make it possible to get media information from the SRM on alpha
ok brad@
|
|
ok brad@
|