| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Found by: Coverity (ID#258)
|
|
|
|
| |
Found by: Coverity (ID#450)
|
| |
|
|
|
|
| |
Spotted by: truckman
|
|
|
|
|
| |
Spotted by: Ted Unangst using the Coverity Prevent static analysis tool
Reviewed by: scottl
|
|
|
|
|
|
|
| |
twice as many times as there were entries in the array.)
Spotted by: Ted Unangst using the Coverity Prevent static analysis tool
Reviewed by: scottl
|
|
|
|
|
|
|
| |
field).
Spotted by: Ted Unangst using the Coverity Prevent static analysis tool
Reviewed by: scottl
|
|
|
|
|
|
|
|
|
| |
last in the list rather than first.
This makes the resouces print in the 4.x order rather than the 5.x order
(eg fdc0 at 0x3f0-0x3f5,0x3f7 is 4.x, but 0x3f7,0x3f0-0x3f5 is 5.x). This
also means that the pci code will once again print the resources in BAR
ascending order.
|
|
|
|
| |
Obtained from: iedowse, sparc64
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
| |
- consistently capitalize RISCom
- fix typo
- bump .Dd
MFC after: 3 days
|
|
|
|
| |
remove the XXX comments, which no longer apply.
|
|
|
|
|
|
|
|
| |
- correct a language nit
- remove outdated FILES section
- bump .Dd
MFC after: 3 days
|
| |
|
|
|
|
| |
comment.
|
|
|
|
|
|
|
|
|
|
|
|
| |
w/o problems than I was before... This simply brings back the knote_delete
as knlist_delete which will also drop the knote's, instead of just clearing
the list and seeing _ONESHOT...
Fix a race where if a note was _INFLUX and _DETACHED, it could end up being
modified... whoopse..
MFC after: 1 week
Prodded by: ambrisko and dwhite
|
|
|
|
| |
support in cdrom.inf. Should be CD_VOLUME.
|
|
|
|
|
|
| |
prompted to insert another CD for a package.
MFC After: 3 days
|
| |
|
|
|
|
|
|
| |
dynamicaly allocate the per port array.
allow up to 32 serials per USB device.
ask the device for correct pipe sizes.
|
|
|
|
|
|
|
| |
same value as the previous ioctls so no binary change. Also, make a few
style changes to reduce diffs to my tree.
Loosely based on code from: Hans Petter Selasky
|
|
|
|
|
|
|
| |
BEFORE instead of REQUIRE.
Probably ok by: jhb
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
floating-point arithmetic on i386. Now I'm going to make excuses
for why this code is kinda scary:
- To avoid breaking the ABI with 5.3-RELEASE, we can't change
sizeof(fenv_t). I stuck the saved mxcsr in some discontiguous
reserved bits in the existing structure.
- Attempting to access the mxcsr on older processors results
in an illegal instruction exception, so support for SSE must
be detected at runtime. (The extra baggage is optimized away
if either the application or libm is compiled with -msse{,2}.)
I didn't run tests to ensure that this doesn't SIGILL on older 486's
lacking the cpuid instruction or on other processors lacking SSE.
Results from running the fenv regression test on these processors
would be appreciated. (You'll need to compile the test with
-DNO_STRICT_DFL_ENV.) If you have an 80386, or if your processor
supports SSE but the kernel didn't enable it, then you're probably out
of luck.
Also, I un-inlined some of the functions that grew larger as a result
of this change, moving them from fenv.h to fenv.c.
|
|
|
|
| |
just the value that was left over from some other application.
|
|
|
|
|
| |
Submitted by: Markus Brueffer < markus at brueffer dot de >
MFC after: 3 days
|
|
|
|
|
|
| |
Lock the timeout routine as well.
Submitted by: bde
|
|
|
|
|
| |
architectures. This makes it possible to insert hooks before and
after the device attachment step.
|
| |
|
|
|
|
| |
Reminded by: Lennart Sorth, Andrea Campi and others.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
system have been attached, but no later. This ensures that we do
not explore ohci or uhci busses before the companion echi controller
has been initialised, so it should fix the problem of multi-speed
USB devices getting attached as USB 1 devices first and then
re-attached as USB 2.
Some further changes are needed on architectures that do not currently
allow hooks to be inserted before configure_final() - alpha, ia64,
powerpc and sparc64. On these architectures the exploration will
now be delayed until the usb kthread runs.
|
|
|
|
|
|
|
|
|
|
| |
alignment restrictive, and help performance on some ethernet cards which
currently copy the entire packet a couple bytes to get the packet aligned
properly...
Wordsmithing by: dwhite
Obtained from: NetBSD (code only)
I'll clean it up later: rwatson
|
|
|
|
| |
non-eisa configured kernels.
|
|
|
|
| |
a comment saying its probe routine needs to be fixed.
|
|
|
|
|
|
|
| |
o return (foo);
o if (a == NULL) in preference to if (!a)
o () and {} reduction
o minor indentation fixes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the window between the beginning of panic() and entering the debugger,
it's possible to receive interrupts. If we receive an interrupt, don't
preempt if panicstr != NULL, as the system is in the process of failing, and
the preempting thread is likely to stumble over the failure. The typical
scenario is during the printf() in panic() prior to entering the debugger,
but when running with a slower console type such as serial console.
It could be that the panic string should be passed to the debugger to print,
so that it can run from the debugger's environment rather than a regular
kernel printf.
Glanced at by: jhb
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do our best to plug some memory leaks (VPD data, jumbo memory buffer,...).
Log if we cannot free because memory still in use[1].
Change locking to avoid ''acquiring duplicate lock of same
type: "network driver"'' and potential deadlock. Also seems to fix LOR #063.
[1] This change does not solve problems if buffers are still in use when
unloading if_sk.ko. There is ongoing work which will address jumbogram
allocations in a more general way.
PR: kern/75677 (with changes, no mii fixes in here)
Tested by: net, Antoine Brodin (slightly different version)
Approved by: rwatson (mentor)
MFC after: 5 days
|
|
|
|
|
|
|
|
| |
Obtained from: NetBSD if_sk.c rev. 1.11
* Make interrupt moderation configurable via sysctl/tuneable.
PR: kern/41220
Approved by: rwatson (mentor)
|
|
|
|
|
|
|
|
|
|
|
| |
Obtained from: NetBSD if_sk.c rev. 1.11
* Take PHY out of reset for Yukon Lite Rev. A3.
Submitted by: postings on net@ in thread "skc0: no PHY found", 2005-02-22
Tested by: net
Approved by: rwatson (mentor)
MFC after: 5 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if the interface is marked RUNNING.
Obtained from: NetBSD if_sk.c rev. 1.12
* Don't initialize the card (and start an autonegotiation) every time the IP
address changes. Makes 'dhclient sk0' invocations way faster and more
consistant. i.e. one DHCPREQUEST elicits the DHCPACK.
Obtained from: OpenBSD if_sk.c rev. 1.56
* Additional locking changes in sk_ioctl.
PR: kern/61296 should see improvements by the last two.
Approved by: rwatson (mentor)
MFC after: 5 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doing that in bfe_stop().
This should fix a panic recently reported on -current occuring when taking
device down then up. In the original implementation, an "ifconfig bfe0 down"
triggers bfe_stop(), which also destroys all TX/RX descriptor dmamaps. Hence
the subsequent "ifconfig bfe0 up" would force the device to use those
already-released dmamap and thus panic the kernel.
PR: kern/77804
Submitted by: Frank Mayhar <frank at exit dot com>
Reviewed by: dmlb, sam (mentor)
Tested by: Phil <pcasidy at casidy dot com>, myself
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
Move uid/gid/mode from cdev to cdevsw.
Add kind field to use for devd(8) later.
Bump both D_VERSION and __FreeBSD_version
|
|
|
|
|
|
| |
we've already set the object flags.
Reviewed by: alc
|
|
|
|
|
|
| |
interlock.
Sponsored by: Isilon Systems, Inc.
|
|
|
|
|
|
| |
in ffs_lock() when it acesses v_data without the vnlock.
Sponsored by: Isilon Systems, Inc.
|
| |
|
|
|
|
| |
Detected by: Coverity (ID#704)
|