Age | Commit message (Collapse) | Author |
|
|
|
|
|
o fix tx recovery with call to rl_reset/rl_init
o automatic tuning of tx threshold
o make sure first mbuf contains the entire ether_header
o remove matching of SiS 900 chipset
|
|
driver (pciide, wdc, etc.)
Remove #define WDCDEBUG from top of files
More fixes to ATAPISCSI logic:
Not all devices transition correctly between phases. Devices are supposed
to keep BSY high until they've set the registers to the next sensible
state. Some devices drop BSY and leave the registers in an old or
nonsense state. Our polling code is extremely sensitive to this
(though an early itnerrupt could also observe this). So, if the device is
in an unexpected state, the new polling code waits for a while in the hope
that it enters a better state.
This seems to fix many of the problems reported.
Also, there was a horrible bug which would cause sense to fail on a ATAPI
command that sent data to the drive
|
|
- Support ANSI save/restore cursor position escape sequences.
- Move the line-wrap check out of the STATE_INIT case so it is executed
regardless of the state. This fixes a subtle bug.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
At the same time, give it a 'better' name.
|
|
|
|
|
|
|
|
|
|
(shrinking my "grep vm_offset_t")
|
|
|
|
|
|
|
|
Adapted from NetBSD:
Fix a retransmission bug introduced by the Brakmo and Peterson
RTO estimation changes. Under some circumstances it would
return a value of 0, while the old Van Jacobson RTO code would
return a minimum of 3. This would result in 12 retransmissions,
each 1 second apart. This takes care of those instances, and
ensures that t_rttmin is used everywhere as a lower bound.
|
|
|
|
|
|
fix syscall page mapping.
small fixes to debug printfs.
some knf in rare places.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
returned is in 512-byte sectors, so if you're going to use it for
things like DVD, you need to divide the result by 4 (for 2048-byte
sectors). OK deraadt@
|
|
and myself: don't panic if maxlen == 0, just return ENAMETOLONG.
treat maxlen as unsigned like the manpage indicates. avoid crashing
if the userspace address is >= KERNBASE. make sure *done is 0 when no
bytes are copied.
|
|
This is a preparation to make them non-sleeping.
|
|
(experimental code)
|
|
good reason to use them, not packed structures anyway).
|
|
|
|
Fixes DMA bug Angelos was seeing with DVD stuff.
Happy ripping!
|
|
|
|
adapted from NetBSD Thu Oct 28 19:21:51 1999 UTC by sommerfeld:
Fix suspend/resume-related problems observed on fxp0 on Sony Z505S:
Symptoms: system would crash with "data modified on free list" pool
panic from the mbuf cluster pool shortly after a resume. The cluster
in question contained a valid 82557 receive descriptor and an IP
packet. Happened sporadically in normal use. Easiest way for me to
reproduce it was to run tcpdump and a flood ping and do a
suspend/resume cycle or two.
Changes:
- in interrupt handler, if the interface isn't in IFF_RUNNING state,
just ack interrupts and return; don't try to receive packets, queue
new descriptors, etc., etc.,
- add power control hook to take interface down on suspend,
and restart it (if it was up) on resume.
- tweaks to fxp_stop and fxp_shutdown to avoid recursive panics due
to the (now fixed) bug.
|
|
|
|
|
|
- MACHINE_NONCONTIG will no longer work and all code that is not
MACHINE_NEW_NONCONTIG is removed.
- Kill the pv_table hack which adds complexity to the code and wastes some
memory, let the vm "handle" the pv lists through the vm_physmem array,
this makes allocation a lot easier.
- kill the managed() macro, since it was only used to see if pvhead would
end up in a "hole" in pv_table.
- pvhead() is now a function that returns NULL if the page is unmanaged. It
also takes a page number as an argument instead of the physical address,
since in most cases pvhead was called as pvhead(ptoa(pa)) anyway and it
did an atop internally.
|