Commit Graph

2869 Commits

Author SHA1 Message Date
phk
52a89a0c57 Digicom Systems Inc, makes "softmodems". What this means is simply that
you download the microcode to the DSP everytime you power on your system.
They provide a dos-program to do so, but no other support.  This commit adds
code to the sio-driver, which implement an ioctl, which will down-load the
micro-code.

To get this functionality, you must define DSI_SOFT_MODEM.

The program to actually employ the ioctl is not included, but the entire
source looks like this:

        #include <sys/ioctl.h>
        #include <stdio.h>

        main()
        {
                unsigned char buffer[100000];
                int i;

                read(0,buffer,100000);
                if((i = ioctl(1,TIOCDSIMICROCODE,buffer)) < 0)
                    perror("ioctl");
                return i;
        }

And you use it like this:
	smload < data144b.dsi > /dev/ttyid3

You need to copy the *.DSI files from the dos-media provide with your modem.
You can see what is downloaded by issuing the ATI3 command to the modem.
DSI's scheme for what code you can run on your modem isn't violated by this.

Poul-Henning Kamp
phk@freefall.cdrom.com
1994-09-13 03:30:31 +00:00
wollman
4872ce1251 The latest and greatest timezone code from Arthur David Olson, part 1.
This import comprises the `zic' and `zdump' programs.

Obtained from: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g
1994-09-13 03:29:24 +00:00
wollman
2cb79b8df1 This commit was generated by cvs2svn to compensate for changes in r2702,
which included commits to RCS files with non-trunk default branches.
1994-09-13 03:29:24 +00:00
phk
2041840639 Add an ioctl to download microcode to DSI softmodem. 1994-09-13 03:19:19 +00:00
wollman
be512700dd Forgot to check this important file in. 1994-09-13 02:21:48 +00:00
wollman
f49883bd92 Don't be so aggressive when installing examples. We still delete the
directories or links before we install the new things, but now we don't
delete /usr/share/examples itself, so other examples installed from
other places in the tree will not be touched.
1994-09-13 02:21:03 +00:00
wollman
c2f3e31b64 Added /usr/share/examples and subdirectories. 1994-09-13 02:14:57 +00:00
wollman
7fd54de451 Pollution-control header file generated by new makesyscalls.sh. 1994-09-13 00:49:55 +00:00
wollman
37c8ae5b9e Added namespace information for future pollution-control measures. 1994-09-13 00:48:26 +00:00
ache
1265c85a97 Add libcipher.a: libcrypt exports only crypt() but not des_setkey()
which is in libcipher.a
1994-09-12 17:27:55 +00:00
ache
83a17a87fa Added example of vidcontrol/kbdcontrol usage (russian screen/keyboard setup) 1994-09-12 16:02:06 +00:00
ache
18160fd427 Fixing kD for cons25, use proper value for pc3r too 1994-09-12 15:42:39 +00:00
dg
71d8424950 Fixed a bug I introduced when fixing the rss limit code. Changed swapout
policy to be a bit more selective about what processes get swapped out.

