Commit Graph

88991 Commits

Author SHA1 Message Date
augustss
88b5ed0731 Use NULL instead of 0 in a few places. 2001-12-05 16:12:42 +00:00
augustss
f0e6efec63 Remove extra / in path name. 2001-12-05 16:11:37 +00:00
augustss
81f90d8cd3 Use the right name to decide if we should use irframe entry. 2001-12-05 16:10:09 +00:00
augustss
bd8b498c42 Do SIR framing on incoming frames. 2001-12-05 15:51:11 +00:00
wiz
9dde6cdf61 Drop a trailing space. 2001-12-05 15:05:15 +00:00
wiz
d318231f3d Sort options. Improve english in DIAGNOSTICS.
[Pointed at this file by augustss.]
2001-12-05 15:03:27 +00:00
augustss
8c2cf4c7d8 Break out SIR framing to its own file. 2001-12-05 14:50:13 +00:00
enami
20b9d83486 proc0 isn't the init. 2001-12-05 13:51:43 +00:00
mrg
c3409421aa add commented BLINK option. 2001-12-05 13:29:24 +00:00
mrg
15e86089fb add some sparc64 specific options. 2001-12-05 13:28:54 +00:00
augustss
3316c2f3bc Add irdaattach(8). 2001-12-05 12:50:52 +00:00
ad
6b286ee8f2 +malloc_roundup.0. 2001-12-05 12:45:36 +00:00
ad
079e2a0548 Document malloc_roundup(). 2001-12-05 12:44:24 +00:00
wiz
31fcd50433 Use defparam instead of defflags for some bktr(4) related options that need
a value.  Add BKTR_REVERSE_MUTE to defflags.
2001-12-05 11:41:16 +00:00
wiz
700a908aad Sort options. Use .Pp instead of empty line. Improve English in DIAGNOSTICS. 2001-12-05 11:18:08 +00:00
lukem
ebbf3dddb5 rework fsnode' into two components; fsnode' contains the name and tree
information and a link to the appropriate fsinode, and `fsinode' contains
the inode information and a reference count. multiple fsnodes may point
to the same fsinode.  this replaces the 'dup' pointer in the previous code.
2001-12-05 11:08:53 +00:00
simonb
20a3ef2b53 Remove some debug printf()s. 2001-12-05 10:54:51 +00:00
enami
4654f5c754 Implement sigismasked() correctly. KNF while I'm here. 2001-12-05 07:32:24 +00:00
lukem
0de64177a3 add hash(9) 2001-12-05 07:31:24 +00:00
lukem
c06546a2cc add <sys/hash.h> 2001-12-05 06:57:35 +00:00
lukem
e35019c17b Add <sys/hash.h>, which currently implements three inline functions:
uint32_t hash32_buf(const void *buf, size_t len, uint32_t ihash)
	return 32 bit hash of buf, size len,
	seeded with initial hash of ihash (usually HASH32_BUF_INIT).
	this hash may use a different algorithm to hash32_str() and
	hash32_strn().

    uint32_t hash32_str(const void *buf, uint32_t ihash)
	return 32 bit hash of buf, which is an NUL terminated ascii string,
	seeded with initial hash of ihash (usually HASH32_STR_INIT).
	this hash may use a different algorithm to hash32_buf()
	but must use the same algorithm as hash32_strn().

    uint32_t hash32_strn(const void *buf, size_t len, uint32_t ihash)
	return 32 bit hash of buf, which is an NUL terminated ascii string
	up to a maximum of len bytes,
	seeded with initial hash of ihash (usually HASH32_STR_INIT).
	this hash may use a different algorithm to hash32_buf()
	but must use the same algorithm as hash32_str().

As discussed on tech-kern@netbsd.org.
2001-12-05 06:51:55 +00:00
rafal
7919399e4a Since gprof builds on mips platforms happily, add a mips*-*-netbsd* case
that doesn't add it to noconfigdirs.
2001-12-05 05:56:57 +00:00
rafal
9307d1bdb2 Add toolchain2netbsd generated files for gdb build on mipseb. 2001-12-05 05:50:43 +00:00
lukem
d121c52699 enable WARNS?=2 2001-12-05 05:50:22 +00:00
rafal
9b61c2acc2 Fix up netbsdY' or netbsdZ' in various places where toolchain2netbsd
stripped netbsd1.5[YZ] to netbsd[YZ].  toolchain2netbsd should probably
be whacked to DTRT as well.
2001-12-05 05:49:41 +00:00
rafal
49df24a942 Add MIPS (both target and host) support to the NEW_TOOLCHAIN GDB, based on
the 4.17 NetBSD support from our tree.  Original port by Chris Sekiya, with
minimal tweaks and cleanups by me (mainly: build bi-endian by default, add
NetBSD kcore support back).
2001-12-05 05:31:44 +00:00
chs
5e5ab17808 fix the sense of a MULTIPROCESSOR conditional, cpus after the first are
not configured if MULTIPROCESSOR is *not defined.
2001-12-05 05:13:50 +00:00
chs
f0d9c43220 fix macppc MULTIPROCESSOR compilation. 2001-12-05 05:02:10 +00:00
lukem
c0d0f0b31c convert from macros to static inlines. allen briggs confirms resultant code
is the same with -Ox, for x>0 (as expected).
2001-12-05 04:37:28 +00:00
augustss
9c8fe0b8c5 Put bytes on right q. 2001-12-05 04:31:02 +00:00
augustss
0913a897a5 Set error code for IRDA_RESET_PARAMS. 2001-12-05 04:30:24 +00:00
augustss
af5eb6fc8c Fix some minor bug.
Add more debugging.
2001-12-05 04:07:06 +00:00
augustss
b81ddff1a7 Reset parameters on open. 2001-12-05 04:06:32 +00:00
augustss
efade85d8e Make the right defaults for kbdmux and mux locators. 2001-12-05 04:05:37 +00:00
simonb
a9f73b2015 s/defopt/defparam/ in previous; from lukem. 2001-12-05 03:50:09 +00:00
simonb
8a32c6fbfa Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask. 2001-12-05 03:24:57 +00:00
augustss
44350c3eee Xref irdaattach(8). 2001-12-05 02:12:25 +00:00
augustss
6c60cf7faa Another xref. 2001-12-05 02:11:23 +00:00
augustss
4d606df9c2 Add a program to attach the IrDA frame level driver to a serial line.
Pretty much like slattach(8).
2001-12-05 02:09:40 +00:00
minoura
88031f5a81 Correct LINKS to install sdboot_ufs properly. 2001-12-05 02:07:09 +00:00
enami
76858f7620 When initially allocating or extending arrays in struct uvm_amap,
adjust allocation size using malloc_roundup().  This eliminates many
unnecessary malloc/memcpy calls.
2001-12-05 01:33:09 +00:00
enami
996ee10484 Introduce new function malloc_roundup(), suggested by Bill Sommerfeld
on tech-kern.
2001-12-05 01:29:04 +00:00
augustss
037eb62a0f Mention that much of the code was stolen from Tommy Bohlin. 2001-12-05 01:13:58 +00:00
thorpej
03efee5585 * Allow machine-dependent code to specify hooks for ptrace(2)
(__HAVE_PTRACE_MACHDEP) and procfs (__HAVE_PROCFS_MACHDEP).
  These changes will allow platforms like x86 (XMM) and PowerPC
  (AltiVec) to export extended register sets in a sane manner.

* Use __HAVE_PTRACE_MACHDEP to export x86 XMM registers (standard
  FP + SSE/SSE2) using PT_{GET,SET}XMMREGS (in the machdep
  ptrace request space).
* Use __HAVE_PROCFS_MACHDEP to export x86 XMM registers via
  /proc/N/xmmregs in procfs.
2001-12-05 00:58:05 +00:00
enami
fbfa7f8e61 No need to zero clear after amap->am_bckptr[amap->am_nslot], since we're
clearing corresponding elements in an array amap->am_anon[].
2001-12-05 00:34:05 +00:00
enami
d2391ede6a Remove extern from function prototype. 2001-12-05 00:00:10 +00:00
enami
769949847d KNF and other cosmetic changes. 2001-12-04 23:56:36 +00:00
wiz
04b24f8e2a Misc fixes. 2001-12-04 23:42:02 +00:00
augustss
3ead5262dd Add some dongle support ioctl()s. 2001-12-04 23:33:33 +00:00
augustss
56c82209ee Update with irframe API descriptions. 2001-12-04 23:29:14 +00:00