Commit Graph

210784 Commits

Author SHA1 Message Date
christos
e694c7c9d0 make krb5 compile again. XXX: one function left that is deprecated, what's
the new equivalent?
2012-04-22 23:26:19 +00:00
wiz
7ee504a202 Sync with reality, From Abhinav Upadhyay in private mail. 2012-04-22 21:29:27 +00:00
wiz
1c81341419 Add HISTORY section. From Abhinav Upadhyay in private mail. 2012-04-22 21:27:07 +00:00
christos
e32ea54e40 From Bob Lee [glee at force10networks dot com], Preserve the have fpu context
bit for compat_16 signals, because the old 1.6 context does not deal with the
fpu.
2012-04-22 20:36:52 +00:00
dholland
91ee0b0011 Update NAME (to include msk, mskc) and clarify checksum offload statements
based on PR 36580.
2012-04-22 19:42:23 +00:00
rmind
999d4270af i686_mtrr_init_first: handle the case when there are no variable-size MTRR
registers available (i686_mtrr_vcnt == 0).
2012-04-22 18:59:41 +00:00
christos
0758b27308 don't include <sys/rnd.h> before we define cn_trap, because it might bring
in <sys/systm.h>
2012-04-22 16:00:45 +00:00
christos
37a2b6f0c2 use setenv so that we don't leak memory. 2012-04-22 15:55:41 +00:00
christos
7006e67fd8 Bring in fix from:
http://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=43804
Allows libmudflap to compile on m68k:

/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c: In function
'__mf_wrap_alloca_indirect':
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1: error:
insn does not satisfy its constraints:
(insn 360 142 68 13
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-impl.h:257 (set (reg/f:SI
6 %d6 [159])
        (const:SI (unspec:SI [
                    (symbol_ref:SI ("__mf_state_1") [flags 0x50]
<var_decl 0x7f7ff7304d20 __mf_state_1>)
                     (const_int 1 [0x1])
                 ] 6))) 36 {*movsi_m68k}
(nil))/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1:
internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
2012-04-22 15:15:46 +00:00
khorben
1ffeba3ee9 Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself
2012-04-22 14:32:08 +00:00
khorben
cc841e7557 Also lookup and be able to lit the LED for the Compose key. Seems to
require additional modifications to function properly in X though.

No objection on current-users@
2012-04-22 14:25:14 +00:00
khorben
283a1bc555 Convert keycodes 0x7f, 0x80 and 0x81 to PMF events VOLUME_TOGGLE,
VOLUME_UP and VOLUME_DOWN as observed on my Sun Type 7 USB keyboard, and
according to the documentation mentioned above.

"works here" macallan@ and myself
2012-04-22 14:19:24 +00:00
khorben
70d954e8fe Indent the trtab_gdium_fn array like surrounding variables.
No objection on current-users@
2012-04-22 14:13:32 +00:00
pgoyette
6ecf19e095 Identify SMBus block-mode operations.
XXX Nothing in the kernel issues block-mode commands, and each i2c bus
XXX driver needs its own support for the block-mode operations.
2012-04-22 14:10:36 +00:00
khorben
58cd88d402 Fixed a potential out-of-bounds array access when translating keycodes
for the gdium keyboard.

Reviewed by macallan@
2012-04-22 14:04:45 +00:00
rkujawa
ac50450e2c Fix typo 2012-04-22 12:23:22 +00:00
wiz
6ffe8aa8a8 Remove duplicate Pp. Remove trailing whitespace. Sort sections. 2012-04-22 10:23:39 +00:00
wiz
cc7b4e18c8 Sort sections. Remove superfluous Ns macro. 2012-04-22 10:22:08 +00:00
wiz
c090f09873 Sort SEE ALSO; new sentence, new line. 2012-04-22 10:19:15 +00:00
wiz
c5308616ec Sort sections, sort SEE ALSO. 2012-04-22 10:19:00 +00:00
wiz
1cc71411f8 Sort SEE ALSO. 2012-04-22 10:13:52 +00:00
martin
51f1919a26 Do not compare si_addr (address of faulting instruction) against the
unaligned data address causing the fault - this will always fail.
If anybody knows a portable way to get the data address involved in the
fault, please fix the test case as originally intended.
2012-04-22 08:52:26 +00:00
tsutsui
f5e4f3d0bd Fix typo in comments. 2012-04-22 07:23:42 +00:00
jruoho
24d5434adb As in Linux, prevent BIOS from trying to map addresses beyond ULONG_MAX. 2012-04-22 06:33:04 +00:00
tsutsui
e70f6aa789 Add two optional variables for liveimage/installimage builds:
---
	MBR_BOOTCODE
		optional MBR bootcode which should be installed by fdisk(8)
		(default: empty)
		- specified MBR_BOOTCODE must exist in ${DESTDIR}/usr/mdec
		- if MBR_BOOTCODE is not specified,
		  MBR_DEFAULT_BOOTCODE (default: mbr) will be used
		  if the target ${MACHINE} has the one in /usr/mdec

	INSTALLBOOTOPTIONS
		options passed to installboot(8), e.g., -o console=com0
		(default: empty)
