Commit Graph

3178 Commits

Author SHA1 Message Date
Poul-Henning Kamp
51b713ac2b Ripped out APM-hooks. Not ready for prime time yet. 1994-10-02 17:41:44 +00:00
Poul-Henning Kamp
1ed171d405 Ripped out a lot of stuff made to circumvent the previous bogus assy stuff.
Ripped out the "hooks".  Until we know how we want to do it, we shouldn't
start hacking anyway.  Still panics my machine though.
1994-10-02 17:40:38 +00:00
Poul-Henning Kamp
797f2d22f0 All of this is cosmetic. prototypes, #includes, printfs and so on. Makes
GCC a lot more silent.
1994-10-02 17:35:40 +00:00
Poul-Henning Kamp
abd358cd49 apm_bios.h: removed the equiv-stuff. Not needed now that the kernel module
works correctly.

clock.h & reg.h: prototypes.
1994-10-02 17:31:29 +00:00
Poul-Henning Kamp
01d0532b97 Unused variables, except one with a omnious comment. 1994-10-02 17:29:51 +00:00
Poul-Henning Kamp
48fbb6cc7e Prototyping and general gcc-shutting up. Gcc has one warning now which looks
bad, I will get to it eventually, unless somebody beats me to it.
1994-10-02 17:27:07 +00:00
Poul-Henning Kamp
f86eaaca2c Prototypes, prototypes and even more prototypes. Not quite done yet, but
getting closer all the time.
1994-10-02 17:25:04 +00:00
Poul-Henning Kamp
c9421aa7c4 Removed a lot of stuff which has no raison d`etre now that the kernel-driver
works correctly.
1994-10-02 17:18:12 +00:00
Paul Richards
c4447d4ef1 Removed NOOBJ so obj directory gets built if wanted. 1994-10-02 14:43:12 +00:00
Andrey A. Chernov
efc18e2ca9 Skip 'cua' 3 chars like 'tty' 3 chars 1994-10-02 14:11:32 +00:00
Andrey A. Chernov
ef0797abc9 Make fat cursor as early as possible, per Bruce suggestion 1994-10-02 14:08:57 +00:00
Andrey A. Chernov
02ea062a10 #define HAVE_TERMIOS added for proper terminal handling
Submitted by: smcarey@mailbox.syr.edu
1994-10-02 11:12:40 +00:00
Andrey A. Chernov
6bd6acee8e Little regex code cleaness, idea from jgreco@ns.sol.net 1994-10-02 10:54:00 +00:00
David Greenman
eb1c3392d7 Include rtprio.h for struct rtprio. 1994-10-02 08:34:47 +00:00
David Greenman
8b6f5f5f9f On second thought...back out previous commit. 1994-10-02 08:33:31 +00:00
David Greenman
793ced0e91 Include rtprio.h 1994-10-02 08:19:13 +00:00
Rodney W. Grimes
4c61f5466f If you are building a kernel without NFS statically linked in you
must #define NFS before including <sys/mount.h> to pick up some of
the definitions needed for struct diskless.  Be sure to undef it after this
so you do not effect other code.

This is kinda sick, but it does the job.  Problem found by davidg.
1994-10-02 07:19:43 +00:00
Rodney W. Grimes
12fafb2d5a 1. Completely rewritten Makefile that uses bsd.prog.mk more effectively.
2.  Clean up the .S files to use /* */ style comments.

This is a totally cosmetic change, not one byte of the resulting boot
code changes.  But at least it is installed with correct owners and in
the right places, and gets recompiled correctly when things change!
1994-10-02 05:18:26 +00:00
Rodney W. Grimes
ea56956912 Add .S to SUFFIXES and add .S.o: rule.
Submitted by:	bde
1994-10-02 05:12:46 +00:00
David Greenman
7216391e49 "idle priority" support. Based on code from Henrik Vestergaard Draboel,
but substantially rewritten by me.
1994-10-02 04:48:21 +00:00
Gary Palmer
723ff3e087 Move apm, apmconf, fdformat, fdwrite, kbdcontrol, lptcontrol, rtprio and
vidcontrol out of machine-independance into the I386 & clean
dependant sections. Also move 'timed' out of machine-dependace into
machine-independance

Reviewed by:	rgrimes
1994-10-02 03:42:40 +00:00
Gary Palmer
3e1d4f3258 Moce comcontrol, fdisk & mount_msdos out of machine-independance into
an I386 specific statement. Also add necessary code to allow
machine-dependance in this makefile

Reviewed by:	rgrimes
1994-10-02 03:38:08 +00:00
Andrey A. Chernov
006e8b41fb Fix bug with 8-bit chars sign extention (ctype not works) 1994-10-02 02:01:21 +00:00
Poul-Henning Kamp
3d1dcf1ba5 Replaced the magic register union with inline assembler. Now it works
"mostly".  My machine still panics from time to time, and I think the
problem is a stack-problem.
1994-10-02 01:45:42 +00:00
Andrey A. Chernov
c7eb1baf5d libcompat removed 1994-10-02 01:36:03 +00:00
Andrey A. Chernov
c6acecdc95 Rewritten using POSIX regex
Add 57600 and 115200 speeds
Correct termcap path
1994-10-02 01:33:28 +00:00
Rodney W. Grimes
21abf3d3ce 1. Remove all references to cyloffset, it has been unused for some time.
2.  New detection code so we know what boot code called us.

3.  Remove old DISKLESS support code and halt if we are called by that boot
    code as it will NOT work with the new nfs_diskless structure.

This is really in preperation for new boot code and new diskless support.

Reviewed by:	davidg
1994-10-02 01:32:53 +00:00
Rodney W. Grimes
723b616383 Add code to generate NFSDISKLESS_SIZE for use in locore for copying the
nfs_diskless structure in from the boot code.
Reviewed by:	davidg
1994-10-02 01:28:38 +00:00
Garrett Wollman
28e822955c Implement full proxy ARP, gated on option ARP_PROXYALL. This allows
a FreeBSD box to do proxy ARP as easily as most commercial routers do,
without messing around with (potentially variable) Ethernet addresses.
This code is really quite simple; I'm not at all sure why it wasn't
implemented in 4.4.

It might be worth stealing an interface flag (maybe IFF_LINK1) to use for
finer-grained control over which interfaces get proxy treatment.  For the
moment, it's all or nothing.
1994-10-01 21:50:33 +00:00
Rodney W. Grimes
470d929ec2 genassym: depends on the source code too. 1994-10-01 21:43:24 +00:00
Poul-Henning Kamp
64bb0d8861 On my GW2K Handbook486 this code would reset when called from locore.s
I think I have narrowed this down to the stack being overflown.  I have
taken the push/pop of %fs out, it shouldn't be needed anyway, but the
real & correct solution might to save the registers on the stack in
locore.s before calling this stuff.
1994-10-01 21:29:50 +00:00
Garrett Wollman
24161ef88f Add Matt Thomas's DC21040 PCI Ethernet driver. (This is turning out
to be quite a popular chip, so expect to see a number of products
based on it.)
1994-10-01 20:16:47 +00:00
Garrett Wollman
911ac34b1d Update DEPCA/DE422 et al driver to latest version, from Matt Thomas.
This file was run through unifdef -DMULTICAST in preparation.
1994-10-01 20:15:47 +00:00
David Greenman
56499741c4 Fixed manpage to conform to current reality.
Submitted by:	Rod Grimes, with additional sentence by me.
1994-10-01 20:00:28 +00:00
Garrett Wollman
01b3600a69 Correct `de' device ID.
Add pd_npresent field for future loadable PCI drivers.
1994-10-01 19:47:33 +00:00
Garrett Wollman
37be1da83f Define IFF_ALTPHYS to be IFF_LINK2. Gross, but effective. (There aren't any
more bits left in if_flags and I don't want to make it a long this late in
the release cycle.)
1994-10-01 19:44:38 +00:00
Paul Traina
e98bbd43df f77.script resides in source, not obj dir 1994-10-01 19:12:09 +00:00
David Greenman
fae772f7b2 Added Cortex-I Frame Grabber by Paul S. LaFollette, Jr.
Submitted by:	Paul S. LaFollette, Jr.
1994-10-01 17:59:42 +00:00
David Greenman
7ce005d7c1 1) If nrpos <= 1, don't output rpos table (and set fs_cpc to 0) - disabling
the use of the rotational position table.
2) Allow specification of 0 rotational positions (disables function).
3) Make rotdelay=0 and nrpos=0 by default.

   The purpose of the above is to optimize for modern SCSI (and IDE) drives
