| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This should make PANDABOARD suitable for building
bootable SD images.
Submitted by: Giovanni Trematerra
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
on checksums directly from mbuf flags. This simplifies code.
o Clear CSUM_IP from the mbuf in ip_fragment() if we did checksums in
hardware. Some driver may not announce CSUM_IP in theur if_hwassist,
although try to do checksums if CSUM_IP set on mbuf. Example is em(4).
o While here, consistently use CSUM_IP instead of its alias CSUM_DELAY_IP.
After this change CSUM_DELAY_IP vanishes from the stack.
Submitted by: Sebastian Kuzminsky <seb lineratesystems.com>
|
|
|
|
|
|
| |
files. It used to be in files.mips before the clean-room rewrite and
really doesn't belong there. If we need to grow arch specific code,
we can move it into $ARCH/$ACH/siba_machdep.c.
|
|
|
|
|
|
|
| |
This reverts r242120
Submitted by: Jan Beich
Approved by: cperciva (implicit)
|
| |
|
| |
|
|
|
|
|
|
|
| |
ata(4) driver in ATA_CAM mode. That slighty improves error reporting and
also should fix `smartctl -l scterc /dev/adaX` operation.
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
| |
There are some people who use the -HEAD net80211 and wireless drivers
on earlier FreeBSD versions in order to get the updated 802.11n support.
The previous if_clone API changes broke this.
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
to make their relationship more obvious as done with the other such mutexs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
net80211 devices and vaps.
* vnet sets vnet0 during kldload and device probe/attach, but not for
the hotplug event. Thus, plugging in a NIC causes things to panic.
So, add a CURVNET_SET(vnet0) for now during the attach phase, until
the hotplug code is taught to set CURVNET_SET(vnet0).
* there's also no implied detach vnet context - so teach the detach
path about ifp->if_vnet.
* When creating/deleting vaps, also set the vnet context appropriately.
These can be done at any time.
Now, the problems!
* ieee80211.c is supposed to be OS-portable code, with no OS-specific stuff
like vnet. That should be fixed.
* When the device hotplug code gets taught about CURVNET_SET(vnet0), the
device vnet set can go away; but the VAP vnet set still needs to be there.
* .. and there still is the question about potentially adding an implied
CURVNET_SET(ifp->if_vnet) on if_free(), since any/all devices may end up
being detached by a hotplug event in today's world. That's going to be
a topic of a subsequent commit.
|
| |
|
|
|
|
|
|
|
| |
command execution. In case of such unhandled exception, vmReset() inside
ficlExecC() flushes the VM state. Attempt to return back to Forth after
that cause garbage dereference with unexpected results. To avoid that
situation call vmThrow() directly instead of expecting Forth to do it.
|
|
|
|
|
|
|
|
|
|
| |
fragment rate lookups correctly, add a comment describing exactly that.
The assumption in the fragment duration code is the duration of the next
fragment will match the rate used by the current fragment. But I think
a rate lookup is being done for _each_ fragment. For older pre-sample
rate control this would almost always be the case, but for sample
it may be incorrect more often then correct.
|
| |
|
|
|
|
| |
It was implemented by Rudolf Tomori during Google Summer of Code 2012.
|
| |
|
|
|
|
| |
is a long chain of fork(2)s.
|
|
|
|
|
| |
Approved by: bcr (mentor)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
POOL_STATE_SPARE and POOL_STATE_L2CACHE were not handled correctly
and thus the cache and spare disks would not be correctly probed.
Reported by: Michael Schmiedgen <schmiedgen@gmx.net>,
Matthew D. Fuller <fullermd@over-yonder.net>
Tested by: Michael Schmiedgen <schmiedgen@gmx.net>,
flo
MFC after: 5 days
|
|
|
|
| |
builds, eliminate them.
|
|
|
|
|
|
|
| |
number of underscores for Linux compatibility in drm(4).
Submitted by: sendtomatt at gmail dot com
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
- Abort parsing and return an error if we run out of memory.
- Return EILSEQ from geom_xml2tree() for XML syntax errors.
Silence on: freebsd-geom
|
|
|
|
|
|
|
| |
class, else multiple pcm devices can appear on certain USB audio
devices.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
Rearrange the tunables and belonging sysctl declarations, so
that they are next to eachother.
Submitted by: n_hibma @
MFC after: 1 week
|
|
|
|
|
|
| |
This fixes kern.bootfile sysctl.
Submitted by: Giovanni Trematerra
|
|
|
|
|
| |
config file to support a production kernel mounted on an
SD card.
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
|
|
| |
advantages. First, PV entries are roughly half the size. Second, this
allocator doesn't access the paging queues, and thus it allows for the
removal of the page queues lock from this pmap.
Replace all uses of the page queues lock by a R/W lock that is private
to this pmap.
Tested by: marcel
|
|
|
|
|
|
|
|
| |
Tested with make universe
No objections from: stas
Approved by: cperciva
MFC after: 3 days
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
| |
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
|
|
| |
problem with using a msgbox was one of truncation in the case of Xdialog(1)
and lack of screen real-estate (since the msgbox is not scrollable in X11
while a textbox is).
The textbox renders the text much better and is more appropriate for this
type of data display.
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
| |
support for what their boot loader refers to as the "RSYS4GBE", of which there
are two instances ("Data Processing Blocks") on the Radisys ATCA-7220.
|
|
|
|
| |
fixes booting on systems which are PCI targets.
|
|
|
|
| |
Approved by: marcel (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
requests, default to the previous 60-seconds scheduling method
unless there is any @every_second entries to conserve CPU cycles and
power.
This change also improves scheduling in the default mode by running
as close to the beginning of the minnute as possible by replacing
sleep(3) with nanosleep(2). Previously, the tasks would run anywhere
within the first second of the minute and that offset drifted back
and forth each time cron(8) was engaged.
MFC after: 1 month
|
|
|
|
|
|
| |
Reviewed by: gnn
Approved by: gnn
Sponsored by: iXsystems inc.
|
|
|
|
|
|
|
| |
acts like dialog(1) in that it returns exit status 2 when the help button is
chosen.
Approved by: adri (co-mentor) (implicit)
|
|
|
|
|
|
|
|
| |
- Use M_ZERO flag in malloc() rather than bzero()
- malloc() with M_NOWAIT can't return NULL so there's no need to check
Reviewed by: alc
Approved by: alc
|
|
|
|
|
|
| |
Mark variables static where possible and place the uid/euid variables in
lp.h, so that we can compile-time enforce that these variables have the
same type.
|
|
|
|
|
| |
Requested by: kib
MFC after: 3 days
|