Commit Graph

12763 Commits

Author SHA1 Message Date
Rui Paulo
9e760f2578 acpi_hp.c:
- sysctl dev.acpi_hp.0.verbose to toggle debug output
- A modification so this can deal with different array lengths
  when reading the CMI BIOS - now it works ok on HP Compaq nx7300
  as well.
- Change behaviour to query only max_instance-1 CMI BIOS instances,
  because all HPs seen so far are broken in that respect
  (or there is a fundamental misunderstanding on my side, possible
  as well). This way a disturbing ACPI Error Field exceeds Buffer
  message is avoided.
- New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to
  also query the highest guid instance of CMI bios

acpi_hp.4:
- Document dev.acpi_hp.0.verbose sysctl in man page
- Document new bit for dev.acpi_hp.0.cmi_detail
- Add a section to manpage about hardware that has been reported
  to work ok

Submitted by:	Michael Gmelin <freebsdusb at bindone.de>
Approved by:	re (kib)
MFC after:	2 weeks
2009-07-03 21:12:37 +00:00
Stanislav Sedov
b2d758545b - Add support to atomically set/clear individual bits of a MSR register
via cpuctl(4) driver.  Two new CPUCTL_MSRSBIT and CPUCTL_MSRCBIT ioctl(2)
  calls treat the data field of the argument struct passed as a mask
  and set/clear bits of the MSR register according to the mask value.
- Allow user to perform atomic bitwise AND and OR operaions on MSR registers
  via cpucontrol(8) utility.  Two new operations ("&=" and "|=") have been
  added.  The first one applies bitwise AND operaion between the current
  contents of the MSR register and the mask, and the second performs bitwise
  OR.  The argument can be optionally prefixed with "~" inversion operator.
  This allows one to mimic the "clear bit" behavior by using the command
  like this:
      cpucontrol -m 0x10&=~0x02		# clear the second bit of TSC MSR

  Inversion operator support in all modes (assignment, OR, AND).

Approved by:	re (kib)
MFC after:	1 month
2009-06-30 12:35:47 +00:00
Rui Paulo
0f73b657a9 acpi_wmi_if:
- Document different semantics for ACPI_WMI_PROVIDES_GUID_STRING_METHOD

acpi_wmi.c:
- Modify acpi_wmi_provides_guid_string_method to return absolut number of
  instances known for the given GUID.

acpi_hp.c:
- sysctl dev.acpi_hp.0.verbose to toggle debug output
- A modification so this can deal with different array lengths
  when reading the CMI BIOS - now it works ok on HP Compaq nx7300
  as well.
- Change behaviour to query only max_instance-1 CMI BIOS instances,
  because all HPs seen so far are broken in that respect
  (or there is a fundamental misunderstanding on my side, possible
  as well). This way a disturbing ACPI Error Field exceeds Buffer
  message is avoided.
- New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to
  also query the highest guid instance of CMI bios

acpi_hp.4:
- Document dev.acpi_hp.0.verbose sysctl in man page
- Document new bit for dev.acpi_hp.0.cmi_detail
- Add a section to manpage about hardware that has been reported
  to work ok

