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
augustss
8c2cf4c7d8
Break out SIR framing to its own file.
2001-12-05 14:50:13 +00:00
mrg
c3409421aa
add commented BLINK option.
2001-12-05 13:29: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
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
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
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
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
augustss
3ead5262dd
Add some dongle support ioctl()s.
2001-12-04 23:33:33 +00:00
lukem
612e777b6e
s/defopt/defflag/
2001-12-04 23:14:48 +00:00
manu
9dfecbefdb
Fixed stack setup for argument passing. argc and **argv need to be aligned
...
on a 16 bytes boundary. To get things done, we currently duplicate a lot of
code from copyargs(), this should be done in a nicer way.
2001-12-04 22:13:41 +00:00
augustss
527fff66c0
Change speed setting a little.
2001-12-04 21:50:50 +00:00
augustss
e0b032d651
Add ir/ to SUBDIR.
2001-12-04 21:43:44 +00:00
ross
cbaa950b62
code cleanup for portability
2001-12-04 21:32:15 +00:00
augustss
64a9c02472
Implement speed setting.
2001-12-04 20:53:21 +00:00
jdolecek
a275d0a6b9
clarify copyright - this is all freshly written, no older code used
2001-12-04 20:51:23 +00:00
jdolecek
f1243fa104
add 'esp at mca? slot ?' and 'scsibus* at esp?'
2001-12-04 20:49:40 +00:00
jdolecek
7a12ca98ab
Make this NCR 53C90 driver work, using the chip information from
...
Tymm Twillman's Linux mca_53c9x driver.
Tested with external ZIP100 only.
2001-12-04 20:47:58 +00:00
jdolecek
c152d680d8
Add M_CANFAIL malloc(9) flag. This flag changes behaviour in M_WAITOK
...
case when the requested memory size can't ever be granted - instead
of panic, malloc(9) would return failure (NULL).
Note kernel code should do proper bound checking, rather than
depend on M_CANFAIL. This flag is only supposed to be used in very
special cases, where common bound checking is not appropriate.
Discussed on tech-kern@, name ``M_CANFAIL'' suggested by Chuck Cranor.
2001-12-04 20:13:19 +00:00
sommerfeld
ceb358f80c
Fix so these files build with options DEBUG enabled.
...
The change to edc_mca.c may not work as I don't have any mca hardware.
2001-12-04 20:00:15 +00:00
augustss
636b7788a1
Implement input processing (untested).
2001-12-04 19:56:43 +00:00
augustss
1db6a7d9df
Simplify interface to irframe.
2001-12-04 19:56:17 +00:00
thorpej
f7141449f2
When doing process_s87_to_xmm(), don't restore the "saved SW from
...
last exception"; the userland-visible fpreg structure doesn't
include it.
Pointed out by enami tsugutomo <enami@sm.sony.co.jp>.
2001-12-04 19:41:47 +00:00
thorpej
2684ea2b22
Don't declare which exec formats to support in loadfile_machdep.h.
...
Instead, give each user of loadfile() control over which exec formats
it wants to support.
2001-12-04 18:54:34 +00:00
is
0614c8a6ad
Really merge in Adam Ciarcinskis spl$foo() code, which should have been
...
in long ago.
2001-12-04 18:54:11 +00:00
christos
4950567ffc
Regen.
2001-12-04 18:46:51 +00:00
christos
9925bfcf9f
PR/13711: Peter Seebach: Symbol's Spectrum24 pcmcia/prism2 card isn't probed.
2001-12-04 18:46:30 +00:00
bjh21
5aee55caae
New file, describing what little I know of the layout of the Oak SCSI card.
2001-12-04 18:40:14 +00:00
christos
10b6cdd540
PR/14817: Gregory McGarry: NFS_V2_ONLY doesn't seem to work.
2001-12-04 18:38:08 +00:00
wiz
b4371d47f5
Replace some misuses of "then" with "than".
2001-12-04 17:56:30 +00:00
christos
f6f0ceea17
PR/14639: Ben Harris: Stick the rcsid's in the data segment via inline
...
assembly, so that we don't get duplicate symbol errors when we have multiple
__KERNEL_RCSID's
2001-12-04 16:44:55 +00:00
atatat
239aeafb2e
Fixes to eliminate some compiler complaints, such as:
...
suggest explicit braces to avoid ambiguous `else'
suggest parentheses around assignment used as truth value
2001-12-04 15:27:35 +00:00