jhay
0b538034b3
Make sigreturn() work properly by zeroing mc_onstack like Bruce suggested.
...
Restore dos_makepath() functionality to pre r1.5 days.
1999-11-08 17:28:46 +00:00
jkh
af24dd0170
Add the latest categories.
1999-11-08 16:23:34 +00:00
jkh
8417239202
Defensive coding to prevent a potential segfault.
...
PR: 14706
Submitted by: ru
1999-11-08 16:19:25 +00:00
yokota
934bb28b94
- Document SC_TWOBUTTON_MOUSE, SC_NORM_ATTR, SC_NORM_REV_ATTR,
...
SC_KERNEL_CONS_ATTR and SC_KERNEL_CONS_REV_ATTR.
Nudged by eivind
1999-11-08 14:16:48 +00:00
phk
ab35df5a74
remove a confusing and stale comment.
1999-11-08 13:52:57 +00:00
phk
3e649437d2
Oops, a bit too hasty there.
1999-11-08 13:08:02 +00:00
jkh
4f4156cb29
Allow distributions to be excluded more easily in scripts.
...
Submitted by: Brian Dean <brdean@unx.sas.com>
1999-11-08 11:51:57 +00:00
phk
57a1b53168
Ignore leading 'r' in base of root device name.
1999-11-08 11:44:51 +00:00
yokota
5b90185d7f
- This is the new version of libvgl jointly developed by sos and I.
...
It adds new functions and extend some structures and can handle
VESA modes.
- Update the man page.
- Bump the library version number.
(The old version will be added to compat3x.)
1999-11-08 11:37:46 +00:00
yokota
6b891b634b
- Added the following options; they have existed in syscons
...
for sometime, but haven't been registered here.
SC_NORM_ATTR
SC_NORM_REV_ATTR
SC_KERNEL_CONS_ATTR
SC_KERNEL_CONS_REV_ATTR
PR: kern/13176
1999-11-08 10:59:48 +00:00
yokota
060ce4c0b5
- Added a new kernel configuration option: SC_TWOBUTTON_MOUSE.
...
The new option will make the right mouse button the `paste' button.
Useful for two button mice.
Submitted by: morganw@engr.sc.edu (Wes Morgan)
1999-11-08 10:04:29 +00:00
phk
e6b1d22771
Various cleanups.
1999-11-08 09:59:34 +00:00
phk
d078ae5ffe
simplify check for device.
1999-11-08 09:59:17 +00:00
yokota
08dbd4e20b
- Removed SC_VIDEO_DEBUG. It is broken and useless now.
1999-11-08 09:57:16 +00:00
peter
e5e0ffb3a7
Zap DEV_DRIVER_MODULE(). The New world order is that drivers create their
...
dev nodes with make_dev() in a devfs-compatable way by supplying names.
This doesn't fit into a compile-time scheme like DEV_DRIVER_MODULE,
especially since the cdevsw[] array's days are numbered.
1999-11-08 08:12:05 +00:00
peter
f4f3e6b797
Zap devsw_module_handler().
1999-11-08 08:10:00 +00:00
peter
2b55618762
Use cdevsw_add() explicitly and DRIVER_MODULE().
1999-11-08 07:57:03 +00:00
peter
3d459b4aed
Call id_drvinit() from attach, not probe as the OS hasn't necessarily
...
decided which driver to use until attach. Use DRIVER_MODULE().
1999-11-08 07:56:10 +00:00
peter
5b37dfdd4b
Take a shot at using cdevsw_add() to get it working again. This really
...
needs to use make_dev().
1999-11-08 07:51:28 +00:00
peter
a323a1a83c
Use cdevsw_add() until the rest of the devices are created with make_dev()
...
and change from DEV_DRIVER_MODULE() to DRIVER_MODULE().
1999-11-08 07:46:28 +00:00
peter
a253f72fce
Use DRIVER_MODULE(), apm.c already takes care of it's devices with
...
make_dev().
1999-11-08 07:44:26 +00:00
phk
3c8d543dde
Rename remove_dev() to destroy_dev().
...
Nagged about by: msmith
1999-11-08 07:44:01 +00:00
peter
f0e609c8f7
Use (temporarily) cdevsw_add() so we can change from DEV_DRIVER_MODULE()
...
to DRIVER_MODULE().
1999-11-08 07:37:15 +00:00
peter
6c85184e2d
Use cdevsw_add() (temporarily) to avoid DEV_DRIVER_MODULE(), since the
...
make_dev()'s that are there are not enough.
1999-11-08 07:32:06 +00:00
peter
0838268996
Use DEVICE_MODULE() directly instead of DEV_DRIVER_MODULE. psm.c uses
...
make_dev() already.
1999-11-08 07:29:23 +00:00
peter
8f14894e4d
Use cdevsw_add() explicitly as a workaround for DEV_DRIVER_MODULE().
...
This should be changed to use make_dev() at some point.
1999-11-08 07:24:55 +00:00
peter
630652b41e
No need to use DEV_DRIVER_MODULE() since the bktr driver calls make_dev().
...
Roger: Feel free to change or spam this as you please.
1999-11-08 07:20:07 +00:00
peter
98626677f4
Don't let drivers that use DEV_DRIVER_MODULE() compile as they won't
...
work and will leave a system stranded.
1999-11-08 07:14:07 +00:00
peter
757541c042
ulpt.c and ums.c already uses make_dev(), so there's no need to use the
...
(presently broken) DEV_DRIVER_MODULE(). Use DRIVER_MODULE() directly.
1999-11-08 07:10:48 +00:00
peter
bee7b4d5d6
Don't indirect via devsw_module_handler() for DEV_MODULE() routines, have
...
the supplied (if any) function and argument called directly.
1999-11-08 06:56:19 +00:00
peter
056ef56b07
A hack basically.. We have a bunch of code that used to call
...
devsw_module_handler() indirectly and not use the chain arguments. To
eliminate this indirection via that function (which does nothing now)
without duplicating a modevent handler into all the routines that don't
presently have one, supply a NOP (do nothing, return OK) routine which
is functionally equivalent to what's there now. This is a hack and is
still wrong, because there doesn't appear to be anything to reclaim
resources on an unload of a module with one of these in it. I'm not
sure whether to make the NOP handler refuse a MOD_UNLOAD event or what.
1999-11-08 06:53:30 +00:00
sef
8074856056
Explain why Warner is right, and I am wrong, in the removing of the
...
file object. Also explain some possible directions to re-implement it --
I'm not sure it should be, given the minimal application use. (Other
than having the debugger automatically access the symbols for a process,
the main use I'd found was with some minor accounting ability, but _that_
depends on it being in the filesystem space; an ioctl access method would
be useless in that case.)
This is a code-less change; only a comment has been added.
1999-11-08 05:13:54 +00:00
jkoshy
8d9b08ce74
Document startup behaviour of mail(1).
...
PR: docs/1577
Submitted by: Joseph Koshy <koshy@india.hp.com>
1999-11-08 03:54:37 +00:00
peter
4cd2b5b992
Update for fileops.fo_stat() addition. Note, this would panic if
...
it saw a DTYPE_PIPE. This isn't quite right but should stop a crash.
1999-11-08 03:36:29 +00:00
peter
cf619ff4fe
Update the stream socket fileops table to match fo_stat() additions.
1999-11-08 03:34:53 +00:00
peter
d95a9c614d
Use fo_stat() rather than Yet Another duplication of kern_descrip.c's stat
...
code.
1999-11-08 03:33:21 +00:00
peter
2b764c6970
Add a vnode fo_stat() entry point.
1999-11-08 03:32:15 +00:00
peter
be8eba3540
Update socket file type for fo_stat(). soo_stat() becomes a fileops
...
switch entry point rather than being used externally with knowledge of the
internals of the DTYPE_SOCKET f_data contents.
1999-11-08 03:31:01 +00:00
peter
1a4a3558e5
Update pipe code for fo_stat() entry point - pipe_stat() is now no longer
...
used outside the pipe code.
1999-11-08 03:28:49 +00:00
peter
3dd33a3e0f
Use fo_stat() rather than duplicating knowledge of file type internals
...
in here for stat(2) and friends. Update the badops entries accordingly.
1999-11-08 03:27:14 +00:00
peter
f004a3adc8
Create a fileops fo_stat() entry point. This will enable collection
...
of a bunch of duplicated code that breaks (read: panic) when a new
file type is added and some switch/case entries are missed.
1999-11-08 03:25:23 +00:00
archie
2b4ef4a6f0
Update to better reflect reality.
1999-11-08 03:14:58 +00:00
archie
b947ec4c36
Add missing documentation for the two control messages supported
...
by this node type.
1999-11-08 03:14:15 +00:00
archie
8adbe29ad2
Add some more clarification.
1999-11-08 03:13:28 +00:00
archie
2f772ace57
Fix crash when trying to duplicate a NULL meta.
1999-11-08 03:11:22 +00:00
archie
4336de9993
Get rid of the 'sync2' hook, which was a hack. Instead, just
...
directly detect outgoing LCP frames and do the right thing.
1999-11-08 03:10:20 +00:00
archie
4ada2ddb7d
Add support for the IFF_MULTICAST flag. There's not
...
much to do because we are a point-to-point interface.
Submitted by: phk
1999-11-08 03:08:59 +00:00
alc
32d7a664c3
Remove unused declarations.
1999-11-08 00:53:34 +00:00
alc
2ad13ddedc
Remove unused #include's.
...
Submitted by: phk
1999-11-07 20:03:54 +00:00
steve
9625eca367
Correct logic from previous commit - middle processes in long pipes
...
don't have their stdin closed indisciminantly.
Reviewed by: markm
1999-11-07 17:07:05 +00:00