Age | Commit message (Collapse) | Author |
|
ok bluhm@, claudio@, dlg@
|
|
if_input.
from and ok mpi@
|
|
Note that pseudo-drivers not using if_input() are not affected by this
conversion.
ok mikeb@, kettenis@, claudio@, dlg@
|
|
|
|
ok dlg@
|
|
ok krw@ miod@
|
|
there's no need to do it in m_devget(9).
Stop passing an ``ifp'' will help for upcoming interface pointer -> index
conversion.
While here remove unused ``ifp'' argument from m_clget(9) and kill two
birds^W layer violations in one commit.
ok henning@
|
|
ok dlg@
|
|
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
without this is won't attach.
ok stsp@ millert@ miod@
|
|
|
|
ok tedu@ deraadt@
|
|
ok deraadt@ tedu@
|
|
|
|
ok mpi@ kspillner@
|
|
malloc.h instead.
|
|
|
|
after discussions with beck deraadt kettenis.
|
|
|
|
bus_addr_t and bus_size_t are u_long everywhere
ok kettenis@
|
|
|
|
scsi_adapter struct, just do it once in the chip code.
ok krw@
|
|
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
|
|
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@
|
|
from kimberley manning
|
|
from kimberley manning
|
|
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting
up a new font.
|
|
No functional change.
|
|
alternative to bcopy since noone uses it.
while there use memcpy instead of bcopy because we know the memory cannot
overlap.
ok henning@ matthew@ mikeb@ deraadt@
|
|
Mickey approves these changes.
|
|
don't have to. Just remove these include lines.
Compiled on amd64 i386 sparc64; OK henning@ mikeb@
|
|
Pointed out by LLVM.
ok fgsch@
|
|
ok otto
|
|
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
|
- add NETGEAR FA410TXC with 00:13:46 manufacturer part of the Ethernet address; tested by Riccardo Mottola, thanks!
|
|
|
|
for the remaining pre 802.11b wireless drivers.
ok krw@ phessler@
|
|
- Use IF_Mbps() instead of multiplying the link speed by a bare value
- Remove a useless comment as baudrate is already handled properly
- Remove some commented out bits of code
- Use IF_Mbps() instead of the bare value
ok sthen@
|
|
paths are reflexive. It is now possible to fail part-way through a
suspend sequence, and recover along the resume code path.
Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used
after hibernate (and suspend too) to finish the job. Some drivers
must be converted at the same time to use this instead of shutdown hooks
(the others will follow at a later time)
ok kettenis mlarkin
|
|
|
|
it is the only place in the tree (minus if.{c,h} which are allowed to) that
reads ifq_maxlen without setting it, ryan ok
|
|
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
|
|
function, and let attachment code calls this rather than malloc(9).
This prevents re-initialization of the queue in shared queue chipsets.
Also, add wdc_free_queue() as a complementary function.
Earlier version (without wdc_free_queue()) tested by sthen@ and Amit
Kulkarni on various pciide(4) chips.
ok dlg@
|
|
While there fix a dead store.
Found by LLVM/Clang Static Analyzer.
ok deraadt@
|
|
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
|
|
ok fgsch@
|
|
traversal code to suspend/resume
ok oga kettenis blambert
|
|
|
|
|
|
trying to roll our inline version of it and fail. Fixes `checksum error'
warnings on all the cards with checksum tuples I could find (admittedly not
many), and probably fixes all of them since this code has never been correct
in the first place.
|