Commit Graph

12919 Commits

Author SHA1 Message Date
ed
f49c0a7c60 Switch the default terminal emulation style to xterm for most platforms.
Right now syscons(4) uses a cons25-style terminal emulator. The
disadvantages of that are:

- Little compatibility with embedded devices with serial interfaces.
- Bad bandwidth efficiency, mainly because of the lack of scrolling
  regions.
- A very hard transition path to support for modern character sets like
  UTF-8.

Our terminal emulation library, libteken, has been supporting
xterm-style terminal emulation for months, so flip the switch and make
everyone use an xterm-style console driver.

I still have to enable this on i386. Right now pc98 and i386 share the
same /etc/ttys file. I'm not going to switch pc98, because it uses its
own Kanji-capable cons25 emulator.

IMPORTANT: What to do if things go wrong (i.e. graphical artifacts):

- Run the application inside script(1), try to reduce the problem and
  send me the log file.
- In the mean time, you can run `vidcontrol -T cons25' and `export
  TERM=cons25' so you can run applications the same way you did before.
  You can also build your kernel with `options TEKEN_CONS25' to make all
  virtual terminals use the cons25 emulator by default.

Discussed on:	current@
2009-11-13 05:54:55 +00:00
delphij
8fed657163 Revert revision 199201 for now as it has introduced a kernel vulnerability
and requires more polishing.
2009-11-12 19:02:10 +00:00
delphij
13a19ef806 Add interface description capability as inspired by OpenBSD.
MFC after:	3 months
2009-11-11 21:30:58 +00:00
roam
4a75dbfba2 Correct the information about the doceng@ team members - Murray Stokely
stepped down some time ago, about the same time as Giorgos Keramidas
joined the team.

PR:		140465
Submitted by:	Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw>
MFC after:	2 weeks
2009-11-11 11:37:43 +00:00
ume
9a5427c4c5 Add unit to the short month names for Japanese locales.
Without unit, the output of the application like ls(1)
is complicated.

Reviewed by:	nork
MFC after:	1 week
2009-11-11 11:24:02 +00:00
dougb
b7c38a9739 s/a default/the default/
Submitted by:	remko
2009-11-10 19:50:28 +00:00
dougb
b45a5b23cb Add a note about no hostname leading to "Amnesiac" on the console
The text is inspired by the PR, but more in line with the existing text

PR:		docs/140434
Submitted by:	Jason Helfman <jhelfman@e-e.com>
2009-11-10 03:18:49 +00:00
edwin
66d73d4028 MFV of r199105, tzdata2009r:
- Three Australian stations in Antarctica have changed their time zone:
  Casey moved from UTC+8 to UTC+11
  Davis moved from UTC+7 to UTC+5
  Mawson moved from UTC+6 to UTC+5
  The changes occurred on 2009-10-18 at 02:00 (local times).

MFC after:	3 days
2009-11-09 20:49:12 +00:00
mav
1090fbd418 Introduce hw.hptrr.attach_generic loader tunable to deny hptrr driver
attach chips with generic Marvell (non-HighPoint) PCI identification.
These chips are also supported by ata(4). Some vendors, like Supermicro,
are using same chips without providing HPT RAID BIOS.

PR:		kern/120842, kern/136750
2009-11-08 11:33:51 +00:00
yongari
3a38d3c210 88E8057(Ultra 2) is now supported. 2009-11-07 01:18:03 +00:00
mav
82c8b8b842 Document support for more chips. 2009-11-06 11:17:33 +00:00
ru
8885a01eb6 Revert the spelling of Taiwan to be politically neutral in accordance
with the policy published at http://www.freebsd.org/internal/i18n.html.

Requested by:	core (murray)
2009-11-05 10:01:15 +00:00
delphij
16733ea919 Cleanup code to make it WARNS=6 clean:
- ANSIfy prototypes;
 - Add __unused for parameters that is not being currently used;
 - Add a header for subrountines being called from other modules.

Reviewed by:	mjacob
2009-11-04 23:36:23 +00:00
delphij
0dbcd15dd2 Include string.h for prototype of strcmp(). 2009-11-04 21:12:33 +00:00
benno
00142187e9 Fix typo (noded -> nodes). 2009-11-04 04:12:56 +00:00
edwin
bee6d1c953 MFV of tzdata2009q:
- New region: Asia/Novokuznetsk
- Kemerovo oblast' (Kemerovo region) in Russia will change current
  time zone on 29 March 2010
- Add historical data for Hongkong 1941 - 1980
- Syria will go to winter time in the last weekend of October 2009.

MFC after:	2 days
2009-11-02 21:44:10 +00:00
brueffer
8169c493e6 Use our canonical .Dd format.
Submitted by:	Ulrich Spoerlein
2009-11-02 12:35:38 +00:00
remko
1bb3c658ee Document the WWWSUPFILE variable.
PR:		137723
Submitted by:	Sofian Brabez <sbrabez at gmail dot com>
Approved by:	imp (mentor, implicit)
MFC after:	3 days
Facilitated by:	Snow B.V.
2009-11-02 12:03:04 +00:00
brueffer
67a7fb76e5 Revert part of r198363, there is no "device cam", it is
included in "device scbus".

MFC after:	3 days
2009-10-29 15:59:27 +00:00
ru
0bbb7d3211 Back in 2003, get_cyclecount() was changed to use binuptime() instead
of nanotime().  Reflect this change in a manpage.

Reviewed by:	phk, markm
2009-10-29 09:45:05 +00:00
brueffer
def6f61a23 Fix date (1) and SEE ALSO section.
Submitted by:	Ulrich Spoerlein (1)
MFC after:	1 week
2009-10-28 14:39:27 +00:00
brueffer
9bc12ec29a Fix typos and mdoc style. 2009-10-27 17:22:03 +00:00
emaste
7e19eab5d0 Add link for callout_schedule(9). 2009-10-27 14:37:25 +00:00
edwin
2f2e91a07a MFV of tzdata2009p
Merge of r198513

- Argentina does not go to DST this year.
2009-10-27 11:13:51 +00:00
lulf
37ff8c8914 - Add support for Marvell Yukon 88E8042 device.
Submitted by:	Mario Lobo <mlobo -at- digiart.art.br>
Approved by:	yongari
2009-10-25 21:46:38 +00:00
brueffer
7f6f8d226e Spell out the name of the month. 2009-10-25 17:47:52 +00:00
rpaulo
5c019ebe37 Update according to the latest iwn(4) driver import. 2009-10-25 11:01:53 +00:00
rpaulo
21910a3b9f Replace ocurrences of FreeBSD CURRENT by FreeBSD 8.0.
MFC after:	2 days
2009-10-24 11:32:02 +00:00
edwin
aea2f51e44 Move comments to the beginning of the line to make it look better.
Thank to ru@ for his noticing of it.

MFC after:	1 week
2009-10-22 20:59:51 +00:00
ru
e7d2f7c61c Unbreak NO_WARNS, keeping CSTD effect on CFLAGS out of its control.
Unbreak compiles with icc.
2009-10-22 11:45:35 +00:00
brueffer
9fc9704227 List more dependencies for these drivers. While here, convert
atapicam(4) to use our standard section 4 SYNOPSIS layout.

PR:		132525
Submitted by:	gcooper
MFC after:	3 days
2009-10-22 11:35:12 +00:00
pjd
ad79268f42 Remove self-reference. 2009-10-22 08:38:27 +00:00
edwin
ec50bd2dc0 After the installation of the /usr/share/zoneinfo, run tzsetup if
/var/db/zoneinfo exists.

MFC after:	1 week
2009-10-21 20:59:12 +00:00
rdivacky
7e253ca5eb Set CSTD in all cases except when CC=icc and NO_WARNS is set. This
way we can set desired C standard even for cross tools etc.

Tested by:	make universe
Approved by:	ed (maintainer)
OK by:		das
2009-10-21 17:07:46 +00:00
brueffer
4f6964cf37 Improve the description of the malofw kernel module installation.
PR:		132193
Submitted by:	Frank Staals <frank@fstaals.net>
Based on a patch by: gavin
MFC after:	3 days
2009-10-21 09:22:40 +00:00
avg
310374cce6 ichwd.4: fix r198272, restore watchdogd(8) reference
In r198272 I didn't notice that watchdog(8) and watchdogd(8)
are different things and instead of fixing watchdogd markup
I simply nuked the line.

Noticed by:	emaste
Pointy hat to:	avg
2009-10-20 14:06:07 +00:00
avg
56cfce5eef minor: fix sorting of some amd* entries in some makefiles
MFC after:	1 week
2009-10-20 13:22:54 +00:00
avg
f987b7e2e6 ichwd.4: remove a stray line
Nod from:	des
MFC after:	3 days
2009-10-20 09:32:22 +00:00
edwin
71670235af MFV of tzdata2009o:
- Somoa has not moved to DST this year (comment only)
- Bangladesh stays on DST for now.
- Pakistan went back to standard time in 1 October 2009

MFC after:	1 week
2009-10-20 07:03:06 +00:00
brueffer
20e3818c03 Powercrypt and NetSec seem to be defunct (webpages point to link farms
and a google search yields no alternative).  Remove the links but
keep the entries around for reference.

PR:		139756
Submitted by:	Patrick Oonk <patrick@pine.nl>
MFC after:	3 days
2009-10-19 14:36:12 +00:00
maxim
c1e0edc6e9 o OpenBSD 4.6 added. 2009-10-18 17:10:39 +00:00
weongyo
b2cb9a5d81 adds devices supportted by urtw(4) and bumps date. 2009-10-18 00:46:59 +00:00
neel
1c42761b9b Add myself.
Approved by: imp (mentor)
2009-10-17 00:33:55 +00:00
brueffer
4fa5145d52 Sort SEE ALSO. 2009-10-16 12:32:07 +00:00
jhb
45688ed39d Add a facility for associating optional descriptions with active interrupt
handlers.  This is primarily intended as a way to allow devices that use
multiple interrupts (e.g. MSI) to meaningfully distinguish the various
interrupt handlers.
- Add a new BUS_DESCRIBE_INTR() method to the bus interface to associate
  a description with an active interrupt handler setup by BUS_SETUP_INTR.
  It has a default method (bus_generic_describe_intr()) which simply passes
  the request up to the parent device.
- Add a bus_describe_intr() wrapper around BUS_DESCRIBE_INTR() that supports
  printf(9) style formatting using var args.
- Reserve MAXCOMLEN bytes in the intr_handler structure to hold the name of
  an interrupt handler and copy the name passed to intr_event_add_handler()
  into that buffer instead of just saving the pointer to the name.
- Add a new intr_event_describe_handler() which appends a description string
  to an interrupt handler's name.
- Implement support for interrupt descriptions on amd64 and i386 by having
  the nexus(4) driver supply a custom bus_describe_intr method that invokes
  a new intr_describe() MD routine which in turn looks up the associated
  interrupt event and invokes intr_event_describe_handler().

Requested by:	many
Reviewed by:	scottl
MFC after:	2 weeks
2009-10-15 14:54:35 +00:00
brueffer
9902cc8e38 Use our standard section 4 SYNOPSIS.
MFC after:	3 days
2009-10-15 11:32:05 +00:00
jhb
43b02493d8 Oops, add a return values section to note that these routines return an error
on failure or zero on success.
2009-10-14 16:00:20 +00:00
jhb
8f8a23ab53 Add a manual page for BUS_BIND_INTR() and bus_bind_intr().
MFC after:	1 week
2009-10-14 15:58:59 +00:00
brueffer
98d1caad62 Improved one-line description of this module (taken from NOTES). 2009-10-09 10:03:41 +00:00
simon
1f37fb0d49 - Document that 'Dell PowerEdge R710' has bce(4) supported NIC.
- Bump document date.

MFC after:	3 days
2009-10-07 13:45:12 +00:00