| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- Fixed a problem on i386 architecture when using split header/jumbo frame
firmware caused by hardware alignment requirements.
- Added #define BCE_USE_SPLIT_HEADER to allow the feature to be enabled/
disabled. Enabled by default.
PR: kern/123696
MFC after: 2 weeks
|
|
|
|
|
|
| |
Fix spelling mistage found by rodrigc@.
Reviewed by: rodrigc, danger
|
|
|
|
|
|
|
|
|
| |
we must synchronize such a map against "mtag" with bus_dmamap_sync(),
not the tag designated for RX map.
Fix it.
Approved by: cognet
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
for a long time if we get a lease, but DNS isn't working.
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
Fix typo in checking results of strchr.
Found by: Coverity Prevent
|
|
|
|
|
|
|
| |
since they are only tested for zero/nonzero; but it's arguably a bad
idea to set a {-1, 0} variable to 1 (as happens in this code).
Found by: Coverity Prevent
|
|
|
|
|
|
|
| |
possibility of memory becoming undereferenceable when it is freed, this
change should have no effect on bsdtar behaviour.
Found by: Coverity Prevent
|
|
|
|
|
|
|
|
|
|
|
| |
and nfs requests processing. Lockmgr lock provides the shared locking for
nfs requests, while exclusive mode is used for modifications. The writer
starvation is handled by lockmgr too.
Reported by: kris, pho, many
Based on the submission by: mohan
Tested by: pho
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
the PR has been heavily edited for style(9) and clarity. Mistakes are
mine.
PR: bin/124251
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the FreeBSD base system, there are only two utilities that use struct
tty, namely pstat and sicontrol. The sicontrol utility calls the
TCSI_TTY ioctl(), which copies struct tty back to userspace.
sicontrol should not have this functionality. The same data is already
provided by pstat. If we really want to be able to export these numbers
through a file descriptor to userspace, we can export struct xtty, which
should provide a better abstraction. The ttystat option was only used as
a debugging aid.
This makes sicontrol compile in the mpsafetty branch.
Reviewed by: peter
Approved by: philip (mentor)
|
|
|
|
|
|
|
|
| |
spawning another shell.
Requested by: Ed Schouten
M config/mkmakefile.c
|
|
|
|
|
|
| |
It never belonged in current.
Pointed out by: marius
|
| |
|
| |
|
|
|
|
|
|
|
| |
use stack space to keep cleanup information, this eliminates overhead of
calling malloc() and free() in thread library.
Discussed on: thread@
|
|
|
|
|
|
|
|
|
|
| |
path relative to /usr/include. It looks much better anyway.
Instead of referencing "socket", which is bogus, reference
'sys/socket.h', which is what should be placed here from
the beggining.
Suggested by: maxim
|
|
|
|
|
|
|
| |
Fix several spelling mistakes brought by my earlier commit.
Trim whitespace.
Submitted by: maxim
|
|
|
|
|
|
|
| |
My intention is to bring no functional change.
Discussion on: IRC
Reviewed by: ed, kan, rink,
|
| |
|
|
|
|
| |
Approved by: kib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
newvers.sh is run pwd is actually the obj directory, so "../../.svn"
doesn't exist and the test always fails. The second is that buildkernel
is executed with a restrictive PATH, so unless you have svnversion in
/bin or /usr/bin it can't run.
Fix this by looking for svnversion in /bin, /usr/bin, and /usr/local/bin
in that order. If found, store the location and derive the value of the
source directory. Then run svnversion in the appropriate directory.
There is one possible refinement which would be to add a test for
LOCALBASE!=/usr/local if we don't find svnversion the first time, but
IMO that's not necessary at this time.
|
|
|
|
|
|
|
|
| |
Updated Lyndon Nerenberg's radio callsign and E-mail address.
PR: bin/7868
Submitted by: Lyndon Nerenberg <lyndon@orthanc.ca>
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: Chagin Dmitry <chagin.dmitry@gmail.com>
Approved by: kib (mentor)
|
|
|
|
|
|
| |
"complete" list, but some commands might be still missing.
Reviewed by: julian
|
|
|
|
|
|
| |
There should be no visible change.
Reviewed by: rink
|
|
|
|
|
|
|
|
|
|
|
|
| |
is in little endian form. Likewise setting DC_AL_PAR0/DC_AL_PAR1
register expect the address to be in little endian form. For big
endian architectures the address should be swapped to get correct
one.
Change setting/getting ethernet hardware address to big endian
architecture frendly.
Reported by: Robert Murillo ( billypilgrim782001 at yahoo dot com )
Tested by: Robert Murillo ( billypilgrim782001 at yahoo dot com )
|
|
|
|
| |
The driver applies to PowerPC only.
|
|
|
|
|
|
| |
found on various Apple G3 models.
Submitted by: Nathan Whitehorn
|
|
|
|
|
|
|
| |
engine is usful to various existing drivers, such as ata(4) and scc(4),
and is used bhy the soon to be added bm(4).
Submitted by: Nathan Whitehorn
|
|
|
|
|
|
|
|
|
|
|
|
| |
some longstanding issues:
o pass the vap since it's now the "coin of the realm" and required
to do things like set initial tx parameters in private node
state for use prior to association
o pass the mac address as cards that maintain outboard station
tables require this to create an entry (e.g. in ibss mode)
o remove the node table reference, we only have one node table
and it's unlikely this will change so this is not needed to
find the com structure
|
|
|
|
|
|
|
| |
and use the locked version to handle the hostap input path
case where the com lock is not already held.
Noticed by: Jared Go
|
|
|
|
|
| |
the driver (e.g. in the tx q); ni_vap may not be valid, we
must carefully check before using it.
|
|
|
|
|
|
|
| |
only in deauth+disassoc frames
Submitted by: Chris Zimmermann
MFC after: 1 month
|
|
|
|
| |
hashalias()
|
| |
|
|
|
|
| |
See also: http://www.bikeshed.org/
|
|
|
|
|
|
|
|
| |
Cast string precision to `int'. amd64 systems warn about the
field precision being `long int' if we don't, and pathnames are
normally short enough to fit in an `int'.
Noticed by: pav
|
|
|
|
|
|
|
|
| |
block.
PR: 108215
Submitted by: Yuichiro Goto, y7goto gmail com
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
entry in the SMAP is a 20 byte structure and they are queried from the
BIOS via sucessive BIOS calls. Due to an apparent bug in the R900's
BIOS, for some SMAP requests the BIOS overflows the 20 byte buffer
trashing a few bytes of memory immediately after the SMAP structure. As
a workaround, add 8 bytes of padding after the SMAP structure used in
the loader for SMAP queries.
PR: i386/122668
Submitted by: Mike Hibler mike flux.utah.edu, silby
MFC after: 3 days
|
|
|
|
|
| |
a partition. Make it clear that the -b option embeds boot code in
the meta-data.
|
|
|
|
|
| |
to a partition. This avoids that users need to use dd(1) to install
boot code (as is needed for VTOC8 and booting GPT on PCs).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o gctl_delete_param() -- intended for parameters that are consumed
by geom(8) itself and which should not be passed to the kernel.
o gctl_has_param() -- intended to check if optional parameters are
present.
Both are needed by gpart(8) to process the optional parameter for
writing bootcode to a partition (as part of the bootcode verb).
However, the kernel is itself not involved in this matter and the
parameter needs to be removed from the request destined for the
kernel.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Store the softc of the device in the 'si_drv1' of the cdev.
- Lookup the softc via 'si_drv1' in cdev methods rather than using the
minor number as a unit for devclass_get_softc().
- Lookup the device_t via the softc field in cdev methods rather than
using the minor number as a unit for devclass_get_device().
- Add a mutex to the softc to protect 'sc_opened'.
- Remove D_NEEDGIANT as all the smbus drivers are now MPSAFE and this driver
is now MPSAFE.
- Remove some checks for NULL softc pointers that can't happen and don't
bzero the softc during attach.
|