Warner Losh
6ca3abc9bb
Arm doesn't seem to need such kit gloves. Bump the warnings to 3 here
...
as well.
2010-02-04 07:18:19 +00:00
Warner Losh
96974de8bb
Always compile in the speaker code. There's little savings by
...
omitting it, and other platforms may implement /dev/speaker in the
future.
2010-02-04 07:08:06 +00:00
Matt Jacob
54e81dece7
Yet another target mode compilation error.
2010-02-04 06:45:14 +00:00
Neel Natu
93db1e020b
Compile SWARM with KTRACE support.
2010-02-04 06:44:42 +00:00
Neel Natu
ce735fb428
Get system call tracing using ktrace working for mips.
2010-02-04 06:42:30 +00:00
Neel Natu
2f9f616df9
Reinstate the ptrace patch to restore the 'gp' register after calling
...
a function. I made a mistake in assuming that the .cprestore directive
will cause the assembler to automatically restore 'gp' after the 'jalr'.
The .cprestore directive does its magic only after 'jal' and 'bal'
instructions - not the 'jalr'.
Pointed out by: c.jayachandran@gmail.com
2010-02-04 05:49:59 +00:00
Neel Natu
674440a942
Clean up all places in exception.S that fiddle with 'pcpup' directly. We now
...
use the GET_CPU_PCPU() macro exclusively.
This isolates the users of pcpu data from its implementation details.
Reviewed by: imp
2010-02-04 05:25:59 +00:00
Matt Jacob
97efa6dde8
Fix target mode compilation problem with previous delta
2010-02-04 00:40:12 +00:00
Xin LI
b352972b00
static'ify function prototypes and convert K&R to ANSI.
...
MFC after: 1 month
2010-02-03 23:59:52 +00:00
Xin LI
03040ae1cb
pukeText is an internal function so define it as static rather than
...
exporting it.
MFC after: 1 month
2010-02-03 23:58:00 +00:00
Xin LI
80ca1f34b5
Plug two memory leaks in error case.
...
MFC after: 1 month
2010-02-03 23:56:12 +00:00
Jung-uk Kim
bfd1f292d4
Remove dead code and fix style(9) bugs.
2010-02-03 22:20:57 +00:00
Jung-uk Kim
c5813a500a
Use bytes per scan line from mode table. The previous implementation did
...
not reflect actual number of bytes when it was not exactly width * bpp * 8.
2010-02-03 22:17:30 +00:00
Jung-uk Kim
a95cde0132
Correct virtual address of frame buffer for non-linear mode.
...
Reported by: Marc UBM Bocklet (ubm dot freebsd at googlemail dot com)
2010-02-03 22:07:50 +00:00
Alexander Motin
8c38cd7ceb
Implement poll method for atapicam.
...
It is not perfect, but better then nothing.
2010-02-03 21:45:09 +00:00
Alexander Motin
fff784a8da
Report to CAM unit number of underlying ataX bus device, instead of this
...
atapicamX. It is more apropriate and useful together with "ata" name.
2010-02-03 21:26:54 +00:00
Matt Jacob
c8b8a2c4e6
Redo how commands handles are created and managed and implement sequence
...
numbers and handle types in rational way. This will better protect from
(unwittingly) dealing with stale handles/commands.
Fix the watchdog timeout code to better protect itself from mistakes.
If we run an abort on a putatively timed out command, the command
may in fact get completed, so check to make sure the command we're
timing it out is still around. If the abort succeeds, btw, the command
should get returned via a different path.
2010-02-03 21:09:32 +00:00
Gabor Kovesdan
7121df6349
- style(9)
...
Approved by: delphij (mentor)
2010-02-03 21:06:13 +00:00
Randall Stewart
1df3671344
-White space cleanup (missing spaces in new line)
...
-Remove extra tab.
-Took out the duplicate code that cprestore does.
All suggested by Neel.
2010-02-03 20:54:04 +00:00
Konstantin Belousov
60d818ef9c
Placate new binutils, by using 16-bit %ax instead of 32-bit %eax as an
...
argument for fnstsw. Explicitely specify sizes for the XMM control and
status word and X87 control and status words.
Reviewed by: das
Tested by: avg
MFC after: 2 weeks
2010-02-03 20:23:47 +00:00
Alexander Motin
a2bd4f84b9
Disable kern.cam.power_down ATM. It doesn't work fine on some controllers.
2010-02-03 20:00:56 +00:00
Ed Schouten
1e7a08440a
Also add a cross-reference to NetBSD updlastlogx().
2010-02-03 19:31:02 +00:00
Gabor Kovesdan
4ef0890415
- Remove dead variable assignments
...
- Fix -x
Submitted by: uqs
Approved by: delphij (mentor)
2010-02-03 19:13:41 +00:00
Gabor Kovesdan
12360c49dd
- style.Makefile(5)
...
Submitted by: uqs
Approved by: delphij (mentor)
2010-02-03 19:12:27 +00:00
Warner Losh
8f2411c3b5
Remove alpha support from here too. FreeBSD 6 was the last branch to
...
support it.
2010-02-03 18:32:29 +00:00
Warner Losh
c684b5612f
Remove more traces of the Alpha port.
2010-02-03 18:29:35 +00:00
Hajimu UMEMOTO
e60d067996
Add rc.d script for the rtsold(8) daemon.
...
The rtsol(8) handles just one RA then exit. So, the OtherConfig flag
may not be handled well by rtsol(8) in the environment where there are
multiple RA servers on the segment. In such case, rtsold(8) will be
your friend.
Reviewed by: hrs
MFC after: 2 weeks
2010-02-03 16:18:42 +00:00
Andriy Gapon
877a6d9994
acpi_cpu: correct capabilities arguments for Processor _OSC evaluation
...
Populate capabilities buffer according to
Intel Processor Vendor-Specific ACPI Interface Specification.
MFC after: 2 weeks
2010-02-03 14:35:33 +00:00
Randall Stewart
586df59eed
This fix makes it so the args are malloc'd before
...
we use them (always a good idea ;-0)
This was found and fixed by JC
Obtained from: JC (c.jayachandran@gmail.com )
2010-02-03 13:03:47 +00:00
Randall Stewart
1de48bf3a3
This fixes a bug found and fixed by JC. Basically
...
no save was being done of the ra and gp pointers
before we call the __error function.
Obtained from: JC (c.jayachandran@gmail.com )
2010-02-03 12:59:44 +00:00
Alexander Motin
4c9d5e6b0f
Disable PHY of unconnected ports when interface power management enabled.
...
It allows to save a bit more power (about 0.5W on 2 unused ports of ICH8M).
2010-02-03 12:00:57 +00:00
Rui Paulo
6c9462571f
Avoid a null pointer deref when parsing the meshid.
...
Found with: clang static analyzer
2010-02-03 10:12:49 +00:00
Rui Paulo
2b80a3409e
When taking the AMPDU reorder fastpath, need_tap wasn't being
...
initialized. Initialize on declaration to avoid this.
Found with: clang static analyzer
2010-02-03 10:07:43 +00:00
Alexander Motin
4ef08dc5a5
MFp4:
...
Add Power Up In Stand-by feature support. Device with PUIS enabled
require explicit command to do initial spin-up. Mark that command
with CAM_HIGH_POWER flag, to allow CAM manage staggered spin-up.
2010-02-03 10:06:03 +00:00
Alexander Motin
6f15a274a8
MFp4:
...
Make CAM to stop all attached devices on system shutdown.
It allows devices to park heads, reducing stress on power loss.
Add `kern.cam.power_down` tunable and sysctl to controll it.
2010-02-03 08:42:08 +00:00
David Xu
43271eacad
Fix comments in do_sem_wait().
2010-02-03 07:21:20 +00:00
Neel Natu
ae50475f5d
Reduce the size of the array used to store the TLB mappings for the kernel
...
stack from 3 to 2.
We only map in 2 pages for the kernel stack.
Approved by: imp (mentor)
2010-02-03 04:09:36 +00:00
David Xu
676e6574a1
After busied the lock, re-read state word before checking waiters flag,
...
otherwise, the waiters bit may not be set and a wakeup is lost.
Submitted by: justin.teller at gmail dot com
MFC after: 3 days
2010-02-03 03:56:32 +00:00
Warner Losh
e70f20b0e8
Remove another reference to alpha...
2010-02-03 02:39:08 +00:00
Oleksandr Tymoshenko
45a7687f90
- Give geom_redboot taste of flash/spi. Now there is another provider
...
of redboot partitions. This patch was missed during merge from
projects/mips.
2010-02-03 01:12:19 +00:00
Robert Watson
b10c6cf467
Only audit pathnames in namei(9) if copying the directory string completes
...
successfully. Continue to do this before the empty path check so that the
ENOENT returned in that case gets an empty string token in the BSM record.
MFC after: 3 days
2010-02-02 23:10:27 +00:00
Xin LI
38907b4cc7
Prevent NULL deference by checking return value of
...
gctl_get_asciiparam.
MFC after: 2 weeks
2010-02-02 22:25:22 +00:00
Qing Li
d577d18a00
Some of the existing ppp and vpn related scripts create and set
...
the IP addresses of the tunnel end points to the same value. In
these cases the loopback route is not installed for the local
end.
Verified by: avg
MFC after: 5 days
2010-02-02 20:38:30 +00:00
Gavin Atkinson
9ba42503a5
Bump .Dd, forgotten in r203393
...
Approved by: ed (mentor, implicit)
MFC after: 1 week
2010-02-02 19:44:51 +00:00
Gavin Atkinson
028a9a13eb
The multiplicand a = 0x5deece66d = 25214903917, not 0xfdeece66d.
...
This bug in the man page has gone unnoticed for over 15 years!
PR: docs/143461
Submitted by: Jeremy Huddleston jeremyhu apple.com
Approved by: ed (mentor, implicit)
MFC after: 1 week
2010-02-02 19:28:01 +00:00
Ed Schouten
61d38d61e2
Implement strndup(3) using strnlen(3).
...
This makes the implementation a bit more consistent with strdup(3),
which uses strlen(3).
2010-02-02 19:02:08 +00:00
Hajimu UMEMOTO
62fd5fd625
Exclude the interfaces which IPv6 and/or accepting RA is disabled
...
from the auto probed interface list.
MFC after: 1 week
2010-02-02 18:38:17 +00:00
Alexander Motin
7685edec41
Change the way in which fake async events generated. Do not use
...
taskqueue for lock decoupling, as it causes unwanted races.
2010-02-02 18:07:16 +00:00
Alexander Motin
a9b8edb194
- Use separate buffer for identify data fetching. We can't use main buffer
...
here if device already running, as data need to be formatted before use.
- Remove some saved_ccb variables. They are unused now.
2010-02-02 18:03:21 +00:00
Alexander Motin
e9d240ecf3
Some missed parts for r203376.
2010-02-02 17:56:54 +00:00