| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
pointed out that /usr/local/etc/rc.d/000.pkgtools.sh installed
with the portupgrade does an equivalent thing, so I personally
would like to see the change reverted, but let David handle it.
Notes:
svn path=/head/; revision=136471
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handle DMA addresses located above 1GB. The LBA(loop begin address)
register which holds DMA base address is 32bits register. But the
MSB 2bits are used for other purposes. This effectivly limits the
DMA address space up to 1GB.
Approved by: jake (mentor)
Reviewed by: truckman, matk
Notes:
svn path=/head/; revision=136470
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
assign DMA address to the wrong address. It can cause system lockup
or other mysterious errors. Since most sound cards requires low DMA
address(BUS_SPACE_MAXADDR_24BIT) sndbuf_alloc() would fail when the
audio driver is loaded after long running of operations.
Approved by: jake (mentor)
Reviewed by: truckman, matk
Notes:
svn path=/head/; revision=136469
|
|
|
|
| |
Notes:
svn path=/head/; revision=136468
|
|
|
|
|
|
|
|
|
| |
- Implement dcons_ischar() and dcons_load_buffer().
- If loader passed a dcons buffer address, keep using it.
(We still need a patch to cheat memory management system.)
Notes:
svn path=/head/; revision=136467
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
.Dt should have a third argument.
new sentence should start on its own line.
use precise width specifier.
Add AUTHORS section and correct device name to /dev/led/auxioled.
Approved by: jake (mentor)
Pointed by: ru
Notes:
svn path=/head/; revision=136466
|
|
|
|
|
|
|
| |
for FIOASYNC.
Notes:
svn path=/head/; revision=136465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
asynchronous. I realize that this means the custom application will
not work as written, but it is not okay to break most users of ugen(4).
The major problem is that a bulk read transfer is not an interrupt
saying that X bytes are available -- it is a request to be able to
receive up to X bytes, with T timeout, and S short-transfer-okayness.
The timeout is a software mechanism that ugen(4) provides and cannot
be implemented using asynchronous reads -- the timeout must start at
the time a read is done.
The status of up to how many bytes can be received in this transfer
and whether a short transfer returns data or error is also encoded
at least in ohci(4)'s requests to the controller. Trying to detect
the "maximum width" results in using a single buffer of far too
small when an application requests a large read.
Even if you combat this by replacing all buffers again with the
maximal sized read buffer (1kb) that ugen(4) would allow you to
use before, you don't get the right semantics -- you have to
throw data away or make all the timeouts invalid or make the
short-transfer settings invalid.
There is no way to do this right without extending the ugen(4) API
much further -- it breaks the USB camera interfaces used because
they need a chain of many maximal-width transfers, for example, and
it makes cross-platform support for all the BSDs gratuitously hard.
Instead of trying to do select(2) on a bulk read pipe -- which has
neither the information on desired transfer length nor ability to
implement timeout -- an application can simply use a kernel thread
and pipe to turn that endpoint into something poll-able.
It is unfortunate that bulk endpoints cannot provide the same semantics
that interrupt and isochronous endpoints can, but it is possible to just
use ioctl(USB_GET_ENDPOINT_DESC) to find out when different semantics
must be used without preventing the normal users of the ugen(4) device
from working.
Notes:
svn path=/head/; revision=136464
|
|
|
|
| |
Notes:
svn path=/head/; revision=136462
|
|
|
|
|
|
|
|
|
| |
man page to document this.
MFC after: 3 days
Notes:
svn path=/head/; revision=136461
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original idea was to use it for firmware upgrading and similar
operations. In real life almost all Bluetooth USB devices do not
need firmware download. If device does require firmware download
then ugen(4) (or specialized driver like ubtbcmfw(8)) should be
used instead.
MFC after: 3 days
Notes:
svn path=/head/; revision=136460
|
|
|
|
|
|
|
|
|
|
|
| |
New devicename is ttyz{port}
No callout devices created.
Isn't this driver superseeded by uart(4) anyway ?
Notes:
svn path=/head/; revision=136459
|
|
|
|
|
|
|
| |
Reminded by: ru (a few weeks ago)
Notes:
svn path=/head/; revision=136457
|
|
|
|
| |
Notes:
svn path=/head/; revision=136456
|
|
|
|
|
|
|
| |
MFC after: 1 day
Notes:
svn path=/head/; revision=136455
|
|
|
|
|
|
|
| |
I have not tried to make this a "canonical tty driver".
Notes:
svn path=/head/; revision=136454
|
|
|
|
| |
Notes:
svn path=/head/; revision=136453
|
|
|
|
| |
Notes:
svn path=/head/; revision=136452
|
|
|
|
|
|
|
| |
in kern_mbuf.c, not subr_mbuf.c
Notes:
svn path=/head/; revision=136451
|
|
|
|
| |
Notes:
svn path=/head/; revision=136450
|
|
|
|
|
|
|
|
|
|
|
| |
in udp_input(), since the udbinfo lock is used to prevent removal of
the inpcb while in use (i.e., as a form of reference count) in the
in-bound path.
RELENG_5 candidate.
Notes:
svn path=/head/; revision=136449
|
|
|
|
| |
Notes:
svn path=/head/; revision=136448
|
|
|
|
| |
Notes:
svn path=/head/; revision=136447
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=136446
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a new _lock() call to each API that locks the associated chain lock
for a lock_object pointer or wait channel. The _lookup() functions now
require that the chain lock be locked via _lock() when they are called.
- Change sleepq_add(), turnstile_wait() and turnstile_claim() to lookup
the associated queue structure internally via _lookup() rather than
accepting a pointer from the caller. For turnstiles, this means that
the actual lookup of the turnstile in the hash table is only done when
the thread actually blocks rather than being done on each loop iteration
in _mtx_lock_sleep(). For sleep queues, this means that sleepq_lookup()
is no longer used outside of the sleep queue code except to implement an
assertion in cv_destroy().
- Change sleepq_broadcast() and sleepq_signal() to require that the chain
lock is already required. For condition variables, this lets the
cv_broadcast() and cv_signal() functions lock the sleep queue chain lock
while testing the waiters count. This means that the waiters count
internal to condition variables is no longer protected by the interlock
mutex and cv_broadcast() and cv_signal() now no longer require that the
interlock be held when they are called. This lets consumers of condition
variables drop the lock before waking other threads which can result in
fewer context switches.
MFC after: 1 month
Notes:
svn path=/head/; revision=136445
|
|
|
|
|
|
|
|
|
| |
function is called.
MFC after: 1 month
Notes:
svn path=/head/; revision=136444
|
|
|
|
|
|
|
|
|
| |
it isn't printed if the IP address in question is '0.0.0.0', which is
used by nodes performing DHCP lookup, and so constitute a false
positive as a report of misconfiguration.
Notes:
svn path=/head/; revision=136441
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
processes in jail could create raw sockets, additional access control
checks were added to raw IP sockets to limit the ways in which those
sockets could be used. Specifically, only the socket option IP_HDRINCL
was permitted in rip_ctloutput(). Other socket options were protected
by a call to suser(). This change was required to prevent processes
in a Jail from modifying system properties such as multicast routing
and firewall rule sets.
However, it also introduced a regression: processes that create a raw
socket with root privilege, but then downgraded credential (i.e., a
daemon giving up root, or a setuid process switching back to the real
uid) could no longer issue other unprivileged generic IP socket option
operations, such as IP_TOS, IP_TTL, and the multicast group membership
options, which prevented multicast routing daemons (and some other
tools) from operating correctly.
This change pushes the access control decision down to the granularity
of individual socket options, rather than all socket options, on raw
IP sockets. When rip_ctloutput() doesn't implement an option, it will
now pass the request directly to in_control() without an access
control check. This should restore the functionality of the generic
IP socket options for raw sockets in the above-described scenarios,
which may be confirmed with the ipsockopt regression test.
RELENG_5 candidate.
Reviewed by: csjp
Notes:
svn path=/head/; revision=136440
|
|
|
|
|
|
|
|
|
|
|
|
| |
can break the sorting order of the ksegp run queue.
Tested by: pho
Reviewed by: jhb, julian
Approved by: sam (mentor)
MFC: ASAP
Notes:
svn path=/head/; revision=136439
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement preemption between threads in the same ksegp in out of slot
situations to prevent priority inversion.
Tested by: pho
Reviewed by: jhb, julian
Approved by: sam (mentor)
MFC: ASAP
Notes:
svn path=/head/; revision=136438
|
|
|
|
|
|
|
|
|
|
|
|
| |
A race condition in single thread wakeup may break priority inheritance.
Tested by: pho
Reviewed by: jhb,julian
Approved by: sam (mentor)
MFC: ASAP
Notes:
svn path=/head/; revision=136437
|
|
|
|
|
|
|
|
|
|
|
| |
followed by "make depend" shouldn't do anything. It doesn't
seem to be a problem anymore, and if someone finds it to break
again, please contact me so we can work on a real fix.
Reviewed by: bde
Notes:
svn path=/head/; revision=136436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Sort kmod.mk knobs in the documentation section.
- Fixed misuses of the word "KLD" which stands for
"kernel ld", or "kernel linker", where kernel
module is meant.
- Removed redundant uses of ${.OBJDIR}.
- Whitespace and indentation fixes.
- CLEANFILES cleanup.
- Target redefinition protection (install.debug).
Submitted by: bde, ru
Reviewed by: ru, bde
Notes:
svn path=/head/; revision=136435
|
|
|
|
|
|
|
|
| |
entropy is valid, as an invalid source will cause dereferencing of an
array of queues to an incorrect memory location.
Notes:
svn path=/head/; revision=136434
|
|
|
|
|
|
|
|
| |
categories are added, the set of entropy source assertions in the
harvesting code also need to be updated.
Notes:
svn path=/head/; revision=136433
|
|
|
|
|
|
|
|
|
|
|
| |
the contents of the returned buffer for unknown error codes.
PR: docs/72578
Submitted by: Jilles Tjoelker <jilles@stack.nl>
MFC after: 3 days
Notes:
svn path=/head/; revision=136432
|
|
|
|
| |
Notes:
svn path=/head/; revision=136431
|
|
|
|
|
|
|
|
| |
device also does echo'ing this can result in a character-storm before we
ever get a chance to disable the echo modes.
Notes:
svn path=/head/; revision=136430
|
|
|
|
|
|
|
| |
and "nooptions".
Notes:
svn path=/head/; revision=136429
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- push all bridge logic from if_ethersubr.c into bridge.c
make bridge_in() return mbuf pointer (or NULL).
- call only bridge_in() from ether_input(), after ng_ether_input()
was optinally called.
- call bridge_in() from ng_ether_rcv_upper().
Long description: http://lists.freebsd.org/mailman/htdig/freebsd-net/2004-May/003881.html
Reported by: Jian-Wei Wang <jwwang at FreeBSD.csie.NCTU.edu.tw>
Tested by: myself, Sergey Lyubka
Reviewed by: sam
Approved by: julian (mentor)
MFC after: 2 months
Notes:
svn path=/head/; revision=136428
|
|
|
|
|
|
|
|
|
|
|
| |
interface with the network stack but are not yet sufficiently
synchronized to run without the Giant lock. It migh be possible
to mark the interfaces as IFF_NEEDSGIANT, but I'm unable to test
that configuration and am unfamiliar with the architecture of
i4b.
Notes:
svn path=/head/; revision=136427
|
|
|
|
|
|
|
| |
New device names are ttyy{unit}
Notes:
svn path=/head/; revision=136426
|
|
|
|
|
|
|
|
|
|
|
| |
New devicename is ttyy{unit}{port}
No callout devices created as there is no modemcontrol on these ports.
Add data structure to represent each port to avoid excessive array use.
Notes:
svn path=/head/; revision=136425
|
|
|
|
|
|
|
|
|
|
|
|
| |
from within umass_ufi_transform(). This includes the 12-byte commands
FORMAT_UNIT, WRITE_AND_VERIFY, VERIFY, and READ_FORMAT_CAPACITIES
(sorted in numerical order).
Reviewed by: ken, scottl
MFC after: 2 weeks
Notes:
svn path=/head/; revision=136424
|
|
|
|
|
|
|
|
|
|
|
| |
commands READ_FORMAT_CAPACITIES, WRITE_AND_VERIFY, and VERIFY.
Reviewed by: ken, scottl
Source: USB Mass Storage UFI Specification v1.0
MFC after: 2 weeks
Notes:
svn path=/head/; revision=136423
|
|
|
|
|
|
|
|
|
|
|
| |
implemented by USB floppy devices using the UFI command set.
Reviewed by: ken, scottl
Source: USB Mass Storage UFI Specification v1.0
MFC after: 2 weeks
Notes:
svn path=/head/; revision=136422
|
|
|
|
| |
Notes:
svn path=/head/; revision=136421
|
|
|
|
| |
Notes:
svn path=/head/; revision=136420
|
|
|
|
| |
Notes:
svn path=/head/; revision=136419
|
|
|
|
|
|
|
| |
Add missing pointy hat to peter@
Notes:
svn path=/head/; revision=136418
|