Commit Graph

342 Commits

Author SHA1 Message Date
gwr 0a16f42840 Slim this down so it can be used as an Xkernel. 1999-04-08 07:10:20 +00:00
gwr c8cdcb1f4c sync with GENERIC 1999-04-08 07:00:58 +00:00
gwr ab812ca7f3 sync with GENERIC3X 1999-04-08 06:49:54 +00:00
gwr 6b0a331b5c Make "dma" a real device so it can attach before esp. 1999-04-08 04:37:00 +00:00
mrg ca5f9685bb clean up kernel/config files files for machVM lossage. 1999-03-24 06:06:09 +00:00
thorpej c84a74b16b Don't define "mc68020". Nothing uses it. 1999-01-15 23:21:25 +00:00
augustss fc5f9ee81d Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C. 1999-01-08 19:26:12 +00:00
mrg 9ec7c3c814 move sun3 to UVM by default. only pica/arc & x68k left. 1998-12-23 06:00:03 +00:00
gwr 271b8ff5ba Sync with GENERIC 1998-12-17 06:46:55 +00:00
itohy 36416d8500 Added options COMPAT_LINUX and EXEC_ELF32 as comments
to GENERIC configuration files.
1998-12-15 19:50:00 +00:00
itohy c05dadc113 Added COMPAT_LINUX support. 1998-12-15 19:36:36 +00:00
kleink a2aacaedde Add -Werror and -Wmissing-prototypes, like most other ports do. 1998-12-13 19:19:38 +00:00
hwr 59acb69be1 Add (commented out) 'gre' pseudo device line. Feedback is welcome.
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
oster cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
drochner 2468738337 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
lukem c9db84ecc9 distclean is a synonym for cleandir 1998-09-05 15:15:14 +00:00
gwr 7e0d396bf4 Add xyc to the dev/xy.c line, similar for xd. 1998-07-23 23:45:24 +00:00
drochner 49bb9d8214 adapt to LANCE driver split 1998-07-21 17:36:01 +00:00
lukem bd8d501f7e remove options FIFO; it's now the default 1998-06-26 01:53:43 +00:00
fair af3c9e43de turn on LKM by default, per PR#4423 1998-06-11 19:02:35 +00:00
gwr 28a7286ede Uh, something went wrong last time? 1998-06-08 20:38:35 +00:00
gwr be58914fa7 Sync with RAMDISK:
No need for any COMPAT_* options in the ramdisk kernel
Can do without the uk driver also...
1998-06-08 20:20:05 +00:00
gwr 629b52dbcc Sync with 1.3.2 release branch:
No need for any COMPAT_* options in the ramdisk kernel
Can do without the uk driver also...
1998-06-08 20:17:40 +00:00
thorpej a7f360c6c9 Specify a non-profiling C rule. 1998-05-31 23:25:41 +00:00
tv b21bfbde11 Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
gwr 9c160cc541 Deal with missing P4 register on old 3/60 machines. 1998-03-21 21:40:45 +00:00
bouyer 9f50fca1fd Add commented out "options FFS_EI" 1998-03-18 16:34:41 +00:00
gwr 56fd5cb1ae Like INSTALL and INSTALL3X, leave out DDB.
(Can patch using the PROM if needed.)
1998-03-08 19:38:05 +00:00
gwr d7e49b6a5b Make comments refer to GENERIC3X, not GENERIC 1998-03-08 19:33:09 +00:00
gwr 9c0c7119c3 Leaner configurations for the installation media.
(Small enough to work on all machines.)
1998-03-08 19:29:40 +00:00
gwr ce396c52e6 can not use star 1998-02-19 22:50:04 +00:00
thorpej 8354e68508 Remove "class" declarations, and add "devclass" declarations where
appropriate.  Fix several inconsistencies between device class and
attributes.  Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
gwr 0bc9d95f95 Move the sun3-vs-sun3x stuff into std.sun3 and std.sun3x
Configure P4 frame buffers at the address of their P4 reg.
Move messy Sun3 bw2 and cg4 configs to included files.
1998-02-08 05:10:45 +00:00
gwr eff2e270bd Merge arch/sun3x into arch/sun3 1998-02-05 04:56:24 +00:00
is b3fa451227 Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.
1998-02-01 21:23:24 +00:00
gwr 6b745182fc No need for NFS_BOOT_RWSIZE here (root is always md0) 1998-01-28 16:41:10 +00:00
gwr d2f145c059 Add NFS_BOOT_BOOTPARAM (fixes PR#4904) 1998-01-28 16:40:19 +00:00
gwr dd049a163c Add config flags for tty[cd] to set TIOCFLAG_SOFTCAR.
Remove the framebuffer devices (not useful here).
1998-01-22 23:21:57 +00:00
gwr 2c9c7a74bd Remove the config flags from "si" lines so the driver default will
be used.  That also makes it possible to patch the kernel in case
the default option causes boot failures or something...
1998-01-22 23:00:24 +00:00
gwr 8c3664b216 Remove the config flags from "si" lines so the driver default will
be used.  That also makes it possible to patch the kernel in case
the default option causes boot failures or something...
1998-01-22 22:27:57 +00:00
thorpej 1adb4489a6 Update for changes to config. 1998-01-12 20:23:38 +00:00
gwr be7fd676e5 Sync with GENERIC 1997-12-13 00:26:08 +00:00
gwr ebbce0eb18 Need MEMORY_DISK_IS_ROOT now also.
Sync with GENERIC
1997-12-13 00:25:15 +00:00
gwr 4f0a44847d Move Sun3/E stuff 1997-12-13 00:23:45 +00:00
gwr 6be94f263f obsolete 1997-12-13 00:21:01 +00:00
kleink 28e0cf0693 Add COMPAT_13. 1997-12-01 16:02:09 +00:00
fair 315f8de9c2 add pseudo-device rnd, commented out 1997-11-20 08:11:14 +00:00
lukem e8cb388f65 * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:58:31 +00:00
lukem 6c986561ee * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:57:23 +00:00
thorpej ce4c770f88 Make sure CPP, AR, AS, and RANLIB are defined. 1997-11-12 23:11:50 +00:00
thorpej a421995756 Define LORDER, NM, and TSORT here, like we do the rest of the tools. 1997-11-12 22:25:31 +00:00
gwr 737748a765 Generate assym.h into assym.h.tmp first, then move it. (safety)
Add a dependency for stub.o:Makefile
1997-10-23 01:39:20 +00:00
gwr cfe268b782 Sync with GENERIC 1997-10-17 04:29:59 +00:00
gwr 1b1b628e81 Sync with GENERIC 1997-10-17 03:17:50 +00:00
gwr 1f0cc730a8 typo 1997-10-17 03:17:01 +00:00
gwr ab5828ead6 Add Sun3/E stuff, and re-organize. 1997-10-17 02:59:05 +00:00
gwr 787dc36d1a Add COMPAT_1? 1997-10-17 02:55:40 +00:00
gwr 4aaf52ce2a Add VME support 1997-10-16 17:20:35 +00:00
gwr 35cfb77c2f Sync with GENERIC 1997-10-07 17:50:50 +00:00
gwr 8e46a17c49 cosmetic 1997-10-07 17:49:26 +00:00
gwr 0a6d195bf0 Add the ie driver (and reorder some things) 1997-10-07 17:08:35 +00:00
gwr c63931a407 use common genassym.awk 1997-10-04 17:14:07 +00:00
lukem 7d508b124f define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
1997-10-03 07:17:00 +00:00
christos 7f41ec0345 PR/4162: Chris Jones: make cleandir does not work properly; it does not
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:50:53 +00:00
mycroft 50cfb2fcdd Kill vestiges of Locore.c. 1997-09-12 07:55:17 +00:00
bouyer 6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
mjacob 6ac7f6248f add a before tab to SCSIVERBOSE 1997-08-23 19:16:06 +00:00
mjacob 1a7afa3853 add commented out reference SCSIVERBOSE option 1997-08-20 18:38:13 +00:00
jeremy 89aa743138 Config file for a RAMDISK kernel. 1997-05-27 01:06:33 +00:00
jeremy 608a6800e6 Things are stable enough that DDB, PMAP_DEBUG and DIAGNOSTIC aren't needed
anymore.
1997-05-15 01:49:27 +00:00
lukem 6fe4889b92 cleanup use of whitespace 1997-05-07 02:20:26 +00:00
lukem a9016579ab clean up whitespace use 1997-05-07 02:14:59 +00:00
gwr a0d8cf3b65 Kill an obsolete comment. 1997-04-28 21:44:53 +00:00
gwr dcc94a5dd9 Document the flags accepted by the esp driver. 1997-04-12 19:48:00 +00:00
thorpej 378c9b0f3b Remove redundant file directives 1997-04-09 20:37:17 +00:00
jeremy 60d41bb34e Add floppy controller and floppy drive. Also add MS-DOS filesystem for
use with floppies.  Remove 'SYMTAB_SPACE' now that we have our own
bootloader.
1997-04-09 04:36:56 +00:00
gwr 199246e95f No longer need SYMTAB_SPACE now that sun3x/stand/* works.
(Thanks, Jeremy!)
1997-03-24 17:39:04 +00:00
jeremy 4d949455d4 Fixed address for bwtwo framebuffer. 1997-03-21 07:28:36 +00:00
gwr c960be72aa Add /dev/leds (closes PR#2172 from der Mouse) 1997-03-18 22:21:50 +00:00
gwr 03c1c9cee0 Fixup dependencies 1997-03-17 20:59:47 +00:00
gwr 08f7a407f9 Separate bcopy and copypage stuff from copy.s 1997-03-17 19:46:36 +00:00
is 07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
gwr 0fefd47a64 Use arch/m68k/m68k/sig_machdep.c 1997-03-13 20:30:19 +00:00
gwr f64034e8f6 Sync up with changes in GENERIC 1997-03-11 21:21:49 +00:00
gwr b4de41ef34 Update the description of the flags for "si" devices.
Remove wired-down scsi disk targets (no longer needed).
Add ch, ss, uk (scsi devcies) at mycroft's requst.
1997-03-11 20:59:10 +00:00
jeremy 1c79e9f83d The first GENERIC config for sun3x. Includes new esp driver. 1997-02-24 03:53:52 +00:00
gwr 2e84cacf02 Add dev/clock_subr.c 1997-02-19 23:36:38 +00:00
gwr 626bde2f9b Add bus_subr.c 1997-02-18 15:10:40 +00:00
gwr 2053794556 Add sun3/regdump.c 1997-02-14 20:10:50 +00:00
gwr fb373dd41e Add sun3/sig_machdep.c 1997-02-13 22:21:22 +00:00
gwr 45ff882a54 Replace sun3/kgdb_stub.c with sun3/kgdb_machdep.c 1997-02-13 18:14:31 +00:00
gwr 9536056d54 Fix some comments 1997-02-11 18:59:23 +00:00
gwr c70de0b625 Actually works now. 1997-02-10 23:36:09 +00:00
gwr 2f46cb47e2 update comments 1997-02-10 23:35:27 +00:00
gwr dfddf9c39b Actually works now. 1997-02-10 23:34:38 +00:00
gwr 7ceee3c729 Add -fno-defer-pop to COPTS (helps ddb backtrace).
Add AFLAGS=-m68020 and use it with ${AS} commands.
Depend kgdb_stub.o on Makefile (KGDBDEV, KGDBRATE).
1997-02-10 19:23:41 +00:00
gwr 60d4782469 Get rid of HOSTED_CC. 1997-02-07 22:55:44 +00:00
gwr c0b220738c change :: to : 1997-02-04 17:15:38 +00:00
perry 19d153fc48 Nuke some options GENERIC residue. 1997-02-04 04:57:10 +00:00
perry 0b3a46d6b3 Nuke some GENERIC residue. 1997-02-04 04:31:55 +00:00
thorpej 739819c9ba Adopt for new file system and root spec grammar. 1997-01-31 06:05:14 +00:00
thorpej 95380a8478 Adopt for new file system and root spec grammar. 1997-01-31 02:08:19 +00:00
gwr 4618767f94 Add sun3/sunmon.c (also kill trailing spaces) 1997-01-27 16:11:11 +00:00
thorpej 7b40f5228e "md" is declared in sys/conf/files, now. 1997-01-21 09:39:20 +00:00
gwr be760a77bf Moved MACHINE_NONCONTIG into include/vmparam.h
Also kill obsolete "options NEWCONFIG" line.
1997-01-18 19:09:15 +00:00
gwr 2dbfabbb97 Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:01 +00:00
mikel aed485cdf2 add 'pseudo-device ccd' where necessary; PR kern/1830. 1997-01-11 09:11:37 +00:00
pk d5b11782b5 rename: ramdisk => md 1996-12-28 23:27:00 +00:00
gwr 0c5e3e4955 Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!)  Also get rid of __BROKEN_INDIRECT_CONFIG
1996-12-17 21:10:35 +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
gwr 51cc81ac4f Move SWAPPAGER, VNODEPAGER, DEVPAGER to std.sun3 1996-11-19 21:04:44 +00:00
gwr 2fcc0a64d2 Use explicit addresses for obio devices. 1996-10-30 00:17:10 +00:00
gwr 23439db6ba The new cg4 driver does not use dev/bt_subr.c 1996-10-29 19:58:14 +00:00
gwr 6fa72d79b5 Add options EXEC_AOUT and EXEC_SCRIPT 1996-10-23 16:14:23 +00:00
thorpej 401d011da6 Merge netbsd-1-2 branch back into mainline. 1996-10-09 00:14:32 +00:00
jtc edd633aef1 Changed "../../m68k/fpe/files.fpe" to "arch/m68k/fpe/files.fpe" because of config changes 1996-10-08 18:03:00 +00:00
jtc 705b2e0726 Changed "std.sun3" to "arch/sun3/conf/std.sun3" because of config changes 1996-10-08 18:01:47 +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
gwr a1ec070f97 Take control over the kernel libraries so cross-build is easier. 1996-06-20 03:47:27 +00:00
gwr a2b74a415d Several minor changes to make cross-compilation easier.
(I do most compiles on a sparc these days...)
1996-06-18 16:18:34 +00:00
gwr 75a1ca034a Add KGDB support 1996-06-15 14:34:32 +00:00
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
thorpej eadc4bd43f Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 01:30:18 +00:00
gwr fa59facc05 New autoconfig design that controls attach order. 1996-03-26 15:15:46 +00:00
gwr 3bc57e3794 Document how to configure a kernel with ttyc,ttyd instead of kbd/ms 1996-03-26 15:14:27 +00:00
cgd 94907fa254 adjust to deal with expression support for optional file specs 1996-03-17 13:21:09 +00:00
cgd 0cfd94f31d fix typos in recent attachment changes. 1996-03-17 06:08:12 +00:00
thorpej 3cd14f7597 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 02:00:30 +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 dfdd60a3d1 keep static symbols 1996-02-20 22:03:56 +00:00
gwr b80de84521 kill SCSIDEBUG 1996-02-20 22:03:20 +00:00
gwr 5cb4cacff1 Add some things needed by KGDB 1996-02-16 20:04:36 +00:00
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +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 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
gwr 0d44b7f3fe Include m68k/fpe/files.fpe for FPU emulation support (fixes PR 1773) 1996-01-30 00:35:28 +00:00
gwr f261ae08c7 Update for the new z8530 driver 1996-01-24 22:39:48 +00:00
thorpej e9d1c5366d ncr5380sbc attribute is now defined in sys/conf/files. 1996-01-01 22:48:55 +00:00
gwr 86f10d8343 Switch to ncr_si (will just do PIO for now) and cleanup 1995-11-17 23:31:11 +00:00
gwr 7ff18ba0a2 The xy goes on VME16, not VME32. 1995-10-30 21:15:40 +00:00
gwr b3a6cbaeb0 New from Chuck Cranor: drivers for SMD disks!
xd: Xylogics 753/7053 SMD disk controller
xy: Xylogics 450/451 SMD disk controller
These now compile, but have not been tested.
1995-10-30 20:58:04 +00:00
gwr 93d0f65970 New SCSI driver for the NCR5380, by David Jones.
Does DMA with interrupts.  Much faster than our old
driver which did only PIO transfers. (Thanks David!)
Could be used on the amiga, and probably others...
1995-10-29 21:19:06 +00:00