Commit Graph

1009 Commits

Author SHA1 Message Date
rgrimes
a3e76b107d Patch from Julian. Commit message by me.
cd.c:
Initialize channel info in CDIOCSETVOL ioctl.
Correct CDIOCSTOP and CDIOCEJCET ioctls to use scsi_stop_unit
instead of scsi_start_unit.
Add CDIOCALLOW and CDIOCPREVENT ioctls.

ch.h:
Return EBUSY instead of ENXIO if the device is already in use.

scsi_base.c:
Add scsi_stop_unit routine.

sd.c:
Add mising indirection through sc_link to sd_get_parms routine
when checking for media loaded.

st.c:
Return EBUSY instead of ENXIO if the device is already in use.
Clear the SDEV_WAITING flag in ststart if we do the wakeup call.
1994-01-29 10:30:41 +00:00
rgrimes
f0a631d522 Patch from Julian. Commit message by me.
Cuddle { braces up where possible on if statements
Add missing splx(s) calls before some returns.
Remove extra semicolon that was keeping uha_init from returning
before the timeout occured.  This should speed probing up quite
a bit!
1994-01-29 10:29:14 +00:00
ache
274b9446d1 Set FIFO_TRIGGER in more human-readable form 1994-01-29 03:17:39 +00:00
ljo
e394fc261e Sprinkled with ${.CURDIR} to get the builds of gram.c and tokdefs.h
correct.
1994-01-29 00:48:19 +00:00
nate
1e8ff0f818 Added -static declartion to genassym compile so a kernel doesn't require
working shlibs.
1994-01-27 21:10:14 +00:00
dg
e0a393cb71 Removed no longer used "wire" element in pv struct. 1994-01-27 03:36:14 +00:00
dg
b292244ecc Made pmap_is_managed a static inline function. 1994-01-27 03:35:42 +00:00
ache
b259b0c394 Remove obsoleted floppy partition from device name. 1994-01-27 02:58:05 +00:00
ache
c28f57f6a4 Add FIFO_TRIGGER value for sio.c 1994-01-27 01:01:22 +00:00
dg
4b3f7a255e Added creation of a symlink for ttyv0->vga when making the 'pc0' target. 1994-01-26 23:45:34 +00:00
ache
fe130fa61c This commit was generated by cvs2svn to compensate for changes in r1022,
which included commits to RCS files with non-trunk default branches.
1994-01-26 23:44:34 +00:00
ache
9b893dbcb9 We got now floppy formatter 1994-01-26 23:44:34 +00:00
dg
7119148b34 Remove confusing and incorrect comment inherited from patchkit days. 1994-01-26 20:42:18 +00:00
nate
1e1bbb2914 Whoops, syntax error where I forgot a parenthesis. 1994-01-26 20:18:56 +00:00
ache
904b4e7bf6 Replace old-style Joerg copyright to berkeley-style,
per Joerg request.
1994-01-26 20:08:30 +00:00
nate
8b43a6af81 FreeBSD modifications to driver.
0) FreeBSD additional include files additions
1) Rod's arpacom changes
2) Function type and return code cleanup, and all functions have correct
   casting to the correct data types
3) Bugfix where driver would not function due to missing structure not
   given a value.
4) General cleanup.  (Theo did a lot already, I just did some more)
1994-01-26 09:13:56 +00:00
nate
31c9ac399b Newer version of Herb Peyerl's 3C509 driver straight from NetBSD-current. 1994-01-26 09:06:29 +00:00
ache
b4d4c111b1 Fix error with tsleep loop 1994-01-25 23:04:27 +00:00
ats
991e9ab179 Put some more info about the toshiba ethernet cards into if_edreg.h.
Changed some numeric constants to defines in if_ed.c for the toshiba
cards.
1994-01-25 22:52:09 +00:00
nate
f26c3f84b8 The system default crontab now resides in /etc/crontab, and I changed it's
mode to 644 as most unix systems allow you to read root's crontab.
1994-01-25 17:27:03 +00:00
rgrimes
fa51d801ed Do my fix that I have done to all the other ethernet drivers to use
arpcom intead of foo_ac, remove now unneeded defines, fix support for
options NS.

