| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
wcscasecmp(), and wcsncasecmp().
- Make some previously non-standard extensions visible
if POSIX_VISIBLE >= 200809.
- Use restrict qualifiers in stpcpy().
- Declare off_t and size_t in stdio.h.
- Bump __FreeBSD_version in case the new symbols (particularly
getline()) cause issues with ports.
Reviewed by: standards@
Notes:
svn path=/head/; revision=189136
|
| |
|
|
|
|
|
| |
includes one.
Notes:
svn path=/head/; revision=189135
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189134
|
| |
|
|
|
|
|
|
| |
The annotation mainly just serves as a hint that they're not intended
for use with overlapping strings.
Notes:
svn path=/head/; revision=189133
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189132
|
| |
|
|
|
|
|
|
|
|
| |
Fix harmless but related bugs in %_$zd and %_$tu.
PR: 131880
MFC after: 1 week
Notes:
svn path=/head/; revision=189131
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
at irq install/uninstall time, but when we vt switch, we uninstall the
irq handler. When the irq handler is reinstalled, the modeset ioctl
happens first. The modeset ioctl is supposed to tell us that we can
disable vblank interrupts if there are no active consumers. This will
fail after a vt switch until another modeset ioctl is called via dpms
or xrandr. Leading to cases where either interrupts are on and can't
be disabled, or worse, no interrupts at all.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=189130
|
| |
|
|
|
|
|
|
|
| |
Suggested by: jhb@
MFC after: 2 weeks
Notes:
svn path=/head/; revision=189128
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189127
|
| |
|
|
|
|
|
|
|
| |
usb stack rather than with the rest of the processor support code.
Not sure that's a good idea, as we were moving away from it, but this
fixes the build in the mean time so we can have that discussion.
Notes:
svn path=/head/; revision=189126
|
| |
|
|
|
|
|
|
|
|
| |
further root checks were needed, this isnt the case anymore but just change it
to PRIV_DRIVER until it can be investigated later.
Spotted by: rwatson
Notes:
svn path=/head/; revision=189125
|
| |
|
|
|
|
|
|
| |
Spotted by: sam
Pointy hat: me
Notes:
svn path=/head/; revision=189124
|
| |
|
|
|
|
|
|
|
|
|
| |
- Reissue the ctrl request on failure
- Ensure Tx and ctrl requests are not interleaved
- Add promisc callbacks
Obtained from: Hans Petter Selasky
Notes:
svn path=/head/; revision=189123
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix the copy, we can't do a blind copy but must transfer
the data from the old to the new.
- Fix the ACK processing so we properly stop retransmitting
the thing.
- Fix it so if we get a retran we will properly reply with
the saved response without doing anything.
MFC after: 1 month
Notes:
svn path=/head/; revision=189121
|
| |
|
|
|
|
|
|
|
|
| |
- Remove the cdev pointers from the denode and instead use the mountpoint's
reference to call dev2udev() in getattr().
Reviewed by: kib, julian
Notes:
svn path=/head/; revision=189120
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189119
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189118
|
| |
|
|
|
|
|
|
|
|
|
| |
- Only enable split header operation when ZERO_COPY_SOCKETS is enabled in
the kernel.
Submitted by: davidch
MFC after: 1 week
Notes:
svn path=/head/; revision=189117
|
| |
|
|
|
|
|
|
|
|
|
| |
o turn off a bunch of stuff that's unlikely to be used
o add flash support
o use mii instead of miibus to save space
o enable tdma support
o configure legacy usb as usb2 works only on 2348 w/ 64M configs
Notes:
svn path=/head/; revision=189116
|
| |
|
|
|
|
|
| |
o switch to a more common flash config
Notes:
svn path=/head/; revision=189115
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189114
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189113
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Either use parameters provided by user or make them up.
The code for faking CHS params is borrowed from disklabel code.
The logic for using user-provided and auto-guessed parameters is not
perfect, so to speak.
PR: bin/121182
Approved by: jhb (mentor)
Notes:
svn path=/head/; revision=189112
|
| |
|
|
|
|
|
|
|
|
|
| |
This should help correct reading of directories with data located
in fentry.
Submitted by: bde
Approved by: jhb (mentor)
Notes:
svn path=/head/; revision=189111
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the devfs clone handler to open the (invisible) devices on the fly.
The /dev entries are layed out as follows,
/dev/usbctl = master device
/dev/usb/0.1.0.5 = usb device, (<bus>.<dev>.<iface>.<endpoint>)
/dev/ugen0.1 -> usb/0.1.0.0 = ugen link to ctrl endpoint
This also removes the custom permissions model from USB. Bump
__FreeBSD_version to 800066.
Submitted by: rink (earlier version)
Notes:
svn path=/head/; revision=189110
|
| |
|
|
|
|
|
| |
Submitted by: Pawel Worach <pawel worach gmail com>
Notes:
svn path=/head/; revision=189109
|
| |
|
|
|
|
|
|
| |
Submitted by: daichi
Pointy hat: me
Notes:
svn path=/head/; revision=189108
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
net/route.h.
Remove the hidden include of opt_route.h and net/route.h from net/vnet.h.
We need to make sure that both opt_route.h and net/route.h are included
before net/vnet.h because of the way MRT figures out the number of FIBs
from the kernel option. If we do not, we end up with the default number
of 1 when including net/vnet.h and array sizes are wrong.
This does not change the list of files which depend on opt_route.h
but we can identify them now more easily.
Notes:
svn path=/head/; revision=189106
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189105
|
| |
|
|
|
|
|
|
|
|
|
| |
printf() and vprintf() are exactly the same, except the way arguments
are passed. Just like we see in other pieces of code (i.e. libc's
printf()), implement printf() using vprintf().
Submitted by: Christoph Mallon <christoph mallon gmx de>
Notes:
svn path=/head/; revision=189104
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189103
|
| |
|
|
|
|
|
|
|
|
| |
As mentioned by bz and bde, the change I made wasn't the proper way to
fix. Inspired by bde's patch, perform some small cleanups to uprintf().
Reviewed by: bz
Notes:
svn path=/head/; revision=189102
|
| |
|
|
|
|
|
| |
trap_subr.S code.
Notes:
svn path=/head/; revision=189101
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, DBCR0 flags were set "globally", but this leads to problems
because Book-E fine grained debug settings work only in conjuction with the
debug master enable bit in MSR: in scenarios when the DBCR0 was set with
intention to debug one process, but another one with MSR[DE] set got
scheduled, the latter would immediately cause debug exceptions to occur upon
execution of its own code instructions (and not the one intended for
debugging).
To avoid such problems and properly handle debugging context, DBCR0 state
should be managed individually per process.
Submitted by: Grzegorz Bernacki gjb ! semihalf dot com
Reviewed by: marcel
Notes:
svn path=/head/; revision=189100
|
| |
|
|
|
|
|
|
| |
Submitted by: jkim@
MFC after: 2 weeks
Notes:
svn path=/head/; revision=189099
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189098
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189097
|
| |
|
|
|
|
|
|
|
|
|
| |
that selects a callback from an interface prefix name. This allows us to
report a meaningful error when the user types 'ifconfig wlan0 create',
for example, and also kills some redundant code.
Reviewed by: sam (earlier version)
Notes:
svn path=/head/; revision=189096
|
| |
|
|
|
|
|
|
|
|
| |
mtx_lock() is not needed there as callout initialized with callout_init_mtx().
Sorry.
Submitted by: Ian Dowse
Notes:
svn path=/head/; revision=189095
|
| |
|
|
|
|
|
| |
I think it should be suitable for debugging.
Notes:
svn path=/head/; revision=189094
|
| |
|
|
|
|
|
| |
during commit 3 years ago.
Notes:
svn path=/head/; revision=189093
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function pow() in libmp(3) clashes with pow(3) in libm. We could
rename this single function, but we can just take the same approach as
the Solaris folks did, which is to prefix all function names with mp_.
libmp(3) isn't really popular nowadays. I suspect not a single
application in ports depends on it. There's still a chance, so I've
increased the SHLIB_MAJOR and __FreeBSD_version.
Reviewed by: deischen, rdivacky
Notes:
svn path=/head/; revision=189092
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
kernel dumping case.
ata_completed() may initiate ata_reinit() on error, that may lead to drives
attach or detach. Attach and detach are sending requests to drives and sleep
waiting for results. But ata_finish() can be called directly from
interrupt handler where sleeping is prohibited, so we must break this chain
somewhere. This place seems to fit best.
Notes:
svn path=/head/; revision=189091
|
| |
|
|
|
|
|
| |
Submitted by: Pawel Worach <pawel.worach@gmail.com>
Notes:
svn path=/head/; revision=189090
|
| |
|
|
|
|
|
|
|
|
|
| |
go before the standard -I$S to have the search happen before /sys/.
Make this conditional on 'makeoptions WITH_LEGACY=1' in the kernel config.
Prodded by: sam
Notes:
svn path=/head/; revision=189089
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When compiling librpcsvc with LLVM, we get a compiler error, because
hexval() uses an ANSI prototype, but a K&R declaration. I could have
just changed hexval(), but I'd rather keep this consistent. It's not
that much code.
Submitted by: Pawel Worach <pawel worach gmail com>
Notes:
svn path=/head/; revision=189087
|
| |
|
|
|
|
|
|
|
| |
Disable MSI for nVidia MCP51 controller. Enabling MSI there leads to
unexpected errors and timeouts, that should not happen even if interrupts
are not working completely.
Notes:
svn path=/head/; revision=189086
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189085
|
| |
|
|
|
|
|
| |
instead of boot0cfg to switch the active partition
Notes:
svn path=/head/; revision=189084
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently bread()-ing through device vnode with
(1) VMIO enabled,
(2) bo_bsize != DEV_BSIZE
(3) more than 1 block
results in data being incorrectly cached.
So instead a more common approach of using a vnode belonging to fs is now
employed.
Also, prevent attempt to bread more than MAXBSIZE bytes because of
adjustments made to account for offset that doesn't start on block
boundary.
Add expanded comments to explain the calculations.
Also drop unused inline function while here.
PR: kern/120967
PR: kern/129084
Reviewed by: scottl, kib
Approved by: jhb (mentor)
Notes:
svn path=/head/; revision=189082
|