bjh21
4c64633edc
Remove more acorn32 leftovers.
2001-12-08 01:16:53 +00:00
minoura
3e9a826813
Add -p option to suppress creating the partition table.
2001-12-08 00:51:03 +00:00
thorpej
165f442f86
Update for "coredumps now exec-format/emulation specific".
2001-12-08 00:37:07 +00:00
thorpej
205c159f0e
Make the coredump routine exec-format/emulation specific. Split
...
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).
2001-12-08 00:35:25 +00:00
chris
6bcb608ef3
Reintroduce these header files so that cats kernels can build. Fallout from Jason reverting the includes stuff.
2001-12-07 23:09:32 +00:00
matt
ee7afa77b2
Fix sense of if to grab address from alternation if srom is not in isv
...
format on Davicom chips. Add sparc specific case in this case to call
myetheraddr if oui is all 0s (for Netra X1).
2001-12-07 21:13:58 +00:00
fredette
178a439b58
Regen.
2001-12-07 14:21:18 +00:00
bjh21
20d6672fda
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
2001-12-07 12:58:43 +00:00
yamt
272f471ee0
add detach support for st.
2001-12-07 11:26:30 +00:00
hannken
de07b4b524
Protect `opt_sparc_arch.h'. Used from /sys/arch/sparc/stand/boot.
2001-12-07 11:00:39 +00:00
itojun
33429d0612
correct timing to increment icmp6 MIB variables. sync with kame
2001-12-07 10:10:43 +00:00
onoe
d5d707cf1d
Add 82801BAM as piix.
...
Do not initialize global variables 'pciintr_icu_tag' to NULL.
Its type is 'const struct pciintr_icu *' (typedef'ed) and gcc sometimes(!)
put it in Text region. So force arrrange it to BSS.
2001-12-07 08:07:57 +00:00
onoe
e7357c0007
Regen: Add HPB and LPC functions of 82801BAM.
2001-12-07 08:00:35 +00:00
onoe
c971f89005
Add HPB and LPC functions of 82801BAM.
2001-12-07 07:59:24 +00:00
cjs
b445461d1e
Rebuild these to fix the "generated from" line.
2001-12-07 07:43:10 +00:00
jdolecek
3d4c59a8ee
Back off previous for now, Jason thinks it's not right. Will discuss
...
on tech-kern@
2001-12-07 07:09:29 +00:00
cjs
9dd4ce03d0
Add Palm m500/m505 and Sony Clie USB cradle device IDs.
2001-12-07 06:59:44 +00:00
minoura
a5d9ca13b1
New target: release.
2001-12-07 06:52:14 +00:00
minoura
7bd6e6b999
Correct typo.
2001-12-07 06:51:47 +00:00
fredette
b596abc4ed
Picked up some old scheduler changes. Now the sun2 locore
...
corresponds tightly to revision 1.81 of the sun3 locore.
2001-12-07 05:24:56 +00:00
briggs
f9d1ec360b
16 partitions -- agree with files.sandpoint
2001-12-07 05:20:57 +00:00
briggs
757139f41d
Disable ws* until we can have a working vga* at pci.
2001-12-07 05:10:59 +00:00
briggs
43fd0c736b
Add INSTALL kernel (copy from RAMDISK).
2001-12-07 05:10:17 +00:00
bjh21
8a16a572d7
Remove references to things that have disappeared in the acorn32 split.
2001-12-06 23:51:04 +00:00
simonb
e7a7551978
Convert the byte_swap_* macros from GNUish ({ ... }) extensions to
...
static inline functions.
2001-12-06 23:25:43 +00:00
christos
d343ff07bf
remove diagnostic test checking for cr_ref = 0. It will never be, because
...
free() will stick 0xdeadbeef into it.
2001-12-06 23:11:59 +00:00
jdolecek
255ce12e50
replace FIF_WANTCLOSE/FIF_LARVAL with FWANTCLOSE/FLARVAL, which are set
...
in f_flag of struct file
for now, keep former f_iflags of struct file as _f_spare0, it will be g/c'ed
when struct file will be changed (this will happen soon)
2001-12-06 22:34:24 +00:00
fredette
2fe9375188
Tweaked whitespace and, in comments only, added % to make this
...
file much easier to compare to its sun3 cousin.
2001-12-06 21:05:12 +00:00
jdolecek
27b0006d34
it doesn't make sense to wait for resources during autoconfiguration
2001-12-06 21:04:27 +00:00
augustss
ba528e6dec
Small change to Christos' fix: allow malloc() to return NULL, but complain
...
if it does.
2001-12-06 20:00:58 +00:00
christos
94074f1212
change the malloc arg from NOWAIT to WAITOK; pointed out by lennard.
2001-12-06 19:54:02 +00:00
christos
dbabce6bb7
PR/14852: Martin Husemann: Allocate the slotdata the the probed slot before
...
we call the configuration function. Thanks lennard for pointing it out.
XXX: Someone should look this over and make sure that the current strategy
makes sense.
2001-12-06 19:52:56 +00:00
jdolecek
142dc2740c
g/c, eventual port of newer FreeBSD smbfs will go to sys/fs/smbfs
2001-12-06 19:01:44 +00:00
kleink
bc1f5761e3
Recognize the MK48T18 as well (differs from the MK48T08 only in packaging
...
options and voltages).
2001-12-06 18:54:23 +00:00
augustss
22fd9bbb5f
Add IrDA related defines.
2001-12-06 17:00:26 +00:00
soren
00755fc870
options space tab.
2001-12-06 16:51:31 +00:00
augustss
ebdd7a70ea
Uncomment IrDA devices since they seem to work now.
2001-12-06 16:35:09 +00:00
rafal
a76d350acc
Fix component class/types to match reality for SGI's ARCS, which is just
...
different enough from stock ARC to be annoying.
2001-12-06 14:59:02 +00:00
wiz
d10951fb07
File contents not interesting anymore, and even partially wrong.
...
Remove it. Ok'd by chuq.
2001-12-06 13:56:35 +00:00
rafal
23e1fa1306
Fix PR 13465 by Krister Walfridsson: memory initialization used uninitialized
...
variable to start off the write pattern (how ironic! 8-).
2001-12-06 13:18:22 +00:00
bjh21
352d57f9e1
Remove IOMD support, since NetBSD/arm32 doesn't support IOMD systems any more.
2001-12-06 11:54:07 +00:00
msaitoh
72f2d1c3a3
#endif ... -> #endif /* ... */
2001-12-06 10:28:40 +00:00
chs
163b4fbc50
in vinvalbuf(), vtruncbuf() and vflushbuf(), don't skip calling
...
VOP_PUTPAGES() just because the vnode has no pages. layered filesystems
will want to pass these calls on through to the underlying filesystem,
and non-layered filesystems may need to remove the vnode from the
syncer queues. fix up MP locking and add some locking assertions.
fixes PRs 12284 and 14640.
2001-12-06 04:34:33 +00:00
chs
0931f31deb
add a VOP_PUTPAGES method for all the filesystems that don't have pages.
...
do all the work for destroying syncfs vnodes in vfs_deallocate_syncvnode()
to make some new assertions work out.
2001-12-06 04:30:49 +00:00
chs
1361ca58eb
be consistent, clear VONWORKLST when we take a syncer vnode off the
...
syncer list.
2001-12-06 04:29:55 +00:00
chs
4d14671458
add VOP_GETPAGES and VOP_PUTPAGES methods for layered filesystems.
...
drop the interlock on the upper layer, acquire the interlock on the
lower layer.
2001-12-06 04:29:23 +00:00
chs
3b229c5a51
use the genfs VOP_GETPAGES and VOP_PUTPAGES.
2001-12-06 04:28:07 +00:00
chs
5a690c92a1
add a VOP_PUTPAGES method for all the filesystems that don't have pages,
...
just unlock the interlock.
2001-12-06 04:27:40 +00:00
minoura
da36b95207
Sync with mvme68k.
2001-12-06 04:13:39 +00:00
minoura
bf3ea26688
Add ELF support.
2001-12-06 04:13:12 +00:00
lukem
c3a9ebdf37
fix comment
2001-12-06 04:02:22 +00:00
sommerfeld
39424268c6
Use #if defined(FOO_CPU) instead of #if FOO_CPU just to be picky.
...
Spotted by Thomas Klausner.
2001-12-06 01:56:19 +00:00
lukem
1546835120
Replace nfs_hash() (with its extremely bad hash) with a macro to call
...
hash32_buf() to obtain a 32 bit hash. On some tests I ran I obtained
a 30x improvement in hash distribution and a 6x reduction in time spent
in nfs_nget().
2001-12-06 01:26:36 +00:00
augustss
604ea366d4
Restructure to get rid of size limit.
...
Fix return value bug.
2001-12-06 00:17:12 +00:00
augustss
5ef96ebab2
Don't crash on early calls to get the speeds.
2001-12-06 00:11:18 +00:00
thorpej
8d9d5216ec
More complete conversion of the XMM-format tag word to i387-format
...
tag word.
2001-12-06 00:01:36 +00:00
lukem
78fd77ad3f
don't need nfs_hash prototype here
2001-12-05 23:58:14 +00:00
augustss
ec901ec7fe
Regen.
2001-12-05 23:25:56 +00:00
augustss
12812553f8
Add a NEC USB 2.0 hub. (USB 2.0 hubs are very rare creatures at the moment!)
2001-12-05 23:25:31 +00:00
atatat
52c50e165b
Use more parentheses to make the compiler happy.
2001-12-05 22:16:30 +00:00
atatat
d2c23d82a1
TRY_SCSI_LINKED_COMMANDS is a param, not a flag.
2001-12-05 22:15:05 +00:00
atatat
7ac1189351
Remove a redundant definition of __KERNEL_RCSID() that was redundantly
...
defined.
2001-12-05 21:06:51 +00:00
bouyer
3fe7074804
Compile with NWD == 0. Fixe kern/14844 by hamajima@nagoya.ydc.co.jp.
2001-12-05 20:43:00 +00:00
augustss
b24bbb4d82
Constify a little.
2001-12-05 20:00:15 +00:00
augustss
47fffba901
Add dongle specific code.
2001-12-05 19:59:54 +00:00
fredette
1a3eaeafd8
Now generate oosiop.out, the compiled 53c700 script.
2001-12-05 18:34:19 +00:00
fredette
ba3be8d408
Generated from oosiop.ss rev. 1.1:
...
Initial compiled script for 53c700.
2001-12-05 18:32:55 +00:00
fredette
60c77bb2f1
Added support for the Symbios/NCR 53c700 SCSI controller.
...
This chip is very similar to the 53c710, except that it's
missing a few registers, doesn't do relative jumps and
doesn't have the table-indirect addressing mode.
I have checked that this still generates the same output
on the existing scripts for the other chips.
2001-12-05 18:31:53 +00:00
fredette
8dce160cd1
New script for the Symbios/NCR 53c700 SCSI controller.
...
This is closely related to osiop.ss, the script for the
53c710.
2001-12-05 18:27:13 +00:00
atatat
2f31dcd126
It's not called "opt_fpuemulate.h", it's called "opt_fpu_emulate.h". :)
2001-12-05 18:04:35 +00:00
augustss
fe61017def
Add (commented out) irframetty.
2001-12-05 16:48:03 +00:00
augustss
88b5ed0731
Use NULL instead of 0 in a few places.
2001-12-05 16:12:42 +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
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