Still one compiler warning to fix :-)
1994-01-25 11:20:06 +00:00
rgrimes
8f8a2cf1e9 Disabled sg disk driver in LINT since there is no sg.c file in isa yet!
Removed com port comments, since we are about to depricate the driver.

Fix several plaes in LINT where people have been cutting and pasting using
xterms :-(
1994-01-25 11:08:25 +00:00
ache
3b1e7c558d Sound driver options added 1994-01-25 03:16:31 +00:00
dg
76b4ea09c1 Deprecate "/dev/vga". Use /dev/ttyv0 always. Note that the terminal type
is still 'pc3' in /etc/ttys, and should be changed if we decide to default
to syscons.
1994-01-24 20:57:16 +00:00
ache
99c862546e Add Ctrl-Altr-Esc DBG key to RUKEYMAP (russian keymap) 1994-01-24 05:22:27 +00:00
rgrimes
100cfe2163 Remove note about having to remove comments for this file to work, since
tip/acu.c has been partially fixed to deal with it.
1994-01-24 00:39:01 +00:00
dg
2482442ff5 Much better fix for the hanging console problem. This one actually
works.
1994-01-23 19:17:17 +00:00
rgrimes
b0972086c1 Added the following comment:
# YOU MUST REMOVE ALL OF THESE COMMENT LINES BEFORE /etc/phones WILL
# WORK CORRECTLY.  THE DIALER CODE IN tip NEEDS FIXED TO DEAL WITH
# COMMENTS
1994-01-23 18:39:52 +00:00
dg
a9d6858e14 Backed out previous commit as it requires additional kludges to work
completely, and it looks like syscons might solve the problem a
different way  (although what about serial consoles??).
1994-01-23 17:50:11 +00:00
dg
875e23d099 Brute-force fix for the "hanging console" problem. Simply _don't_ call
the device close routine. This works because the device close calls
the line discipline close (which only flushes the output buffers) and
the ttyclose() routine, which does little of nothing except screw with
the session and process group fields (which is what was causing all
the problems).
1994-01-22 22:48:21 +00:00
rgrimes
bcda0bef68 More sane AHA_RESET_TIMEOUT, from some testing by
Todd Pfaff <todd@flex.eng.mcmaster.ca> who was the person to report the
original problem on a 1542C.
1994-01-22 21:54:10 +00:00
rgrimes
c6efd946d8 Now prints ``on eisa'' if id_iobase >= 0x1000, and made a slight code
cleanup for the other 2 cases of ``on motherboard'' and ``on isa''.
1994-01-22 21:52:04 +00:00
guido
8a995caf00 This is Vixie cron 3.0. This version fixes all known security bugs.
Further it implements crontab -e.
I moved cron from /usr/libexec to /usr/sbin where most daemons are
that are run from rc. That also gets rid of the ugly path crond
used to have in ps(1) outputs. Further I renamed it to cron, as
Paul Vixie likes it and is done by NetBSD.

NOTE VERY WELL THE FOLLOWING:

1) Systems crontab changed. Every users crontab resides in /var/cron
   *EXCEPT* root's. This is a special crontab as it resides in
   /etc. Further it is the *ONLY* crontab file in which you specify
   usernames. See /usr/src/etc/crontab. This is also done by BSDI's
   BSD/386 as far as I know (they provided the patches for it anyway)
2) So you *must* delete root's crontab and reinstall the copy
   in /etc from /usr/src/etc.
   'Must' is to much: the old installed crontab will work but cron
   will also try to 'run' /etc/crontab.
3) Last but not least: cron's logging is now done via syslog. Note
   that logging by cron is done lowercase when it logs about itsself
   and uppercase when it logs user events, like installing a new crontab.
   The default logfile file is the same as before:
   	syslog.conf:cron.*	/var/cron/log

