Commit Graph

275 Commits

Author SHA1 Message Date
scottr db2c833016 Add LKM, ipfilter 1997-01-25 22:44:08 +00:00
scottr 818ebb4e22 Add `options LKM' 1997-01-25 22:41:40 +00:00
scottr 017d77a9f9 `::\' => `:\' ; per recent sys/lib/*/Makefile.inc changes. 1997-01-25 22:39:32 +00:00
thorpej 7b40f5228e "md" is declared in sys/conf/files, now. 1997-01-21 09:39:20 +00:00
scottr 1c4a180f28 Compile with -O2 now. 1997-01-20 00:31:42 +00:00
scottr 82f443d641 Minor formatting cleanup, and remove an old comment 1997-01-20 00:30:56 +00:00
perry b89a3425b7 Eliminate obsolete TIMEZONE and DST options.
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
scottr d186ff0991 Add ipfilter (pseudo-) device. 1997-01-13 23:34:04 +00:00
scottr 121971f622 Compile with -O2 (need to update COPTS so we still get -m68030) 1997-01-13 07:08:51 +00:00
scottr 9792072925 Compile kernels with -O2 1997-01-13 07:06:51 +00:00
mikel aed485cdf2 add 'pseudo-device ccd' where necessary; PR kern/1830. 1997-01-11 09:11:37 +00:00
pk 603b61c3e0 rename: ramdisk => md 1996-12-28 23:22:07 +00:00
scottr 1460fbef53 Remove -Werror for now (sigh). Somehow this slipped through several
kernel compiles without getting caught.  Lame gcc optimizer bug.
1996-12-17 13:58:26 +00:00
scottr 5b7c2842ae Take avantage of COPTS appropriately. 1996-12-17 07:33:01 +00:00
scottr 1999f88fac Add sample sbc config line; format 'options' lines for consistency. 1996-12-17 07:22:30 +00:00
scottr e9ce47936c Add -Werror, remove -Wno-uninitialized. 1996-12-17 07:04:21 +00:00
jonathan 4c1d96de78 * Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
Lets users over-ride with makeoptions COPTS="..." in kernel config files.

  Leave `mandatory' flags (like  -msoft-float which  on m68k enforces no
  FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
scottr 1ad7567f7f - Move non-optional options SWAPPAGER, VNODEPAGER, and DEVPAGER to std.mac68k
- Catch up with vm/vmparam.h (remove MACHINE_NONCONTIG)
- Fix space/tab niggles in SPOT config
- MYSTERY now includes the esp driver
1996-11-19 00:38:05 +00:00
scottr 563b939722 Remove unused MAXFDESCS option. Closes PR 2927, noticed by Erik
Bertelsen <erik@aarhus1.uni-c.dk>.
1996-11-11 18:02:57 +00:00
scottr b0aafba53e Remove TIMEZONE and DST, as they default to 0 anyway 1996-11-11 17:56:11 +00:00
briggs a4d7da78e4 Add esp1 at obio? 1996-10-29 06:16:29 +00:00
briggs 35667ae56f ncr96scsi -> esp for consistency with sparc and alpha. 1996-10-29 04:26:57 +00:00
briggs 3c34dac1d0 Obsolete. 1996-10-29 04:23:50 +00:00
scottr e326c3123f We're paranoid; disable the IIci's cache card. 1996-10-16 04:00:28 +00:00
scottr b599d4a3f6 We no longer need 'options GENERIC' 1996-10-15 07:25:55 +00:00
scottr 534c6caa6b Add EXEC_AOUT and EXEC_SCRIPT 1996-10-14 07:01:10 +00:00
scottr 21761e4ec0 Update for recent config(8) changes. 1996-09-22 06:49:09 +00:00
scottr 014f910806 Add ZS_CONSOLE_ABORT 1996-09-16 04:35:25 +00:00
scottr d407764c72 Add uk, remove ch device 1996-09-12 05:34:59 +00:00
scottr 7a6fae71e8 Add ss, uk SCSI devices 1996-09-12 05:33:41 +00:00
scottr a453e56ffd This is the development/debug machine 1996-09-12 04:50:43 +00:00
scottr 7b33c93009 Update to current reality. 1996-09-12 04:49:52 +00:00
thorpej 1710b024c0 Document COMPAT_M68K4K, but leave it disabled by default. 1996-09-10 22:26:50 +00:00
mycroft b3ffba62a6 Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft 30a617c634 Wrap the default definition of `S' in `.ifndef'. 1996-08-31 21:40:47 +00:00
mrg b8e9f36083 add COMPAT_12. 1996-08-26 23:39:36 +00:00
mycroft 558d72128e Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft cf67f29afe * Add a HOSTED_C_C variable, which strips `-p', `-pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft f94052ed3a * Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
scottr 571519c310 Attach ite semantics to the appropriate grf device. 1996-08-05 01:52:13 +00:00
scottr 1d6cd98d6a Attach ite semantics to the appropriate grf device, instead of obio. 1996-08-05 01:00:12 +00:00
scottr 02f1ebc3de SPOT is now an NFS server, too. 1996-06-20 04:11:55 +00:00
scottr 758ea43e99 Completely revamp setroot() and friends. Since Chris' version of this code
is close to how I reworked it, I pulled in the (essentially MI) NetBSD/alpha
and added the appropriate support around it.

