| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
- Space before bracketized non-void function returns.
- Space before condition for conditional blocks.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
so that last_work_seen has a reasonable value at the transition
to the SYNCER_SHUTTING_DOWN state, even if net_worklist_len happened
to be zero at the time.
Initialize last_work_seen to zero as a safety measure in case the
syncer never ran in the SYNCER_RUNNING state.
Tested by: phk
|
|
|
|
|
|
| |
less dangerous.
- Update manual pages and extend examples.
- Bump versions.
|
|
|
|
|
|
| |
device is open. This allows certain old and rather special dual
floppy controllers to work on both channels, as long as you only
have one open at a time.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When two drivers share an ISA DMA channel, they both call isa_dmainit()
and the second call fails if DIAGNOSTIC is on.
If isa_dmainit() was already called successfully, just return silently.
This only works if both drivers agree on the bounce buffer size,
but since sharing DMA is usually only possible on very special
hardware and then typically only for devices of the same type (which
would have multiple instances of the same device driver), this is
not a problem in practice.
|
|
|
|
|
|
|
| |
are some that really hate this, so now that devd is default, be more
conservative about what we do.
Noticed by: marcel
|
| |
|
|
|
|
|
|
| |
A subset of locking changes to soreceive() in the queue for merging.
Bumped into by: Willem Jan Withagen <wjw@withagen.nl>
|
|
|
|
|
|
|
|
| |
belong in the respective drivers. I've not removed ALL of them, as a
few still haven't moved. I've just removed the ones that aren't used.
# these can be removed from amd64, but I'm having issues getting to
# sledge at the moment for a build.
|
| |
|
|
|
|
| |
Submitted by: Xin LI
|
|
|
|
| |
without having to first pull the stat structure.
|
|
|
|
| |
but some colons are supposed to be followed by uppercase letters.
|
| |
|
|
|
|
| |
Slightly fix markup and grammar.
|
|
|
|
| |
hole, so call them ISA Options rom(s).
|
| |
|
|
|
|
|
|
| |
Add partial pmap locking.
Tested by: kensmith@
|
|
|
|
| |
Minor markup and grammar nits.
|
|
|
|
| |
without Giant if we're not debug.mpsafenet=1.
|
| |
|
| |
|
| |
|
|
|
|
| |
Approved by: le
|
| |
|
|
|
|
| |
commit.
|
| |
|
|
|
|
| |
all it does is provide broken prototypes for standard library functions.
|
| |
|
|
|
|
| |
process filtering logic to prevent this from happening again.
|
| |
|
| |
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing
signed / unsigned comparisons, and shoving unused function arguments
under the carpet.
I was hoping WARNS?=6 might reveal more serious problems, and perhaps
the source of the -O2 breakage, but found no smoking gun.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Eliminate the use of a recursive mutex.
- Mark the driver INTR_MPSAFE.
This work is incomplete and will be refined in a future commit.
- Most notably, _locked() variants of entry points need to be introduced.
- The mii upcall/downcall may still be racy.
- Add a stubbed-out guard against racing rl_detach() for the time being.
Tested on: UP, debug.mpsafenet && !debug.mpsafenet
Reviewed by: silence on -net
|
|
|
|
|
|
|
|
| |
Use C99 types. Use ANSI function definitions. Sort prototypes.
Split long lines correctly. Punctuate/wordsmith comments.
Use device_printf()/if_printf() where possible.
Reviewed by: -net (silence)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Eliminate the use of a recursive mutex.
- Mark the driver as INTR_MPSAFE.
- Split the default media choice code out into xl_choose_media() to
avoid making poor assumptions about the state of the lock during attach.
- The miibus upcall/downcall paths may still be racy.
Change to commented-out locking assertions there for now.
- Tested with nfsclient, routed, ssh, ntp, dhclient and quagga bgpd.
- This needs SMP test coverage. I do not have such resources.
Tested on: UP, !debug.mpsafenet && debug.mpsafenet
Hardware: 3C905B-TX (0x905510b7)
|