-Guido
1994-01-22 20:44:14 +00:00
ats
c22738015b Added the correct typecast's to the untimeout calls. Added a missing
return statement in the probe. This should have fixed all compiler warnings.
1994-01-22 18:00:54 +00:00
rgrimes
21c4f0a18b Remove bogus and missleading comment, this has been fixed.
-       /* blkcnt = initialise_me; */
1994-01-22 11:05:16 +00:00
rgrimes
564385d04d Increased TIMEOUT in wdwait from 2000 to 20000 since it seems many people
have needed to do this in order for the wd driver to work for them.
1994-01-22 11:00:01 +00:00
rgrimes
f170b381d0 Added savehist=1000 as a security feature to know what root has been up to,
added very common set filec.

Added /sys/i386 to be in cdpath so cd conf goes to sys/i386/conf instead of
sys/conf.
1994-01-22 10:58:26 +00:00
rgrimes
941cae5887 From: rich@lamprey.UTMB.EDU (Rich Murphey)
Subject: Re: daily insecurity output (fwd)
|From: rgrimes@agora.rain.com (Rodney Grimes)
|
|This is from the new /etc/security script.  I no longer get the segmentation
|violation, but now the arg list is too long, some /bin/sh program want to
|fix the current /etc/security ls command so that it is a pipe insteal of
|a back quoted arg?
|
|> checking setuid files and devices:
|> /etc/security: ls: argument list too long

This uses xargs instead.  My slip line's down so I can't check it in
at the moment. Rich
1994-01-22 10:54:13 +00:00
rgrimes
3094433eba No longer need SYSVIPC option, any of the SYSV options now trigger the
kern/sysv_ipc.c file for inclusion in the kernel.
1994-01-22 09:25:37 +00:00
rgrimes
8700a44b93 Change ${RELEASEDIR}/filesystem to be filesys so hat it is ISO9660 compliant. 1994-01-22 09:04:21 +00:00
rgrimes
d0e2281dc9 Add SUPPORT.TXT and MIRROR.SITES to the top level FREEBSD files that get
installed in /.
1994-01-22 08:27:56 +00:00
rgrimes
d320a65803 >From: julian@TFS.COM (Julian Elischer)
Date: Mon, 17 Jan 94 20:52:14 PST

As reported on the -bugs list by some one, and confirmed by Julian:

> I increased AHA_RESET_TIMEOUT in aha1542.c from 1000 to 10000
> and now my 1542C is found everytime.
1994-01-22 07:46:25 +00:00
dg
4fed9c8a57 Remove some old, unused, major UGLY code. 1994-01-21 17:11:38 +00:00
dg
4d991dc35e System V IPC code from Danny Boulet, chewed on a bit by the NetBSD group
and then some more by Jeffrey Hsu (who provided this port for FreeBSD).
1994-01-21 09:56:05 +00:00
dg
245c00dd35 Pointed out by Wolfgang Solfrank:
Correct parameters of sync
1994-01-20 23:17:39 +00:00
dg
de0ef367ba Removed some more old unused code/comments. Added hack to "fix" the
problem with some chipsets (UMC) remapping the 'hole' memory even when
you've got 16MB. People were led to believe that since there was only
16MB of memory in the machine, that they were okay wrt the ISA DMA
limit. This hack simply causes the extra memory to be ignored if it
appears around the 16MB limit.
1994-01-20 17:49:57 +00:00
dg
e5366850a6 Improved algorithm that calculates the pages in the base memory - If the
BIOS says that the amount is *between* 0-640K, believe it.  Cleaned up
the comments a bit, removed some old cruff, etc.
1994-01-20 17:21:28 +00:00
dg
50dde40ae0 Removed dependance on EX_DYNAMIC in making decisions on the magic number. 1994-01-19 15:00:37 +00:00
nate
5c5595f3d4 Added necessary include files to define KERNBASE due to VM changes. 1994-01-19 03:52:25 +00:00
nate
8ea66e818e Changed the default 'reboot' routine from cpu_reset() to shutdown_nice().
If you want to disable the reboot feature, then re-define the keymap to
not have a RBT call.
1994-01-18 05:33:34 +00:00