Submitted by:	Michael Gmelin, freebsdusb at bindone.de
Approved by:	re (kib)
MFC after:	2 weeks
2009-06-30 09:51:41 +00:00
Warner Losh
c173381881 Correct some minor nits with the 2BSD and 3BSD series of releases
based on the information at The Unix Historical Society web page
(http://www.tuhs.org/Unix_History).  Where multiple sources differ,
retain all data.  Prefer 2.79BSD to 2.7.9BSD, since the former is from
/LABEL form the actual release.  Use the /LABEL date as in the TUHS
tables (the curious can read http://minnie.tuhs.org/Unix_History/2bsd
for all the conflicting date confusion if they want).

Approved by:	re@
2009-06-26 07:11:14 +00:00
Doug Barton
2749b67262 Add the KNOWN-DEFECTS file back in for the 9.6.1 release. 2009-06-25 20:09:53 +00:00
Andrew Thompson
4e1c399323 Rename man4/if_bridge.4 to man4/bridge.4 in order to be consistent with other
peueso interfaces. The .Nm name hasnt been changed and all xrefs are still
valid.
2009-06-25 17:24:36 +00:00
Brian Somers
53c405786b Support shadow.byname and shadow.byuid maps, protecting them by
insisting on privileged port access.

Include /var/yp/Makefile.local if it exists and suggest using
it to override /var/yp/Makefile behaviour.

Approved by:	re (kib)
MFC after:	3 weeks
2009-06-25 16:15:39 +00:00
Luigi Rizzo
b94ee7c781 update the manpage to track existing options (including --iso),
and alphabetize them.

MFC after:	3 days
2009-06-25 09:28:04 +00:00
Bjoern A. Zeeb
98c230c87e Merge from p4: CH154790,154793,154874
Import if_epair(4), a virtual cross-over Ethernet-like interface pair.

Note these files are 1:1 from p4 and not yet connected to the build
not knowing about the new netisr interface.

Sponsored by:	The FreeBSD Foundation
2009-06-24 22:21:30 +00:00
Alexander Motin
f64d65b27e Document new hint.atapci.X.msi and hint.ata.X.pm_level tunables. 2009-06-24 19:25:47 +00:00
Jamie Gritton
de6f37045c Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by:	bz (mentor)
2009-06-24 18:18:35 +00:00
Andrew Thompson
b35f050eb2 Move programming info from usb(4) to usbdi(9) and update for the usb stack
changeover. Needs much more content still.
2009-06-24 17:01:17 +00:00
Robert Watson
36fecbf302 Add stack_print_short() and stack_print_short_ddb() interfaces to
stack(9), which generate a more compact rendition of a stack trace
via the kernel's printf.

MFC after:	1 week
2009-06-24 12:06:15 +00:00
Joel Dahl
0930c50786 Add one more reference to SEE ALSO. Sort while here.
Submitted by:	ariff
2009-06-23 21:37:12 +00:00
Joel Dahl
d775d1b346 Bring in a few mdoc/language fixes.
Submitted by:	ru
2009-06-23 21:24:21 +00:00
Konstantin Belousov
c9253e931d Usermode portion of the support for swap allocation accounting:
- update for getrlimit(2) manpage;
- support for setting RLIMIT_SWAP in login class;
- addition to the limits(1) and sh and csh limit-setting builtins;
- tuning(7) documentation on the sysctls controlling overcommit.

In collaboration with:	pho
Reviewed by:	alc
Approved by:	re (kensmith)
2009-06-23 20:57:27 +00:00
Marius Strobl
d54384d976 - Update regarding the support for SBus GEM added in r194763.
- Improve the description a bit and add a reference to vlan(4).
2009-06-23 20:38:35 +00:00
Rui Paulo
597c30a83f Fix double path issue and other nits.
MFC after:	2 weeks
2009-06-23 14:57:06 +00:00
Rui Paulo
df849145b5 * Driver for ACPI WMI (Windows Management Instrumentation)
* Driver for ACPI HP extra functionations, which required
  ACPI WMI driver.

Submitted by:	Michael <freebsdusb at bindone.de>
Approved by:	re
MFC after:	2 weeks
2009-06-23 13:17:25 +00:00
Joel Dahl
2014806da9 Start documenting some of the new sound stuff. More is on the way.
Probably also needs some more mdoc love.

Reviewed by:	ariff
2009-06-22 21:51:29 +00:00
Ed Schouten
6c9e1a22ef Improve sentence and add reference to openpty(3). Add missing newlines. 2009-06-20 16:30:32 +00:00
Brooks Davis
e8477da212 Document crcopysafe() and crsetgroups().
Reminded by:	julian
2009-06-19 19:16:35 +00:00
Edwin Groothuis
59d5849208 MFV of r194480
- Official start of Bangladesh DST.
2009-06-19 11:52:07 +00:00
Attilio Rao
651175c9db Introduce support for adaptive spinning in lockmgr.
Actually, as it did receive few tuning, the support is disabled by
default, but it can opt-in with the option ADAPTIVE_LOCKMGRS.
Due to the nature of lockmgrs, adaptive spinning needs to be
selectively enabled for any interested lockmgr.
The support is bi-directional, or, in other ways, it will work in both
cases if the lock is held in read or write way.  In particular, the
read path is passible of further tunning using the sysctls
debug.lockmgr.retries and debug.lockmgr.loops .  Ideally, such sysctls
should be axed or compiled out before release.

Addictionally note that adaptive spinning doesn't cope well with
LK_SLEEPFAIL.  The reason is that many (and probabilly all) consumers
of LK_SLEEPFAIL are mainly interested in knowing if the interlock was
dropped or not in order to reacquire it and re-test initial conditions.
This directly interacts with adaptive spinning because lockmgr needs
to drop the interlock while spinning in order to avoid a deadlock
(further details in the comments inside the patch).

Final note: finding someone willing to help on tuning this with
relevant workloads would be either very important and appreciated.

Tested by:	jeff, pho
Requested by:	many
2009-06-17 01:55:42 +00:00
Jung-uk Kim
31b6da64c7 Long long time ago, several utilities in base used to parse %c output and
we were not able to change c_fmt without breaking these utilities.  Since
ache fixed all known issues 8 years ago, now we make ko_KR more usable.
Better late than never...
2009-06-15 18:49:06 +00:00
Marius Strobl
7cd038bc98 Add a man page for cas(4) and reference it as appropriate.
Approved by:	re (kib)
MFC after:	2 weeks
2009-06-15 18:24:04 +00:00
Jung-uk Kim
54088afec3 AM/PM should come first in korean. 2009-06-15 16:32:17 +00:00
Edwin Groothuis
37489b2bed Undo the change in r193688 as suggested in conf/72076.
People on IRC and the -doc mailinglist (June 2009) showed that this
new format wasn't used or known widely enough to justify the change.
2009-06-15 02:17:10 +00:00
Bjoern A. Zeeb
ed655c8c07 Add an optional callback function that will be invoked when a per-CPU
queue was drained.  It will never fire for a directly dispatched packet.

You will most likely never want to use this for any ordinary netisr usage
and you will never blame netisr in case you try to use it and it does
not work as expected.

Reviewed by:	rwatson
2009-06-14 17:15:18 +00:00
Norikatsu Shigemura
e49d35049d Add myself.
Approved by:	imp (mentor)
2009-06-14 16:48:17 +00:00
Marius Strobl
eea665c4be Improve the description a bit and add a reference to vlan(4). 2009-06-14 14:46:20 +00:00
Bjoern A. Zeeb
44549f1334 Remove a line break leaving a function return type attached to the old
function declaration bottom rather than the new function declaration
start.
2009-06-14 12:11:15 +00:00
Edwin Groothuis
ce9fb75110 Add missing passthrough printing entries for VT100 and workalikes
in /etc/termcap:

    VT100 spec indicates that passthrough printing can be enabled
    by sending ESC[5i and disabled by sending ESC[4i These entries
    should be listed as po and pf in /etc/termcap, but are absent.
    See http://www.vt100.net/docs/vt102-ug/chapter5.html#S5.5.2.23

PR:		conf/71549
Submitted by:	Andrew Webster <andrew@pubnix.net>
MFC after:	1 week
2009-06-14 07:02:50 +00:00
Edwin Groothuis
d53aec4b54 Termcap updates for screen and linux console:
screen entry: F11-F20 keys added
	linux entry: F10-F20 keys added, ACS line graphics added

PR:		kern/108899
Submitted by:	Joseph Terner<jtsn@gmx.de>
MFC after:	1 week
2009-06-14 06:48:31 +00:00
Edwin Groothuis
f75e213b00 Add missing terminal definition for Wyse 120 in termcap
Although the PR contains also the definitions of the Wyse 60, they
are not copied into it since there are already definition for them
in the termcap file since 1997.

Also, the PR didn't use the :tc=xxx: feature, so I've imploded them.

PR:		conf/81882
Submitted by:	Meister des Chaos <meister@netz00.com>
MFC after:	1 week
2009-06-14 04:03:18 +00:00
Edwin Groothuis
3ce8237ad0 Add missing termcap entry for rxvt-unicode.
The termcap database does not have an entry for rxvt-unicode.
	This means that programs that need an entry such as vi fail
	to work when connecting via ssh using this terminal emulator.

The added data is not the same as the PR submitted by Richard, it
uses the :tc=xxx: option to inherit everything from rxvt-mono.

PR:		conf/117323
Submitted by:	Richard Bradshaw <richard.bradshaw@blueyonder.co.uk>
MFC after:	1 week
2009-06-14 03:34:54 +00:00
Edwin Groothuis
d7e47db675 Fix typo in cons25l7 definition in etc/termcap.small and share/termcap
There is a minor typo in the cons25l7 (':' instead of '|') entry
    in src/etc/termcap.small that causes syscons to complain about
    bogus characters in /etc/termcap.db.

PR:		conf/132777
Submitted by:	Nikos Ntarmos <ntarmos@cs.uoi.gr>
MFC after:	1 week
2009-06-12 23:43:19 +00:00
Edwin Groothuis
1dc0e27d12 Fix printing of some wide-characters by iswprint() on ja_JP.eucJP
and ja_JP.SJIS locale

    The iswprint() function does not return non-zero if used for
    some wide-character that it code was 0x824f-0x8258 on ja_JP.SJIS
    and 0xa3b0-0xa3b9 on ja_JP.eucJP locale.  But those are right
    Japanese wide-character code.

PR:		conf/124511
Submitted by:	Michihiro NAKAJIMA <ggcueroad@gmail.com>
MFC after:	1 week
2009-06-12 23:15:36 +00:00
Edwin Groothuis
a5599e5ade Add various new keymaps:
addition: danish syscons keymap with accents

    There are two danish keymap files shipping with FreeBSD:
    danish.iso.kbd and danish.cp865.kbd.  None of these support
    accents by use of dead keys, which isn't crucial to Danes but
    often used.  This is a new keymap, danish.iso.acc.kbd, that's
    based on danish.iso.kbd with the accent part taken from
    german.iso.acc.kbd.

pl_PL.dvorak keymap for syscons.

    Polish dvorak keymap by Robert Sebastian Gerus (17:05 01-07-2006
    CEST) <arachnist@gmail.com>. Based on pl_PL.ISO-8859-2 and
    us.dvorak keymaps.

British English Dvorak keymap for syscons.

    Attached is a Dvorak keymap for British English, with a
    pound-sterling symbol on on Shift-3 and some other characters
    in different places to the US Dvorak keymap. I've based the
    layout on the X.org GB keymap, Dvorak variant.

PR:		conf/72978, kern/99692, conf/117257
Submitted by:	Kim Norgaard <jasen@jasen.dk>, Robert Sebastian Gerus <arachnist@gmail.com>, "Benjamin A'Lee" <bma@subvert.org.uk>
MFC after:	1 week
2009-06-12 22:53:49 +00:00
Edwin Groothuis
61b25939df French translations for keyboards keymaps descriptions
French translations for keyboards keymaps descriptions with
    some corrections on existing translations in the
    /usr/share/syscons/keymaps/INDEX.keymaps

PR:		conf/71767
Submitted by:	Henri Michelon <hmichelon@e-cml.org>
MFC after:	1 week
2009-06-12 11:16:13 +00:00
Jung-uk Kim
a4cf065a39 ko_KR: AM/PM date format should be localized.
Inspired by:	r193869
2009-06-11 17:42:02 +00:00
Edwin Groothuis
a603018613 Add euro symbol to pt_PT locale using other encodings
PR:		conf/98815
Submitted by:	Rui Lopes <rgl@ruilopes.com>
MFC after:	1 week
2009-06-10 22:09:40 +00:00
Edwin Groothuis
84dc44d825 Croatian locale support for hr_HR.ISO8859-2
Without this patch /usr/share/locale/hr_HR.ISO8859-2/LC_COLLATE
	is a link to the ../la_LN.ISO8859-2/LC_COLLATE. It means
	that there is no support for Croatian locale.

PR:		conf/120113
Submitted by:	Simun Mikecin <numisemis@yahoo.com>
MFC after:	1 week
2009-06-10 21:55:38 +00:00
Edwin Groothuis
4cb828252c Invalid (long) date format in pl_PL.ISO8859-2.src
Date format is %a %e %b %X %Y %Z (e.g "sob 19 sty 15:46:50 2008 CET")
    but should be "%a %e %b %Y %X %Z" (e.g. "sob 19 sty 2008 15:46:50 CET").

PR:		conf/119804
Submitted by:	Bodek <bodek@blurp.org>
MFC after:	1 week
2009-06-10 21:45:18 +00:00
Edwin Groothuis
f8d7304fea add ca_AD, ca_FR and ca_IT locales
Catalan language is not only spoken in Spain (ca_ES), but also
    in Andorra, France and Italy. In Andorra it is the official
    language.

    (see http://en.wikipedia.org/wiki/Catalan_language#Geographic_distribution)

Add a bunch of symlinks to between ca_ES and ca_AD, ca_FR and ca_IT.

PR:		conf/92541
Submitted by:	<rmh@io.debian.net>
MFC after:	1 week
2009-06-10 12:20:11 +00:00
Sam Leffler
eddfd57fa7 Marvell 88W8363 driver and associated firmware 2009-06-10 03:35:40 +00:00
Sam Leffler
f057099fd5 iwn does not require a license ack 2009-06-10 03:28:34 +00:00
Pyun YongHyeon
ff24f05491 Add alc(4) man page and hook up ale(4) to the build.
Also add Xr to appropriate man pages.
2009-06-10 02:19:54 +00:00
Warner Losh
7adb51acc7 These are no longer public, so remove the man page. 2009-06-09 23:38:19 +00:00
Edwin Groothuis
20b8d23489 ja_JP: AM/PM date format should be localized.
ja_JP.eucJP and ja_JP.SJIS fixes.

PR:		conf/63527
Submitted by:	Yukihiro Nakai <nakai@gnome.gr.jp>
MFC after:	1 week
2009-06-09 22:33:34 +00:00