| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
session in tprintf(). SESSRELE() needs to properly dispose of the
sessions mutex.
Add sessrele() which does the proper cleanup and have SESSRELE() call it.
Use SESSRELE also in pgdelete().
Found by: Coverity (ID:526)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
i386-only kernel option, ASR_COMPAT, and under BURN_BRIDGES.
It is really ugly, but raidutils depends on it.
Discussed with: scottl
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
a given page and, if the pmap is the current pmap, write back the associated
cache line.
Use pmap_wb_page in pmap_qenter() instead of inconditionally
write back/invalidating the data cache.
|
| |
| |
| |
| | |
make it so.
|
| | |
|
| | |
|
| |
| |
| |
| | |
as well as saying that the alpha is wired up in a certain way.
|
| |
| |
| |
| |
| |
| |
| | |
Submitted by: Ted Unangst
Found by: Coverity Prevent analysis tool
Approved by: phk
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| | |
o Use IP_NPX in preference to hard coded value to write 0 to clear busy#
o Use md macro for a full reset of the npx
o Use IRQ_NPX in preference to hard coded value for each platform.
# The other two ifdefs in this file are hard to remove
|
| |
| |
| |
| | |
reset of of npx, as appropriate for the platform.
|
| |
| |
| |
| | |
Noticed by: Coverity Prevent analysis tool
|
| |
| |
| |
| | |
Noticed by: Coverity Prevent analysis tool
|
| |
| |
| |
| | |
Noticed by: Coverity Prevent analysis tool
|
| |
| |
| |
| | |
Noticed by: Coverity Prevent analysis tool
|
| |
| |
| |
| |
| |
| | |
rman_resource_resournce_bound wrt end parameter. The end parameter
here was the same as the start. However, it should be start + count -
1, so make it that instead.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
fegetexcept().
- Add additional tests for the above.
- Output a separate success message for each of the 8 components of
this set of tests.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
fedisableexcept(), and fegetexcept(). These two sets of routines
provide the same functionality. I implemented the former as an
undocumented internal interface to make the regression test easier to
write. However, fe(enable|disable|get)except() is already part of
glibc, and I would like to avoid gratuitous differences. The only
major flaw in the glibc API is that there's no good way to report
errors on processors that don't support all the unmasked exceptions.
|
| |
| |
| |
| |
| |
| | |
they're attached to, not after.
Spotted by: Coverity via sam
|
| |
| |
| |
| | |
delete these two macros and all the associated stuff.
|
| | |
|
| | |
|