Commit Graph

144 Commits

Author SHA1 Message Date
bde
8b5694de2c Finished previous fix - don't forget to add one dummy options header
to CLEANFILES.

Fixed lots of style bugs.
1998-07-07 02:27:09 +00:00
bde
1654593f59 Added a `build-tools' target for internal tools. (linux_genassym may
not actually work for cross compiling, but that is another problem.)

Honor LDFLAGS for building internal tools.  (Tools should normally
be built static to avoid problems with picking up target shared
libraries.  bsd.kmod doesn't set -static yet, and has some problems
with `LDFLAGS=-static ...' in the environment.)
1998-07-07 02:04:20 +00:00
sos
32932516db Fix the N'th occurance of missed bits due to opt_???? mucking.
Doesn't anybody TEST code before committing....

This is the N+1'th time these laste couble of days...
1998-07-02 14:09:44 +00:00
bde
66357b6a9f Fixed missing options headers. Options that affect LKMs shouldn't
exist.
1998-07-01 17:10:00 +00:00
bde
ffd353a1b8 Added opt_vmpage.h to SRCS so that it actually gets created. 1998-07-01 17:02:57 +00:00
sos
3f9005123d Leading whitespace in Makefile are TABS not spaces.... 1998-06-30 16:09:28 +00:00
jmg
21cfaa17d8 add new opt_nfs.h to cleanfiles... 1998-06-30 11:29:01 +00:00
jmg
95ee86d880 fix more of my breakage... :(
create opt_vmpage.h
1998-06-30 11:28:06 +00:00
jmg
c8ef0cb9cd fix buildworld hopefully be3fore anyone complains...
NFS_*TIMO should possibly be converted to sysctl vars (jkh's suggestion),
but in some cases it looks like nfs keeps a copy of the value in a struct

hash sizes are already ifdef'd KERNEL, so there aren't userland inpact
from them...
1998-06-30 11:19:22 +00:00
jkoshy
47f7483616 Removed reference to obsolete file "README.iBCS2".
Submitted by: Max Euston <max@jmrodgers.com>
PR: 6679
1998-05-19 03:31:34 +00:00
jb
2ffd3c532c The FreeBSD lkm design is aout specific. 1998-05-15 11:57:05 +00:00
peter
0807c0761d Give this a shot at actually working as an LKM.. 1998-03-27 04:05:08 +00:00
bde
04d259c11a Fixed a race to build the @' and machine' symlinks early enough
for `make -jN'.
1998-03-19 12:35:55 +00:00
eivind
0d78faee3c The coff LKM needs IBCS2 to be able to link (for the 'make regress'
linktest) - add this as a dependency.
1998-03-12 20:04:38 +00:00
bde
179b1c1aa9 Don't add files handled by bsd.kmod.mk to CLEANFILES. Don't add never-
generated files to CLEANFILES.
1998-02-25 01:40:55 +00:00
msmith
115161cc63 Don't reference (nonesxistent) qcam module. 1998-02-18 14:30:07 +00:00
eivind
19c2e7eb57 Back out opt_diagnostic.h changes. 1998-02-06 23:54:27 +00:00
eivind
357ed84053 Make the LKMs handle DIAGNOSTIC as a new-style option. 1998-02-04 21:56:39 +00:00
eivind
0c08f6bbc6 Make this work with SPX_HACK as a new-style option. 1998-02-04 04:07:43 +00:00
bde
6a99eb78ce Don't put "-I." in ${CFLAGS} here. bsd.kmod.mk now puts an absolute
path to the obj directory in ${CFLAGS}.  This is actually equivalent
to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
1998-02-01 18:12:15 +00:00
bde
bd8db5a10e Don't put a path to "sys" in ${CFLAGS} here. bsd.kmod.mk now handles
this more generally.
1998-02-01 17:59:59 +00:00
bde
c9dfcc430a Don't handle the `machine' symlink or related include paths here.
bsd.kmod.mk now handles it more generally.
1998-02-01 17:53:56 +00:00
bde
88e9a98172 Fixed breakage from converting NULLFS_DEBUG to a new-style option. 1998-02-01 17:34:11 +00:00
eivind
71161cca14 LKM-support for converting all file-system options to new-style options. 1998-01-24 02:21:53 +00:00
bde
9437b36c24 Include <machine/pc/display.h>, not <i386/include/pc/display.h>. This is
not quite correct, because the Makefiles in lkm/syscons don't set up the
`machine' symlink, but other, more volatile headers in <machine> are
already used.
1998-01-16 17:58:55 +00:00
eivind
7b61fe3f84 Minor fixups after INET option change. 1998-01-09 01:01:21 +00:00
eivind
d0bda339f4 Make the LKMs compile with the INET option as a newstyle option in
opt_inet.h.
1998-01-08 23:50:27 +00:00
eivind
ee509b6933 Fix my typo.
Submitted by: helbig
1997-12-16 22:50:18 +00:00
eivind
274059dce1 Handle COMPAT_43 define -> option change. 1997-12-16 18:45:50 +00:00
eivind
786069b3ca Whoops - fix this after yesterday's IPX option changes. Also fix
minor buglet when neither bsdcomp, deflate or filter is used.

Pointed out by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-12-16 18:28:07 +00:00
yokota
72e6a76747 - The daemon might go off the screen and crashed the system if the
screen size was changed while the screen saver was inactive. Adjust
the positions of the daemon and the text and clip them accordingly
each time.

- Don't call set_border() too often. Some video chip may produce
flicker.

Pointed out by tony@dell.com

- Don't fill the entire screen with blank char every time the saver is
called.  Blank only the part of the screen where the daemon and the
text was previously printed.
1997-10-26 07:35:18 +00:00
peter
ddbef49e26 Update Makefile to know about PPP_FILTER and fix the PPP_BSDCOMP and
PPP_DEFLATE options... The code uses #if defined(PPP_DEFLATE) etc, so the
original method of "#define PPP_DEFLATE 0" did not actually disable
anything.  It was not possible to configure out bsdcomp or zlib
compression.  Also, join the settings for PPP_FILTER and NBPFILTER together
since they are related here (can't have PPP_FILTER without NBPFILTER).
1997-10-18 01:37:52 +00:00
yokota
d26bc9bf8e Make the blank screen saver work with MDA and CGA. The fade and green
savers are also modified so that they behave in the same way as the
blank saver on MDA and CGA, although it's not the way these screen
savers are supposed to work, but fading monitor and tickling green
monitor cannot be done on MDA and CGA, AFAIK.  So, this is the second
best solution.

As of this change, the current state of support of screen savers is
summarized in the following table.

		MDA	CGA	EGA	VGA
blank		OK	OK	NA	OK
daemon		OK	OK	OK	OK
fade		*	*	NA	OK
green		*	*	NA	OK
snake		OK	OK	OK	OK
star		OK	OK	OK	OK

OK: works
NA: doesn't work, the module cannot be loaded for this adapter.
*: behave the same way as the blank saver.

As you can see, EGA is left out for now. But, we can do no better, as
EGA registers cannot be read...

Reviewed by: sos
1997-10-04 04:24:18 +00:00
peter
0ac36ed5fb Add example for IPFIREWALL_DEFAULT_TO_ACCEPT 1997-09-10 04:19:07 +00:00
jlemon
37d5350c7b Remove the vm86 LKM. 1997-08-28 14:45:26 +00:00
bde
e9c8d2cf8a Removed bogus -I path in CFLAGS. 1997-08-26 13:49:26 +00:00
jmg
ea8e714322 make lkm/if_ppp build again.. opt_ppp.h is needed again...
similar fix to one provided in pr4348

Closes PR#4348
1997-08-21 10:17:29 +00:00
dyson
0ab350a9e5 Add VM86 to the lkm build. 1997-08-09 00:23:07 +00:00
bde
37eb5f3ab0 Don't use /sys.
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
1997-08-07 13:23:37 +00:00
bde
b228bebf64 Fixed bitrot in fpu LKMs. 1997-07-20 08:46:30 +00:00
yokota
b00b16c7e8 Incorporated lots of fixes and suggestions from Bruce and changes to
facilitate the new saver loading/unloading notification interface
in syscons.

daemon_saver:
- M_NOWAIT was wrong, since NULL returns are not handled.  Just use
  M_WAITOK.
- use `ostype' instead of hard-coded "FreeBSD". Now there is no more
  hard-coded string! (But, who will run this screen saver on other
  OS?!)
- put macros and data declarations in a consistent order.
- -DDEAMON_ONLY and -DSHOW_HOSTNAME options added in the previous commit
  are removed. Options of this kind can go stale and no one notices
  because no one uses them. DEAMON_ONLY is just removed. SHOW_HOSTNAME
  is made default.

snake_saver:
- use `ostype' and `osrelease' as in the daemon saver. The string changes
  slightly - there was a hyphen after "FreeBSD"; now there is a space.
  (It is consistent with uname -a, like the daemon server already is.)

all screen savers:
- Use the new add_scrn_saver()/remove_scrn_saver() in syscons.c
  to declare loading/unloading of a screen saver. Removed reference
  to `current_saver' and the variable `old_saver' as they are not
  necessary anymore.
- The blank, fade and green screen savers manipulate VGA registers.
  Module loading should fail for non-VGA cards.
- `scrn_blanked' is consistently treated as a number/counter rather
  than boolean.
- Some savers touch `scp->start' and `scp->end' to force entire screen
  update when stopping themselves. This is unnecessary now because
  syscons.c takes care of that.
- cleared up many unused or unnecessary #include statements.
- Removed -DLKM from Makefiles.

YOU NEED TO RECOMPILE BOTH SCREEN SAVERS AND KERNEL AS OF THIS CHANGE.
1997-07-15 14:49:39 +00:00
yokota
621608a383 Take the OS release string from the kernel variable `osrelease'
rather than hard-code it in the message text. Optinally include
the host name in the message if SHOW_HOSTNAME is defined.

The origianl idea and sample code submitted by Angelo Turetta
<ATuretta@stylo.it>.
1997-06-24 12:43:18 +00:00
yokota
f9425918d6 Corrected accidental breakage in the last commit.
Pointed out by: Steve Passe, smp@csn.net
1997-05-26 01:02:41 +00:00
obrien
56fc405bf0 Fixed up ssigala@globalnet.it's "Jumping Daemon" screen saver for < v3.0. 1997-05-25 16:06:29 +00:00
yokota
9319ecd97b Flip the daemon at the edge of the screen.
Submitted by:	Sandro Sigala, Chris Shenton
1997-05-24 01:44:39 +00:00
yokota
c251a5938b Introducing "Jumping Daemon" screen saver. This is really cute and
eye-catching :-)

Submitted by:	ssigala@globalnet.it
1997-05-21 14:18:27 +00:00
yokota
41c227a2da Introducing "Jumping Daemon" screen saver. This is really cute and
eye-catching :-)

Submitted by:	ssigala@globalnet.it

Also fixed some `extern' declarations in saver.h.
1997-05-21 14:18:00 +00:00
jkh
ee514a2ef8 Also quiet down the ibcs2 startup (same reason as linux lkm - it screws
the console output).
1997-05-01 06:09:01 +00:00
jkh
0784aa40b9 Merge 1.8.2.1 into -current. 1997-05-01 06:08:14 +00:00
dufault
e62e4c624a Make MOD_* macros almost consistent:
Use the name argument almost the same in all LKM types.  Maintain
the current behavior for the external (e.g., modstat) name for DEV,
EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only
#name.  This is a candidate for change and I vote just the name without
the "_mod".

Change the DISPATCH macro to MOD_DISPATCH for consistency with the
other macros.

Add an LKM_ANON #define to eliminate the magic -1 and associated
signed/unsigned warnings.

Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure.

Change source in tree to use the new interface.

Reviewed by:	Bruce Evans
1997-04-06 11:14:13 +00:00