| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
uiomove() fails, especially that it is different from what OpenSolaris
does (I'm not entirely sure they are right).
Suggested by: darrenr
|
|
|
|
| |
a "static" memory allocation only.
|
|
|
|
|
| |
Approved by: rwatson (mentor)
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
resetting the hardware.
|
|
|
|
|
| |
While I'm here move MAC control settings to stge_link_task, a task
queue which handles link state and duplex/flow controls.
|
|
|
|
| |
interface.
|
|
|
|
| |
Approved by: des@
|
|
|
|
|
|
| |
consistent with the naming of other structure field members, and
reducing improper grep matches. Clean up and comment structure
fields in structure definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sc->mii_anegticks according to whether the respective BGE chip
supports Fast Ethernet only or also Gigabit Ethernet.
- At least the BGE chips I've tested with wedge when isolating them
so document this as the reason for setting MIIF_NOISOLATE and
remove the unused (and partially even #ifdef'ed out) isolation
related code. Add code that panics if we encounter a non-zero MII
instance as generally there's no way a PHY requiring MIIF_NOISOLATE
can be handled gracefully in a multi-PHY configuration (it's ok for
the internal PHY of single-PHY-only-NIC to not support isolation
though).
- Additionally set MIIF_NOLOOP as loopback doesn't seem to work
either and remove the #ifdef'ed out code for adding respective
media. The MIIF_NOLOOP flag currently triggers nothing but
hopefully will be respected by mii_phy_setmedia() later on.
Reviewed by: jkim, yongari
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Blade 2500, Fire V210 and probably some other sparc64 machines.
These chips are typically not fitted with an EEPROM which means
that we have to obtain the MAC address via OFW and that some chip
tests will just always fail.
These changes are based on the respective code found in OpenBSD
with some additional info obtained from OpenSolaris and some style
suggestions by jkim@. They also have the desired side-effect of
respecting the 'local-mac-address?' system configuration variable
for the affected BGEs.
- In bge_attach() factor out calling bge_release_resources() before
going to the fail label into the fail label as well as replace a
magic 6 with ETHER_ADDR_LEN.
Reviewed by: yongari (before style changes), jkim
|
|
|
|
| |
unsetenv() POSIXed
|
| |
|
|
|
|
|
|
| |
PR: kern/108211
Submitted by: Yong Tang
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
| |
- Wake up DMA engine after adding a new receive buffer.
- Skip buffers which have unknown state after error.
- More rigid error detection.
MFC after: 1 week
|
|
|
|
|
|
|
| |
- Update state in fw_xferq_dorain() after removed from the send queue.
- Remove unnecessary 'goto err;".
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
- Introduce fw_xferlist_add/remove().
- Introduce fw_read/write_async().
- Remove unused FWACT_CH.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
- Remove struct tl_label and runtime malloc() for it.
- Include tl_lable list in struct fw_xfer.
- Don't free unallocated tlabel.
MFC after: 1 week
|
|
|
|
| |
MFC: after 3 days
|
|
|
|
|
|
|
|
| |
as some combinations of chipset, controller and target do not behave
correctly when DMA is enabled for other commands.
PR: kern/103602
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
was being tested, which would result in a system hang in some configurations.
PR: kern/112119
Reviewed by: scottl
MFC after: 3 days
|
|
|
|
| |
- Add a TODO comment where d_type is still noe defined.
|
| |
|
| |
|
|
|
|
|
|
|
| |
remove them, since the functionality they are associated with isn't there
yet.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
| |
remove comment and man page verbage...
Document return values for rman_init and rman_manage_region..
MFC after: 1 week
|
|
|
|
| |
panics on boot.
|
|
|
|
|
|
|
|
|
| |
were never freed, but the big ring was freed twice.
-Don't supply rx hw csums for frames which are padded beyond the
length specified in the ip header. If the padding is non-zero,
the hw csum will be incorrect for such frames.
Sponsored by: Myricom
|
|
|
|
|
|
|
|
|
| |
part of the old tty system - helping the user to know how to transition to
the new tty api.
Approved by: mlaier (Mentor)
PR: kern/110667
|
| |
|
|
|
|
|
|
|
| |
in fdcheckstd() instead of a stripped down version of kern_open()'s code.
MFC after: 1 week
Reviewed by: cperciva
|
|
|
|
|
|
|
|
|
| |
non-mapped data as possible at once and not page-by-page. Which this change we
combain I/Os, but also saves many VM_OBJECT_UNLOCK()/VM_OBJECT_LOCK()
operations.
Simple 'fsx -l 33554432 -o 524288 -N 10000 /tank/fsx' test shows ~23%
performance increase.
|
|
|
|
|
|
|
|
| |
This workaround the problem in Parallels/VMWare where the emulated drivers are
slower, especially with ATA_FLUSHCACHE. The problem appears much more
frequently with ZFS which use it a lot more.
Approved: sos, pjd
|
|
|
|
|
|
|
|
|
|
| |
- vm_page_undirty() is enough (instead of vm_page_set_validclean()), but it has
to be called before we write the data in case someone makes page dirty after
our write, but before our vm_page_undirty() call.
- Always dmu_write, not matter if uiomove() succeeded, because it could
partially be ok and we would lose some changes.
All good ideas from: ups
|
|
|
|
| |
Full description at: http://bugs.opensolaris.org/view_bug.do?bug_id=6543706
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In dounmount(), before or while vn_lock(coveredvp) is called, coveredvp
vnode may be VI_DOOMED due to one of the following:
- other thread finished unmount and vput()ed it, and vnode was chosen
for recycling, while vn_lock() slept;
- forced unmount of the coveredvp->v_mount fs.
In the first case, next check for changed v_mountedhere or mnt_gen counter
would be successfull. In the second case, the unmount shall be allowed.
Submitted by: sobomax
MFC after: 2 weeks
|
|
|
|
| |
line rate
|
| |
|
|
|
|
|
| |
revision 1.334 modified _vm_map_init() to initialize the new vm map's
flags to zero.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix for a bug where a close would not wait for all (directio)
dirty buffers to drain. The nfsnode was not marked NMODIFIED
when there were directio dirtied buffers pending, causing this.
- No reason to vhold/vrele the vp when enqueueing DirectIO requests
for the nfsiods. The vnode can't really go way since the close
has to wait for these requests to drain.
MFC after: 1 week
Submitted by: mohans
|
|
|
|
|
|
|
|
| |
local APIC timer alive.
Reviewed by: jhb
PR: i386/104678
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
specific request and thus should first try to be allocated from the
sys_resource pool. This avoids using the sys_resource pool for wildcard
requests that have bounded ranges coming from cbb(4) and Host-PCI pcib(4)
drivers.
Tested by: Andrea Bittau <a.bittau of cs.ucl.ac.uk fame>
Sleuthing by: Andrea Bittau as well
|
|
|
|
| |
Approved by: glebius (mentor)
|