Reviewed by:	John Dyson
1994-09-12 15:06:14 +00:00
dg
d00638ae6a Re-enabled check for low clist condition. 1994-09-12 11:49:49 +00:00
ache
e7c03dbddd Subwin code forget to subtract orig->beg{x,y} cause SEGV
Submitted by: derek@free.org & ache
1994-09-12 11:41:29 +00:00
dg
e789621f5f Eliminated a whole pile of ancient (we're taking 4.3BSD) VM system
related #define constants. Corrected incorrect VM_MAX_KERNEL_ADDRESS.

Reviewed by:	John Dyson
1994-09-12 11:38:31 +00:00
dg
4c73f2ffb4 Don't deactivate pages in 0-refcount objects. Added a couple of missing
paging stats. Fixed problem with free_reserved becoming depleted during
certain swap_pager operations.

Submitted by:	John Dyson, with a little help from me
1994-09-12 11:31:36 +00:00
dg
59c7dfa7fe Limit p_estcpu to UCHAR_MAX to keep it within reasonable bounds - else
it goes crazy (into the billions) during any lengthy build.

Submitted by:	John Dyson, modified slightly by me.
1994-09-12 11:27:03 +00:00
csgr
c70d5a0fb5 add rtmsg.c.
Submitted by:	problem pointed out by Gary Palmer
1994-09-12 07:48:33 +00:00
rgrimes
a0a5181ac5 Enable call to beforeinstall for libg++ and add one for libreadline. 1994-09-12 05:17:15 +00:00
rgrimes
d2516625b3 Include of bsd.prog.mk should almost always be the last line of the file.
Fix missing ${DESTDIR} in 2 places (rgrimes)
Submitted by:	bde
1994-09-12 05:10:07 +00:00
rgrimes
d389bc7000 Add f2c, rpcgen and rpcinfo, need a decission on cpp and uucp. 1994-09-12 04:41:14 +00:00
ache
071f1bab5f Merge two entries: cons25 and pc3r, minor things added/corrected
Now use tc=cons25 in pc3r, leave only uniq capabilities
1994-09-11 23:34:34 +00:00
ache
4311874273 Correct typo in filename
Submitted by: adam@veda.is
1994-09-11 23:05:09 +00:00
rgrimes
5ee31ec207 libterm is now libtermcap 1994-09-11 22:28:45 +00:00
rgrimes
95020286b6 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 22:01:45 +00:00
rgrimes
83c1bfeaeb Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:53:28 +00:00
rgrimes
8e5d951531 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:41:41 +00:00
rgrimes
2b975cb8d0 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
csgr
a837391e87 Make get_int() think that "" (null) has the integer value 0.
(Which is the same behaviour as in 1.x)
The install blows up without this.
Reviewed by:	rgrimes
1994-09-11 21:30:09 +00:00
ache
99504c52a3 Added for reference purposes 1994-09-11 21:27:09 +00:00
ats
4a78d90f60 Deleted the pccons driver from the files.i386, added the seagate driver
into files.i386.
LINT:
Deleted the timezone line. Commented out the maxfdescs line and the
SYSVSHM and the SHMMAXPGS lines.
1994-09-11 21:09:52 +00:00
ats
75635299bc Delete the extra's int nosys(); declarations like the new makesyscall.sh
do it now.
1994-09-11 20:56:02 +00:00
ats
e55f4b3d3c Change the makesyscalls.sh to only generate one line for the external
declaration of nosys. This prevents some warnings from the compiler.
1994-09-11 20:45:34 +00:00
phk
f0361d86de Better definitions for the NCR 5380 chip.
Poul-Henning
1994-09-11 20:29:18 +00:00
phk
ceb75b8c41 ProAudioSpectrum 16 {Zilog|Ncr} 5380 based SCSI-driver.
This puppy is in good shape now.

It is a fully blown SCSI-driver, but it isn't a high performance one.  It is
implemented entirely with polled I/O, and is intended to drive CD-ROM's, not
disks and tapes.  It will run disks and tapes if asked to, but it isn't a
very good idea to do so.  Transfer-rates max out at 600-700 kbyte/sec.

There is one problem: when write-requests get over 8192 bytes, the pseudo-DMA
stalls.  This is only a problem if you dd(1) to a raw-device of some kind,
for mounting a disk it is ok.  I have circumvented this by disabling the
pseudo-DMA in those cases.

It's very unlikely that I will spend more time on improving the performance
of this driver, it can do what I want it to now: install from a CD-ROM, and I
don't see any benefit in actually adding interrupts to the driver, considering
that performance never will be better than 700 kbyte/sec anyway.

You can install it under 1.1.5 too, by adding the lines to files.i386, your
config-file and copying pas.c and ic/ncr_5380.h over.

I will fix any bugs I can get a handle on.

Poul-Henning
1994-09-11 20:28:50 +00:00
phk
459608a565 Added a task: make PAS16 a controller.
Updated a task: pseudo-dma in pas.c on it's way in.
1994-09-11 20:01:03 +00:00
gclarkii
c1cd92a87b Deleted checks for libcrypt as not nessecery for 2.0. 1994-09-11 19:55:57 +00:00
gclarkii
c2fc3688fc Added CURDIR directives for some installs.
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:53:02 +00:00
gclarkii
0c6bf1f73b Added includes for Makefile.inc (/usr/src/gnu/usr.bin/Makefile.inc)
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:52:29 +00:00
csgr
b819d56caf - handle signs on integers properly,
- make sure error messages for bad integers are moderately sensible
- handle test ! "abc" -o "abc" (This should evaluate to true)
  (and similar cases) ie:
  and/or operator test added to POSIX special case processing.
- more test cases added.

Based on: Work done on 1.x's test(1) by Andrew Moore and Adam David.
1994-09-11 13:57:31 +00:00
jkh
15c2fa33ec More fixes and general cleanup. Add more fine-grained control over what
is fetched and what is actually unpacked.
1994-09-11 12:55:54 +00:00
jkh
701c638972 Whoops, forgot to stop this lurking typo, too. 1994-09-11 12:06:34 +00:00
jkh
0922a574ef Eliminate a few lurking bogons - this is almost close to being right! 1994-09-11 12:01:05 +00:00
dg
0756c91ab2 Be more careful about dereferencing curproc, p_vmspace, and curpcb,
otherwise the machine will overflow the stack in a recursive fault loop
(causing the machine to spontaneously reboot because of the stack fault
that ultimately happens).

Submitted by:	Inspired by Bruce Evans, but this change is different
		than what he suggested.
1994-09-11 11:26:18 +00:00
csgr
f146ba5a9b - increase TOOMANY, in line with 1.x
- add logging option from 1.x
1994-09-11 11:16:32 +00:00
jkh
a8154dca28 Reviewed by: jkh
Submitted by:	jkh gclarkii paul satoshi freebsd-hackers
These are the FAQ files, reorganized a bit and updated marginally for 2.0.
There is *still more work to be done* in updating, so if some of your FAQ text
is below, please check it over!  We've also got a lot of FAQ entries still
to write (examples: "how do I upgrade?" "what's new in 2.0?" "how do I
install on a notebook/second drive/from DOS/etc etc etc?"
1994-09-11 10:56:10 +00:00
csgr
88dbb490c7 Bring in handling of RPC services from 1.x
(Guess who forgot to replace his inetd until today ;-)
1994-09-11 10:48:02 +00:00
rgrimes
7c7e41add8 This is the official 4.4 Lite copyright.
Obtained from:	4.4 BSD Lite tape
1994-09-11 07:53:28 +00:00
jkh
e934347cd1 Yow! Something highly bogus happened with the previous commit or
patch and I only just noticed.  Fix things to include Makefile.inc correctly.
1994-09-11 07:29:55 +00:00