---
Proposed by Brook Milligan on current-users@:
http://mail-index.NetBSD.org/current-users/2012/04/16/msg019892.html

Also make USE_MBR work on ${MACHINE}s which don't have the default
/usr/mdec/mbr bootcode. (no such port has the liveimage target yet though)

XXX: tools fdisk(8) implicitly uses host's /usr/mdec/mbr for the default
XXX: bootcode even for non-x86 targets if host is x86
2012-04-22 05:24:39 +00:00
uebayasi
c0c935250f Consistent declaration. 2012-04-22 03:57:00 +00:00
uebayasi
eabd60ab7f Add newline at end of file; fix ALL build for me. 2012-04-22 03:47:53 +00:00
jakllsch
d4e00d5a6c Use usbd_get_device_descriptor() instead of groping for it directly
in the usbd_device struct.
2012-04-22 01:31:48 +00:00
rmind
4b8ea8ed96 Improve the assert message. 2012-04-21 22:38:25 +00:00
rmind
5cf69dcee9 - pmap_tlb_shootdown: do not overwrite tp_cpumask with pm_cpus, but merge
like pm_kernel_cpus.  Remove unecessary intersection with kcpuset_running.
  Do not reset tp_userpmap if pmap_kernel().
- Remove pmap_tlb_mailbox_t wrapping, which is pointless after recent changes.
- pmap_tlb_invalidate, pmap_tlb_intr: constify for packet structure.
2012-04-21 22:22:48 +00:00
christos
243696ae20 Alignment fault traps push the error code automatically, so don't use ZTRAP! 2012-04-21 18:52:36 +00:00
roy
27c1dc0dc5 Fix build 2012-04-21 14:39:35 +00:00
roy
258cf0abec Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
blymn
35253f4b16 Fix build break if curses is built without wide char support 2012-04-21 11:33:16 +00:00
blymn
0f995dfd31 Remove trailing whitespace 2012-04-21 11:31:59 +00:00
veego
ed1ef0512a Add usr.bin to the exclude list for make includes.
This is no longer needed after flex was moved to the external framework.
2012-04-21 08:28:00 +00:00
jruoho
2ef8e9d811 Avoid harmless compiler (integer) warnings. 2012-04-21 01:15:13 +00:00
manu
ae04a0ba81 Do not set PUFFS_KFLAG_CACHE_FS_TTL for PUFFS tests 2012-04-21 01:03:46 +00:00
christos
3fd38f84eb If we are asked to step on ptid(-1,0,0), then step on our inferior_thread
instead, which is the main thread instead of the currently executing thread
which is not what we want, since we've been running and nother thread might
have just started.
2012-04-21 00:16:35 +00:00
rmind
893357500f Mention support for 256 CPUs on amd64. 2012-04-20 22:43:19 +00:00
rmind
0c79472223 - Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use
kcpuset(9) and thus replace hardcoded CPU bitmasks.  This removes the
  limitation of maximum CPUs.

- Support up to 256 CPUs on amd64 architecture by default.

Bug fixes, improvements, completion of Xen part and testing on 64-core
AMD Opteron(tm) Processor 6282 SE (also, as Xen HVM domU with 128 CPUs)
by Manuel Bouyer.
2012-04-20 22:23:24 +00:00
tls
848fd25c3d Fix a bug and a compilation problem. Bug: spin mutexes don't have owners,
so KASSERT(!mutex_owned()) shouldn't be used to assert that the current
LWP does not have the mutex.  Compilation problem: explicitly include
sys/mutex.h from rnd.h so evbarm builds again.
2012-04-20 21:57:33 +00:00
bouyer
976962ad8c Add a bustype_async_event_xfer_mode() callback to scsipi_bustype (which can
be NULL), so that transport-specific details of transfer mode setting/printing
can be handled more easily.
Move scsipi_async_event_xfer_mode() and scsipi_print_xfer_mode() to
scsi_base.c and split in parallel scsi and FC/SAS parts.
size of struct scsipi_bustype has changed, welcome to 6.99.5
2012-04-20 20:23:20 +00:00
christos
e0f6e43eb5 add __PRETTY_FUNCTION__ 2012-04-20 18:35:28 +00:00
jym
e7ffd7b1f7 PSL_AC is user-settable. 2012-04-20 18:28:43 +00:00
christos
0bcf0d6f44 PR/46360: YAMAMOTO Takashi: Restore NetBSD-5 compatibility with putenv()
copying the passed string (which is not ToG compliant), instead of using
it directly in the environment arrat as it should. Needs to be pulled up
to NetBSd-6.
2012-04-20 17:31:29 +00:00
joerg
2839b8fcc3 Do not wrap other header files with extern "C". 2012-04-20 16:20:45 +00:00
matt
ca66ac7ad4 Don't use the current value of maccfg2. 2012-04-20 13:51:48 +00:00
adam
a92b391e5e Fix building tools 2012-04-20 13:28:27 +00:00
christos
7c8eec143a fix cast in local macro 2012-04-20 13:20:39 +00:00