thorpej
3e6164e173
Make a comment about what pcmcia_detach_card() should do.
1998-11-14 01:54:25 +00:00
thorpej
1d03badef0
Implement a way to queue kernel threads for creation after init,
...
pagedaemon, reaper, etc. Caller provides a callback function and
argument which will be called to create the threads.
1998-11-14 00:08:49 +00:00
is
be4fc8e1b9
Simplify program structure to save a few bytes.
1998-11-13 22:12:35 +00:00
thorpej
d23593a784
Make vfs_sysctl() work.
1998-11-13 20:15:32 +00:00
thorpej
a3574d12b6
Clean up the NFS sysctl variables.
1998-11-13 20:09:54 +00:00
thorpej
1eebbab4db
Some changes to make the vfs. sysctl toplevel work. Wow, we really need
...
a new sysctl interface.
1998-11-13 20:08:06 +00:00
thorpej
faf2211fef
{b,c}dev_decl(raid), like some other disk devices.
1998-11-13 20:04:11 +00:00
mycroft
1115f2e840
Er, NSIG is one *more* than the number of signals.
1998-11-13 17:23:52 +00:00
mycroft
d6ffecf67c
Oops; signal numbers are 1..NSIG, not 0..NSIG-1.
1998-11-13 17:12:54 +00:00
christos
9a95622add
cast _mcount args to u_long, to avoid lint warnings.
1998-11-13 13:50:52 +00:00
drochner
a0c0e7eff1
fix egcs warning
1998-11-13 13:47:56 +00:00
drochner
acdd660ace
fix callback type
1998-11-13 13:45:15 +00:00
christos
0da3503ec5
make sysctl newp argument const void * to avoid const castaway warnings in
...
many places in the source. Unfortunately I am not fixing right now the
second argument from u_int to size_t because it is going to break some
ports. In anycase, the sysctl interface will change shortly.
1998-11-13 12:07:51 +00:00
christos
f44085b9f0
cast lh of shift operator to unsigned to avoid lint "non portable" warnings.
1998-11-13 12:06:05 +00:00
christos
d9616f8756
cast args of ntohl() and htonl() to u_int32_t to avoid lint warnings.
1998-11-13 12:04:49 +00:00
simonb
a9c167b273
prototype un-prototyped functions
1998-11-13 11:51:55 +00:00
simonb
8e893eff9e
Add braces around 'if' to pacify egcs
1998-11-13 11:48:26 +00:00
lukem
cc41dfe747
simplify test in in_pcbbind() for setting wild=1; no need to check if
...
((so->so_proto->pr_flags & PR_CONNREQUIRED) == 0 ||
(so->so_options & SO_ACCEPTCONN) == 0)
since the latter is always true, so the former test in unnecessary.
from `TCP/IP Illustrated, Volume 2', W. Richard Stevens, p 730.
1998-11-13 10:50:10 +00:00
mycroft
5ab6a8555e
Fix one last bug in the multicast filter calculation.
...
sdr and vic work now, at least.
1998-11-13 09:37:46 +00:00
mycroft
56aafbe295
Remove bogus change that cause cpu_fork() to panic.
1998-11-13 09:19:26 +00:00
lukem
6ff594779a
oops - missing ","
1998-11-13 06:11:42 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
oster
38a3987b69
RAIDframe, version 1.1, from the Parallel Data Laboratory at
...
Carnegie Mellon University. Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.
1998-11-13 04:20:26 +00:00
thorpej
2f3f9379cf
Add a couple more file systems to mountcompatnames[] (even though they
...
didn't exist in 4.3BSD or NetBSD 0.9) and always put the table into
the kernel. It's going to be needed for VFS sysctls.
1998-11-13 04:12:35 +00:00
eeh
08af05f929
Fix 32-bit gcc scheduling problems.
1998-11-13 03:47:15 +00:00
thorpej
0e3a0a7f80
Once a fragmented IP packet has been reassembled, recompute the packet
...
length before passing it up the stack. From FreeBSD.
1998-11-13 03:24:22 +00:00
mhitch
7b16048c5a
Fix the Right-Shift on the LK501 keyboard in a different way. My previous
...
attempt results in the up and down arrows not repeating in the X server.
The keyboard division table is modified to place the Right-Shift keycode
into division 6 along with the Left-Shift and Control. A corresponding
change to the X server lk201 keyboard handler is also required.
1998-11-13 01:59:51 +00:00
thorpej
de234f5dda
Pseudo-device definition and files for RAIDframe, CMU PDL's RAID 0, 1, 4, 5,
...
6 implementation + simulator.
From Greg Oster <oster@netbsd.org>.
1998-11-13 01:16:19 +00:00
thorpej
17bfc42d6d
Add DTYPE_RAID.
1998-11-13 01:05:51 +00:00
thorpej
d272bb0024
Handle the case where ccdbuffer() fails due to memory shortage. Build
...
a fifo of component buffers, and free them if ccdbuffer() fails. Once
all component buffers are build, run through the fifo and fire off the
requests to the components.
1998-11-13 01:00:15 +00:00
thorpej
092c201932
Simplify calling of ccdbuffer() now that the mirroring code is nuked.
1998-11-13 00:35:57 +00:00
thorpej
ab27c3f89c
Return EINVAL if invalid flags are passed.
1998-11-13 00:31:02 +00:00
thorpej
00172c10d5
Nuke the mirroring code. RAIDframe is about to go in, and is a much
...
better mirroring solution.
The ccd driver will stay, even in the presence of RAIDframe, for applications
where just RAID-0 is needed (much smaller code footprint).
1998-11-13 00:26:19 +00:00
thorpej
b6ac7c9b6b
Must use PR_NOWAIT when allocating component buffers.
1998-11-12 22:39:57 +00:00
fvdl
fb1a849339
Use different names for the "nfscon" label to tsleep(), so that it can
...
be seen in which one a process is sleeping.
1998-11-12 22:31:02 +00:00
rvb
b148b1ea84
Oops, I didn't mean to let that last commit get out. Though
...
maybe Havard should look at the changes (to make INSTALL smaller)
and see if any are general/reasonable for everyone.
1998-11-12 21:51:02 +00:00
thorpej
05c4e40b41
defopt the APM options.
1998-11-12 21:32:16 +00:00
rvb
7f2a4a5331
Perry said I should ... enable pms0 for GENERIC
1998-11-12 21:12:34 +00:00
thorpej
1fcae7f1be
defopt FFS_EI
1998-11-12 19:51:10 +00:00
christos
e78e086623
change the id arg of ftok from char to int.
1998-11-12 16:15:45 +00:00
christos
551ff5c2a0
use one define per static array instead of defining all three with DKTYPENAMES
1998-11-12 15:52:21 +00:00
bouyer
56107b8e10
Force PCI_COMMAND_MASTER_ENABLE if DMA has been setup properly. The BIOS is
...
supposed to do it but who knows ...
1998-11-12 15:05:29 +00:00
drochner
a16b0cc7db
regen
1998-11-12 14:09:20 +00:00
drochner
0c0b302fba
-add an NE2000 clone, info from PR kern/6430
...
-add comment for PCNET/isapnp (ID is vendor specific)
1998-11-12 14:06:34 +00:00
ws
99d394c267
Typo
1998-11-12 14:00:06 +00:00
mycroft
8146c925da
If we get a TX interrupt with no packets buffered, ignore it. This can occur
...
if the chip is reset while transmitting.
XXX
This occurs at boot time because the SIOCADDMULTI always resets the interface
when adding the `all hosts groups' -- usually while the ARP packet is being
transmitted. All drivers should be fixed to not reset the interface when
changing the multicast filter, if possible.
1998-11-12 13:18:26 +00:00
mycroft
b8974fbf40
Fix yet another bogon in the multicast filter calculation.
1998-11-12 13:03:51 +00:00
thorpej
b29c33e2a0
Update for the new state of the world: pciide, wscons, and a slight
...
change in how PCI-Host bridges are matched.
1998-11-12 01:04:06 +00:00
tron
76a221aca5
Sync with "GENERIC".
1998-11-12 00:57:29 +00:00
thorpej
ad77ef01b4
Add kern/kern_kthread.c
1998-11-11 22:46:32 +00:00