that do read-ahead/write-behind.
1994-10-01 16:56:22 +00:00
David Greenman
9eb98cece8 Corrected message when no rotational position table is found. 1994-10-01 16:53:53 +00:00
Poul-Henning Kamp
93e9832a32 #Driver for Advaced Power Management (also need options APM)
-device		apm0	isa?
+device		apm0	at isa?
1994-10-01 16:44:07 +00:00
Gary Clark II
d646c3011d Re-org of file. Delete information that is 1.x only. Update and add entrys
for 2.0.
1994-10-01 15:04:58 +00:00
Andrey A. Chernov
d598f5b350 Fix again PAS16D detection and MVA508 handle.
Initial importers (swallace) please be more carefully to not break
old things!
1994-10-01 12:42:17 +00:00
David Greenman
2c7b20a75f Get rid of redundant declaration, and changed DDB -> SDDB to get rid
of the conflict that results otherwise.
1994-10-01 05:46:01 +00:00
David Greenman
3af6b6527a Added options APM and device apm0 for Advanced Power Management support. 1994-10-01 05:43:09 +00:00
David Greenman
5185ed0d3a Added $Id$ 1994-10-01 05:13:37 +00:00
David Greenman
8321fda1d9 Woops, missed these two files; part of HOSOKAWA Tatsumi's APM support. 1994-10-01 05:05:10 +00:00
David Greenman
4ada351cf2 Added apm and apmconf. NOTE: This makefile is wrong in a variety of ways.
For one thing, the handling of arch-specific utilities is broken, and
things like apm and apmconf (and fdformat, kbdcontrol, vidcontrol, etc)
shouldn't be built for all arch's.
1994-10-01 03:44:05 +00:00
David Greenman
48a103c379 Added entry for apm device (needed for Advanced Power Management support). 1994-10-01 03:32:26 +00:00
David Greenman
414c40f66d Minor improvement to probe routine.
Submitted by:	HOSOKAWA Tatsumi
1994-10-01 03:29:28 +00:00