- No need for the GENERIC kernel config option.
- NFS-mounted root and swap are supported.
- If we can't figure out where the root filesystem is from what the Booter
  tells us, ask the user.
- Split the mainbus autoconfig code to a separate file.

Also, update/add copyrights as appropriate.
1996-06-19 03:21:03 +00:00
scottr 26f0e61730 Update for current reality 1996-06-11 03:39:20 +00:00
scottr d28f9a6699 Fix the last change; CVS apparently biffed it. 1996-05-20 03:23:36 +00:00
scottr 820895162d Update for new grf attachment code. 1996-05-19 22:29:04 +00:00
briggs 2635a9c602 Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver.  When that driver is updated, the local copy
of those files may be removed.  From Bill Studenmund.
Compiler warnings fixed by me.
1996-05-18 18:53:50 +00:00
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
scottr aef8f5c3bb Update for renamed sbc driver files 1996-05-06 06:40:03 +00:00
briggs 18021dad20 Move grf0 at obio? from std.mac68k to the config files. Not all machine
have internal video.
1996-05-06 03:33:06 +00:00
briggs 03a7fd15ca grf0 -> grf* 1996-05-06 03:32:33 +00:00
briggs 37163421a3 Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped.  I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
1996-05-05 06:15:56 +00:00
scottr 5e7380a531 Remove trash left from a merge (probably really my fault). 1996-04-29 21:36:17 +00:00
briggs 340e30dfbb shuffle some and change rd to pseudo-device. 1996-04-28 19:18:42 +00:00
scottr 90b5a113d9 Renamed the sbc driver files 1996-04-25 22:30:10 +00:00
scottr ff35ddbb2a Update makeoptions to include 881 support 1996-04-13 19:12:46 +00:00
briggs da3dabc052 Add PPP_BSDCOMP and PPP_DEFLATE options. 1996-04-08 14:17:28 +00:00
scottr ecd20bc823 Add PPP compression options 1996-03-23 06:12:11 +00:00
thorpej 82d914d090 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:26:49 +00:00
scottr d504ec531e Add "options M68020" so that 68851-specific code is only compiled when
we want it (we don't support the 020 without an 851 anyway).  Note that
M68030 no longer implies support for 020+851.

This also allows us to compile with -m68030 iff M68020 isn't specified
in the config file.
1996-03-12 21:06:22 +00:00
briggs ddfeeb8c2d Add option to try linked commands on all devices for PUMA. 1996-03-07 02:48:33 +00:00
cgd 3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
mycroft 2ce52ae489 Define build programs with `?=', so they can be overridden with `makeoptions'. 1996-02-26 02:53:20 +00:00
gwr 946696f064 Add m68k/db_memrw.c 1996-02-22 23:35:07 +00:00
briggs ef9b75f679 HZ used to be in Makefile.mac68k... It is 60 on the mac, not 100. 1996-02-14 04:26:38 +00:00
scottr 0ae8a51904 PETE was pretty useless; SPOT is my own machine, and will better
reflect the status of sbc driver configuration.
1996-02-11 00:17:13 +00:00
scottr af4f29bcb3 Identical to GENERIC, but uses the `sbc' driver. 1996-02-10 23:42:31 +00:00
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
scottr 3c8605f0f7 Add sbc driver. 1996-02-07 16:34:28 +00:00
briggs 20123d5253 O2 breaks on this port. Use -O until we can fix it. 1996-02-03 15:14:39 +00:00
mycroft 5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft cec913603e Don't special-case conf.c. 1996-02-02 13:38:05 +00:00
mycroft fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
thorpej 57219ebad3 Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
briggs 93d836857c RAMDISK stuff. 1995-11-21 05:06:28 +00:00
briggs 447b897889 Define DST and TIMEZONE 1995-11-21 05:05:51 +00:00
briggs e5a588356f Small RAMDISK kernel. 1995-11-21 05:02:02 +00:00
briggs 369e3de013 Get rid of obsolete time specs. 1995-11-21 05:00:34 +00:00
briggs 5b38a18f42 include files.fpe instead of just fpu_emulate.c--to get the new fpe code. 1995-11-03 04:50:21 +00:00
briggs 819cd49aa7 Remove -fno-builtin 1995-11-01 04:53:34 +00:00
briggs 4d13774bbc Rearrange a bit. bpfilters -> 16 and ae0/ae1 -> ae*. 1995-11-01 04:52:46 +00:00
briggs 67e41c3280 Remove extra serial device--forgot to check this in earlier.
The serial device now handles both channels.
1995-10-12 17:39:45 +00:00
briggs fcb8923ffa Remove extra reference to LIBKERN. 1995-10-10 03:47:59 +00:00
briggs 5479e941d9 Add a second ppp. It makes the kernel a whole 8 bytes larger on disk. 1995-10-04 11:05:25 +00:00
briggs 8ede165771 ae0 -> ae* and add a couple of vnd devices. 1995-10-04 03:42:18 +00:00
briggs be8ef88444 Raise number of bpfs to 12 since CAP needs a minimum of 8. 1995-10-03 20:19:01 +00:00
thorpej c9dfdd20b6 Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:48:41 +00:00
briggs bee931c117 Set timezone to 0. The booter's GMT bias should be used, instead. 1995-09-16 12:33:06 +00:00
briggs e9a9533544 Make the new m.i. scsi driver the default. 1995-09-03 03:37:32 +00:00
briggs a91a7f619b GENERIC should have options GENERIC. Duh. 1995-07-17 01:21:29 +00:00
briggs 4d6ed092f1 Fixup a comment. 1995-07-04 03:30:11 +00:00
briggs eec2d38c71 Take out ncr96scsi0. 1995-07-01 16:35:54 +00:00
briggs 175a1e27f4 add needs-flag for the scsi chip interfaces. 1995-07-01 16:28:13 +00:00
briggs 600cdad805 Stupid typo in last. 1995-06-25 14:02:09 +00:00
briggs 50d8509da2 Stupid pasto in last. 1995-06-25 13:53:21 +00:00
briggs 0958ef72c8 Add libcompat. 1995-06-25 13:39:37 +00:00
briggs 2a153a49b1 Fix the clean target. 1995-06-25 13:06:32 +00:00
briggs 5781a8dcc0 The kernel is called netbsd, not vmunix. 1995-06-24 17:24:24 +00:00
briggs 1dadb15deb Remove DIAGNOSTIC 1995-06-22 23:24:18 +00:00
briggs 1eec6bfc33 Add pmap_bootstrap.c and take out mac68k_init.c. 1995-06-21 02:43:19 +00:00
briggs caa1421dd6 Add FPSP back. 1995-06-19 03:55:15 +00:00
briggs 6f06373e06 Take out M68040, add a more specific swap and add vnd. 1995-06-19 03:53:58 +00:00
briggs fec7ba6562 Rearrange slightly. 1995-06-16 04:45:22 +00:00
briggs 0b3271404c Make genassym depend on its C source. 1995-05-31 00:09:55 +00:00
briggs 94ce6105d2 Add configuration for my gateway machine. 1995-05-17 00:33:59 +00:00
briggs 59b4da2b39 Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
christos 843a2a3539 Use new files.sunos 1995-04-27 12:08:54 +00:00
christos 94289bf2b0 Move sunos_machdep.c to m68k 1995-04-22 23:39:02 +00:00
christos de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
briggs 9e1f939930 Get rid of old file from hp300 origins!? 1995-04-21 11:35:15 +00:00
briggs df693904cd include mi scsi files file.
Change several devices from needs-count to needs-flag.
1995-04-20 15:28:54 +00:00
mellon df78dbb096 Reference cninit.c as well as cons.c 1995-04-11 09:52:11 +00:00
briggs 9fca93fa60 Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.
1995-03-29 07:28:48 +00:00
jtc d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
briggs 5b07b9403e Nuke NEWCONFIG. It's not used anymore at all. 1995-03-11 13:56:36 +00:00
briggs 999ff6a003 Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.
1995-03-11 13:55:03 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
briggs ede2edbeb6 Update to add pramasm.s. 1995-02-15 23:54:56 +00:00
briggs ff26dc4f91 Add major for vnd. 1995-02-05 06:13:52 +00:00
mycroft 3863b50c5c Clean up deleted files. 1995-02-01 13:40:11 +00:00
briggs 28fbb7d0dd Add a new config and remove some old ones. 1995-02-01 13:40:10 +00:00
cgd b56a5f27d4 add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
briggs cf017d6caf sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
readability.
1995-01-21 00:14:11 +00:00
briggs 1c47e24828 Mac ROM Glue changes from grantham@tenon.com. 1994-12-03 23:33:55 +00:00
briggs f2301680d3 Same as GENERIC but w/o FPCOPROC option. 1994-12-03 23:31:58 +00:00
briggs 9f994613ae compat/sunos/sun_* -> compat/sunos/sunos_* 1994-11-27 22:10:28 +00:00
briggs 3938bad3ff Attempt to use sys/scsi. 1994-11-27 20:07:38 +00:00
briggs 38952df227 Re-enable NFSCLIENT 1994-11-27 19:53:10 +00:00
cgd 4fdae7a0ae new RCS ID format. 1994-10-26 08:45:48 +00:00
briggs a509897f98 Before I forget... 1994-10-20 21:21:02 +00:00
briggs 9e4e942a2f Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.
1994-09-12 03:53:03 +00:00
lkestel f6e6044227 Make GENERIC be MACHINE_NONCONTIG. 1994-07-31 07:31:45 +00:00
briggs 47b43066ee Take -nostdinc out of INCLUDES so we can get nlist.h and a.out.h for DDB. 1994-07-21 01:49:08 +00:00
briggs 1730b405b5 Make ALLEN a copy of GENERIC. Disable FPSP in GENERIC. 1994-07-21 01:19:41 +00:00
briggs 2ff67c7db9 Add asc as a device. Format a tad. 1994-07-21 01:00:58 +00:00
briggs c35fccac8b Add asc0. 1994-07-21 00:59:56 +00:00
briggs fe27023f3b Put FPSP in SYSTEM_OBJS (missed this earlier, apparently, twice). 1994-07-21 00:58:28 +00:00
briggs 46cebf15df Enable DDB, CD9660, NULLFS. Add bpfilter. Slight cleanup. 1994-07-21 00:57:33 +00:00
briggs d3bc60c2c5 Add ite0. 1994-07-09 06:28:16 +00:00
briggs eaca1c00bb Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.
1994-07-09 06:27:53 +00:00
briggs 2bb2aa0788 Nuke pseudo-device con. 1994-07-09 06:26:24 +00:00
briggs 4b3d50f976 Oops... Forgot to check in w/ FPSP support. 1994-07-08 11:47:10 +00:00
briggs 4052db0a25 Erf. Forgot to put mac68k_init.c in alphabetically. 1994-06-26 12:55:32 +00:00
briggs 8c801bb064 Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.
1994-06-26 12:53:36 +00:00
briggs cacbca4756 Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup.  copy.s added to files.
1994-06-25 04:58:01 +00:00
briggs 6d70a3f064 Add fpsp option. 1994-04-21 23:12:44 +00:00
briggs 36ec20b2e2 Add COMPAT_09 1994-04-15 01:44:03 +00:00