Pyun YongHyeon
6280f2fb34
Mini ring is not available on Tigon 1 so do not create DMA maps for
...
mini ring on Tigon 1 to save resources.
2011-11-07 22:17:44 +00:00
Pyun YongHyeon
7beaf112a5
Track which ring was updated in RX handler and update only modified
...
ring. This should reduce unnecessary register accesses.
2011-11-07 22:11:38 +00:00
Mikolaj Golub
82841ae6f8
When displaying process virtual memory mappings print superpage
...
mapping flag.
Submitted by: Mel Flynn <mel.flynn+fbsd.hackers@mailing.thruhere.net>
Reviewed by: alc, rwatson
2011-11-07 21:16:19 +00:00
Mikolaj Golub
5384d08913
Add KVME_FLAG_SUPER and use it in sysctl_kern_proc_vmmap for marking
...
entries with superpages.
Submitted by: Mel Flynn <mel.flynn+fbsd.hackers@mailing.thruhere.net>
Reviewed by: alc, rwatson
2011-11-07 21:13:19 +00:00
Mikolaj Golub
bde886fba4
In lim_fork() assert that processes locks are held.
...
Suggested by: kib
2011-11-07 21:09:04 +00:00
Ed Schouten
f1b61fc829
Ensure pam_lastlog removes the /dev/ component of the TTY name.
...
Some consumers of PAM remove the /dev/ component (i.e. login), while
others don't (i.e. su). We must ensure that the /dev/ component is
removed to ensure that the utmpx entries properly work with tools such
as w(1).
Discussed with: des
MFC after: 1 week
2011-11-07 19:57:42 +00:00
Pyun YongHyeon
18707510b7
o Remove unnecessary controller reinitialization.
...
o Do not blindly UP controller when MTU is changed. Reinitialize
controller only if driver is running.
o Remove useless ti_stop() in ti_watchdog() since ti_init_locked()
always invokes ti_stop().
2011-11-07 18:26:38 +00:00
Pyun YongHyeon
bb6ebb6af8
Remove ti_unit member variable in softc.
...
While I'm here use PCIR_BAR macro.
2011-11-07 18:19:20 +00:00
Marcel Moolenaar
82543c5928
Don astbestos garment and remove the warning about TMPFS being experimental
...
-- highly experimental even. So far the closest to a bug in TMPFS that people
have gotten to relates to how ZFS can take away from the memory that TMPFS
needs. One can argue that such is not a bug in TMPFS. Irrespective, even if
there is a bug here and there in TMPFS, it's not in our own advantage to
scare people away from using TMPFS. I for one have been using it, even with
ZFS, very successfully.
2011-11-07 16:21:50 +00:00
Ed Schouten
6472ac3d8a
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.
...
The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.
2011-11-07 15:43:11 +00:00
Gleb Smirnoff
37c1ff48a9
In icmp6_redirect_input:
...
- Assert that we got a valid mbuf with rcvif pointer. [1]
- Use __func__ in logging.
Submitted by: prabhakar lakhera <prabhakar.lakhera gmail.com> [1]
Submitted by: Kristof Provost <kristof sigsegv.be> [1]
2011-11-07 14:22:18 +00:00
Ed Schouten
0c66031ab1
Remove unneeded CFLAGS.
...
Such optimisations should not be performed in this Makefile. Also, uqs@
suggested they have no effect, because the checksum of the resulting
binary is unchanged.
Discussed with: gabor, uqs
2011-11-07 09:42:22 +00:00
Andrey V. Elsukov
2a9cd9b3a1
Remove a note about disabling of GEOM protection mechanism.
...
boot0cfg should work without such hack.
MFC after: 3 days
2011-11-07 09:29:10 +00:00
Andrey V. Elsukov
7411f128dd
Reorganize write_mbr() function to be able write bootcode with different
...
ways. Improve error reporting and also fix indenting.
Now we are trying to write bootcode:
1. Directly to provider (if we can open it for writing);
2. Via GEOM_PART (if it is available);
3. Via GEOM_MBR.
MFC after: 2 weeks
2011-11-07 09:21:18 +00:00
Andrey V. Elsukov
b06ce6855c
Fix multi-line comment formatting.
...
MFC after: 2 weeks
2011-11-07 07:51:10 +00:00
Andrey V. Elsukov
39e9a28fdf
Fix multi-line comment formatting.
...
Pointed by: jh
MFC after: 1 week
2011-11-07 07:50:35 +00:00
Ed Schouten
1063f9291e
SDT's struct sdt_argtype can be marked static everywhere.
...
It is only passed to SYSINIT/SYSUNINIT.
2011-11-07 07:09:38 +00:00
Ed Schouten
d745c852be
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.
...
This means that their use is restricted to a single C file.
2011-11-07 06:44:47 +00:00
Andrey V. Elsukov
fd1ca22afb
Improve error reporting when MBR can not be written.
...
Remove obsolete code which uses DIOCSMBR ioctl.
When writing MBR first check that GEOM_MBR is available, if it is not
available, then try write MBR directly to provider. If both are failed,
then recommend to use gpart(8).
MFC after: 2 week
2011-11-07 06:24:35 +00:00
Ryan Stone
add89852d6
Replace fasttrap_copyout() with uwrite(). FreeBSD copyout() is not able to
...
write to the .text section of a process.
Obtained from: rpaulo
MFC after: 3 days
2011-11-07 01:55:58 +00:00
Ryan Stone
166808c625
Fix the DTrace pid return trap interrupt vector. Previously we were using
...
31, but that vector is reserved.
Without this fix, running dtrace -p <pid> would either cause the target
process to crash or the kernel to page fault.
Obtained from: rpaulo
MFC after: 3days
2011-11-07 01:53:25 +00:00
Hans Petter Selasky
e6c503f75a
Fix build breakage for 8-stable and older.
...
MFC after: 0 days
2011-11-06 23:26:26 +00:00
Hans Petter Selasky
13ceb65482
Add support for new USB modem protocol.
...
PR: usb/159919
MFC after: 1 week
2011-11-06 23:11:30 +00:00
Marius Strobl
f5cd6038aa
Freeze the device queue if a request didn't complete without error and
...
isn't already frozen.
2011-11-06 22:28:13 +00:00
Marcel Moolenaar
fd1c5f4365
Add check-password.4th and screen.4th to the boot image. They are
...
needed by the loader.
2011-11-06 21:57:12 +00:00
Marius Strobl
56b5737cdc
Add missing comma.
...
Submitted by: brueffer
2011-11-06 21:54:27 +00:00
Marius Strobl
906a009e02
Commit man page update missed in r227006.
2011-11-06 21:33:50 +00:00
Andrey V. Elsukov
1b100fd31b
Initialize "acc" value inside the loop to reset failed attempts.
...
PR: misc/162262
MFC after: 3 days
2011-11-06 21:12:52 +00:00
Christian Brueffer
212b1d6d4f
Add qlxgb(4).
...
MFC after: 3 days
2011-11-06 20:59:07 +00:00
Christian Brueffer
8814105fe1
Add qlxgb(4) to the hardware notes.
...
MFC after: 3 days
2011-11-06 20:49:17 +00:00
Andrey V. Elsukov
395a625c6d
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:42:32 +00:00
Andrey V. Elsukov
99e57974a6
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:39:35 +00:00
Andrey V. Elsukov
9a5e36b804
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:38:27 +00:00
Christian Brueffer
c1a7f0eb09
Write QLogic consistently.
...
MFC after: 3 days
2011-11-06 20:37:17 +00:00
Andrey V. Elsukov
fd4bbf84f2
Add recommendation to use gpart(8) when user tries write disklabel
...
or bootcode to already opened provider.
MFC after: 1 week
2011-11-06 20:32:55 +00:00
Ed Schouten
a35353de88
Partially revert r227233.
...
The privs.h header is not only used by at(1), it's also used by
atrun(8). Just let the code the way it used to be (for now).
Reported by: kwm, tinderbox
Hat to: me
2011-11-06 20:30:21 +00:00
Ed Schouten
8f80f103b4
Remove MALLOC_DECLAREs of nonexisting malloc-pools.
...
After careful grepping, it seems none of these pools can be found in our
source tree. They are not in use, nor are they defined.
2011-11-06 20:16:50 +00:00
Michael Tuexen
7dd1259f73
Initialize all components of the sent COOKIE.
...
MFC after: 3 days.
2011-11-06 20:09:22 +00:00
Andrey V. Elsukov
b11075cdeb
Remove unneeded checks.
...
MFC after: 1 week
2011-11-06 19:03:07 +00:00
Ed Schouten
3a01367a9b
Mark global functions and/or variables in spray(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:49 +00:00
Ed Schouten
f69e32f1cd
Mark global functions and/or variables in snapinfo(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:43 +00:00
Ed Schouten
0aa42e81b2
Mark global functions and/or variables in rmt(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:37 +00:00
Ed Schouten
d1931b8065
Mark global functions and/or variables in rip6query(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:31 +00:00
Ed Schouten
4da4d0013d
Mark global functions and/or variables in pwd_mkdb(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:25 +00:00
Ed Schouten
7a106fe473
Mark global functions and/or variables in moused(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:20 +00:00
Ed Schouten
4d4fda8051
Mark global functions and/or variables in mixer(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:13 +00:00
Ed Schouten
6ea612c7ab
Mark global functions and/or variables in memcontrol(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:59 +00:00
Ed Schouten
d938340a93
Mark global functions and/or variables in fdread(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:54 +00:00
Ed Schouten
e8f386b409
Mark global functions and/or variables in devinfo(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:48 +00:00
Ed Schouten
d35fcc6826
Mark global functions and/or variables in chown(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:41 +00:00