Commit Graph

372 Commits

Author SHA1 Message Date
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
christos 4b697aa304 add emul.c 1997-03-15 02:36:00 +00:00
mycroft cbbcf185ae Put the genassym.sh output in a temp file, and mv -f it, in case
it fails spectacularly and doesn't clean up.
1997-03-14 23:23:45 +00:00
cgd 96153388c0 add in the 'isp' device, for Qlogic ISP 1020-based Sbus SCSI board support 1997-03-13 00:46:13 +00:00
christos 0d71b22d50 Use genassym.cf 1997-03-12 15:17:13 +00:00
cgd a0d3809966 specs for ISP 10x0 (isp) driver Sbus attachment. From Matt Jacob. 1997-03-12 06:43:25 +00:00
thorpej f868730b6a esp carries ncr53c9x attribute 1997-02-27 01:17:09 +00:00
pk ddb0d6fa06 Add `-mno-fpu' to compiler flags; pulled up from 1.2 version. 1997-02-05 00:12:46 +00:00
pk 79da30bb31 typo. 1997-02-04 21:59:26 +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 f159c829df Adopt for new file system and root spec grammar. 1997-01-31 02:06:41 +00:00
pk 0a5eeae37c `::' => `:' ; per recent sys/lib/*/Makefile.inc changes. 1997-01-24 00:58:20 +00:00
thorpej 7b40f5228e "md" is declared in sys/conf/files, now. 1997-01-21 09:39:20 +00:00
mrg 152f8d880d add MSDOSFS. 1997-01-17 03:43:56 +00:00
mrg c71a371532 use pseudo-device ipfilter, not ipl. 1997-01-07 11:35:01 +00:00
mrg 394d540361 add PFIL_HOOK and ipl, both commented. 1997-01-06 07:35:39 +00:00
mrg fb5d192bc3 include the GENERIC kernel, and then map the disks. 1997-01-06 07:34:14 +00:00
pk 603b61c3e0 rename: ramdisk => md 1996-12-28 23:22:07 +00:00
pk d539e60bb2 Uncomment lebuffer devices 1996-12-06 22:02:32 +00:00
pk 554078cb87 Declare lebuffer 1996-12-06 21:57:57 +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
pk ab9677d1d6 Move *PAGER options and `machine sparc' to std.sparc. 1996-11-18 00:10:19 +00:00
thorpej 4ad70417a0 Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).
1996-11-12 23:58:01 +00:00
pk aa965ce3bf Declare device `audio' at sbus. 1996-11-03 11:18:15 +00:00
pk 19b8bfdf3d Declare device `audio' at sbus where it resides on Microsparc machines,
from Nick Sayer's PR#2908.
1996-11-01 23:15:51 +00:00
abrown 748b2c4bbe Add cgfourteen framebuffer to generic configs 1996-10-03 00:05:41 +00:00
mrg 14d1592766 update for exec changes. 1996-10-02 07:11:45 +00:00
abrown e46ca2d67c Add cgfourteen driver as device "cgfourteen" 1996-09-30 22:43:38 +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
mrg 5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
chuck 7544016a9d sbus specific stuff for eni155s sbus atm card.
XXX: only works on sun4c, needs something better than vtophys() for
	machines with IOMMUs(?).
1996-06-22 02:02:48 +00:00
pk 43cca6772f `rd_root.c' => `md_root.c' 1996-06-20 20:17:57 +00:00
pk 5b9021505a ramdisk stuff. 1996-06-20 20:05:46 +00:00
pk a0222c1293 Turn on disconnect/reselect by default on targets 4-7 on the premise that
tape devices normally are set to one of these targets. Tape devices should
be allowed to disconnect for the SCSI bus to operate acceptably.
1996-06-20 19:50:41 +00:00
pk 5f5407c39e add tcx 1996-06-19 13:23:25 +00:00
pk c6d4bf55e3 Add tcx definition. 1996-06-19 13:21:09 +00:00
pk 3d1e64415a Switch to `sys/dev/sun/event.c'. 1996-05-29 21:56:38 +00:00
pk dc7e7814d9 Remove the `espdma' special case; all `esp' related dma channels are now
called `dma' on all architectures.  Note: `ledma' remains in place.

Also delete a couple of unneeded `needs-flag's in files.sparc.
1996-05-21 19:06:26 +00:00
pk 1bd6f1f147 We don't generally want to profile `genassym' (easy part of PR#2434). 1996-05-19 20:58:51 +00:00
abrown d9277a9036 Add Sun4m power0 power status/control register to GENERIC configuration 1996-05-17 18:02:56 +00:00
pk b9f70e90d8 Add `flags' to the esp entries: disable disconnect & synch negotiation
by default until further notice.
1996-05-16 22:47:47 +00:00
pk e509f9aaeb Change attributes of `dma', `espdma' and `ledma' (the attributes on the latter
two didn't seem to make much sense anyway..) to allow `esp' devices to be
attached to one of `sbus', `dma' and `espdma'.

Remove the wildcarded `espdma?' and `ledma?' attachments of `esp' and `le'
respectively, in favour of `dma?' and `lebuffer?' (but the latter is not
yet implemented), which seems to better match reality: additional SBus
SCSI/Lance boards call themselves `dma' and `lebuffer'.
1996-05-16 22:38:04 +00:00
thorpej 81ba0732e0 Document the "flags" for the si and sw controllers. While I'm here,
do some re-arrangement (cleanup), and document which devices exist on
which machines, so that people can be better informed when they trim
down their kernels.  There are a LOT of comments in this file now!
1996-05-16 03:13:27 +00:00
thorpej 81b0485bfe These haven't been kept up to date. 1996-05-15 23:57:50 +00:00
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
thorpej 0e0d4f1ec2 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:24:48 +00:00
thorpej b3897170bd Haven't used "options RCONSOLE" for a long time. Update to the new
"options RASTERCONSOLE".  Noticed by cgd.
1996-04-11 21:54:13 +00:00
thorpej e17cddf913 If the power device is configured, don't forget to compile the driver.
Also, add some whitespace for readability.
1996-04-11 21:05:42 +00:00
pk b0fd2dabcb Include fd.c if (fdc | fd), so we're not obliged to define a device
at fdc.
1996-04-04 22:57:55 +00:00
pk 25b6ab86fe Update device list. 1996-04-01 00:20:31 +00:00
pk df08150880 Updates for sun4m. 1996-03-31 22:57:09 +00:00
pk 678fbb4806 sun4m device definitions and bus structure. 1996-03-31 22:52:38 +00:00
cgd 94907fa254 adjust to deal with expression support for optional file specs 1996-03-17 13:21:09 +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
christos 6d492269e0 Add -Wall -Wstrict-prototypes -Wmissing-prototypes
to the kernel build. The sparc is clean now!
1996-03-15 00:02:28 +00:00
pk 855b6def84 Add ns_cksum. 1996-03-02 23:55:17 +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
thorpej edf9d66f32 First-cut support for P4 framebuffers. Currently supports P4 variants
of bwtwo, cgfour, cgsix, and cgeight.  Includes support for attaching
the overlay plane of the cgfour and cgeight as a bwtwo instance (a'la
SunOS).

P4 register descriptions, cgfour driver, and cgeight driver partially
derived from OpenBSD.

This code may still need polishing.
1996-02-27 22:09:14 +00:00
mycroft 2ce52ae489 Define build programs with `?=', so they can be overridden with `makeoptions'. 1996-02-26 02:53:20 +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
thorpej 0e8ffc850f "si" and "sw" actually interrupt at level 3 (which I quickly discovered
when porting the driver).
1996-01-01 22:46:08 +00:00
thorpej 33582e90e0 "si" and "sw" now have the ncr5380sbc attribute. 1996-01-01 22:44:05 +00:00
pk 5e55f88874 Remove `-fno-builtin'. 1995-10-22 17:36:33 +00:00
pk ecf1cf893d Add forgotten `eeprom' configuration. 1995-10-08 11:45:39 +00:00
pk c1e313b122 include `files.rcons'. 1995-10-05 00:21:35 +00:00
pk 859b799130 RCONSOLE => RASTERCONSOLE 1995-10-04 23:44:33 +00:00
pk f33cf7c909 Correct cgtwo address. 1995-09-25 22:33:37 +00:00
chuck 8d19642cd6 add "xy" xylogics 450/451 config stuff 1995-09-25 20:20:27 +00:00
thorpej b903d705da Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:26:58 +00:00
pk f447526366 vmes => vmes0 1995-09-17 21:11:13 +00:00
pk 2c523b5941 Remove rcons lines.
Add cgtwo.
1995-09-17 21:03:36 +00:00
pk 30150218f5 Add cgtwo0. 1995-09-17 21:02:56 +00:00
pk 5bf0d8e4fa `si' and `sw' are scsibusses. 1995-09-11 19:20:12 +00:00
pk 60a7c4c394 Add `sw' scsi adapter on obio (per Jason Thorpe, PR#1422). 1995-09-05 21:43:09 +00:00
pk 7a84d590e0 Add bwtwo@obio specs (from Jason Thorpe). 1995-08-29 22:50:36 +00:00
pk bc5b188714 Define bwtwo at obio & vme (from Jason Thorpe). 1995-08-29 22:28:07 +00:00
pk 8274dc04d1 si scsi driver configs. 1995-07-08 21:33:48 +00:00
pk 70b6d95d44 xd definitions, from Chuck Cranor. 1995-06-26 23:01:06 +00:00
pk 4f4e4826a6 xd definitions, from Chuck Cranor. 1995-06-26 23:00:31 +00:00
christos a5c53e5068 Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
1995-06-24 20:47:36 +00:00
pk bf834e228d Add UNION option. 1995-06-05 12:46:31 +00:00
pk c86cba88fe Update SCSI decls. 1995-06-02 17:53:51 +00:00
pk 555da07c0f eeprom device (from Jason Thorpe). 1995-05-29 23:53:50 +00:00
jtc f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
christos 8e536df8d5 Added sunos_machdep.c; from Matthew Green 1995-05-08 19:14:21 +00:00
pk 9ca43d7c14 Remove -I/usr/include from `genassym' line. 1995-05-08 18:02:12 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
christos 9cc011e7a1 Use new files.sunos and old files.svr4 :-) 1995-04-27 12:16:31 +00:00
pk 794f74a0cf Audio driver name change. 1995-04-25 20:07:10 +00:00
christos f376448086 Added the svr4 files 1995-03-31 02:57:02 +00:00
jtc d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
pk 06e2052190 Update for 4/100 1995-03-02 20:53:11 +00:00
pk 35ef499ff3 Make more generic. 1995-03-02 20:48:17 +00:00
pk c897fc5127 Better 4/100 support. 1995-03-01 21:09:19 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
pk 7278038bbd add bsd_fdintr.s 1995-02-22 21:32:34 +00:00
pk 493dddc814 Admit we have a floppy driver. 1995-02-18 09:40:30 +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
cgd 4cc138dd7a vn -> vnd renaming, for consistency 1995-01-25 05:34:51 +00:00
deraadt 4ef28ec578 correct ie[1234] addreses 1994-12-17 23:12:41 +00:00
deraadt 8730c977bd ie[01234] and obclock 1994-12-16 21:53:43 +00:00
deraadt c68c62c943 SUN4m-only.. 1994-12-16 21:53:25 +00:00
deraadt 2c0a05e7fa oclock for 4/100 and 4/200 1994-12-16 21:53:01 +00:00
mycroft e5379bfffb Clean up deleted files. 1994-12-07 14:46:06 +00:00
deraadt 4144af8de8 bigtime cleanup 1994-12-07 14:45:54 +00:00
deraadt 1ef32e64bc clean better 1994-12-06 20:54:46 +00:00
deraadt fcb4fd9cb0 COMPAT_10 all around 1994-12-05 09:17:30 +00:00
deraadt cae9130ef6 enable SYSVMSG,SYSVSEM,SYSVSHM 1994-11-30 19:44:53 +00:00
deraadt 274a90762d copyright/Id cleanup 1994-11-20 20:51:32 +00:00
deraadt 95e71f1dbd first vme ie card 1994-11-02 05:00:13 +00:00
deraadt 274ac617ef clean vnode_if.[ch] 1994-11-02 04:59:59 +00:00
deraadt 2036bd665c updates 1994-10-26 07:12:38 +00:00
deraadt a4323e6911 changed sunos_compat, if_ie 1994-10-26 07:12:18 +00:00
deraadt 63afb063a5 declare obio/sbus in the right place
obio/vmes/vmel support only active if requested
1994-10-15 06:01:20 +00:00
deraadt 425833d1b0 sun4/300 support works 1994-10-02 21:59:56 +00:00
deraadt 4fbb770d32 add obio for sun4 1994-09-18 00:03:03 +00:00
deraadt 51150e13d3 new scsi 1994-09-17 23:43:56 +00:00
deraadt 6e2b05d646 new scsi code
sparc/sbus/* --> sparc/dev/*
1994-09-17 23:43:23 +00:00
pk 09301847a4 Compile `pamap.c' and `cache.c' with normal compiler rules.
Let's pretend this was a bug in some previous version of gcc...
1994-09-05 06:31:34 +00:00
deraadt 7ac73ef982 add addr & level specifiers for non-openboot systems 1994-08-20 09:08:58 +00:00
deraadt 63db65b59d no need for timezone spec 1994-08-20 09:08:27 +00:00
deraadt c121e1da16 add pseudo-device kbd 1994-08-17 06:22:10 +00:00
deraadt 1b70fad2a5 document why this exists 1994-08-12 01:19:12 +00:00
deraadt 549e3f356d option GDB isn't valid
disable KGDB because we do not have (userland) support for it
1994-08-12 01:16:26 +00:00
deraadt 24a23eab66 make work 1994-08-01 19:26:27 +00:00
mycroft e17799897e Clean up deleted files. 1994-07-28 09:05:04 +00:00
deraadt 14fe202dc4 cleanup 1994-07-27 09:57:55 +00:00
deraadt 23d08dc0be cleanup 1994-07-27 09:13:54 +00:00
deraadt 9b3e7e6403 compile kernel with -O2 1994-07-20 21:10:00 +00:00
deraadt e537be043e make it all work, make it faster 1994-06-24 08:13:14 +00:00
deraadt be4f29289b vnode_if cleanup 1994-06-16 18:52:02 +00:00
pk b1912ac2e2 New vnode interface. 1994-06-10 13:03:26 +00:00
pk 719132a1f6 Remove old-style profiling hack. 1994-05-27 09:22:26 +00:00
deraadt ef17fdff45 update.. 1994-05-22 23:13:51 +00:00
deraadt 2db3edfe06 SYSVSHM goes away, it will be back soon 1994-05-12 08:22:41 +00:00
deraadt 77699be44d split sun4c/sun4m/sun4 support somewhat 1994-05-05 07:50:04 +00:00
deraadt 9d5d156cc1 shm 1994-04-18 10:51:05 +00:00
deraadt 848ce7a64d compile genassym static 1994-04-13 10:26:48 +00:00
deraadt c198b59b4d partial clean; needs more work 1994-04-12 07:47:20 +00:00
pk 470215735f Add some DDB files. 1994-03-17 09:24:58 +00:00
pk 6cce9fd564 Some bits and pieces to make a profiled kernel (for the moment). 1994-03-17 09:24:05 +00:00
deraadt c0cf4434ea kbd is now a pseudo-device 1994-03-03 13:17:14 +00:00
deraadt 21d7b68b1d more more more 1994-02-27 08:46:17 +00:00
deraadt 31c0012869 make make depend dependable 1994-02-04 17:27:28 +00:00
deraadt 0232a12c36 cleanup 1994-02-04 16:19:35 +00:00
deraadt 6eeef06fa6 blow away sunos cross compilation gunk. we no longer need it,
as we are capable of compiling ourselves.
1994-02-04 16:19:23 +00:00
deraadt e9fee9d6d3 sparc runs in current today 1994-02-01 06:01:19 +00:00
deraadt e2d8e0cdaf NFS -> NFSSERVER and NFSCLIENT
take out NEWCONFIG option
1993-12-02 11:10:35 +00:00
deraadt 9baa68556c more cleanup 1993-11-29 06:14:06 +00:00
deraadt 82d8ced9f1 start to get rid of some of the hacks 1993-11-29 05:37:56 +00:00
deraadt 1aba43bb13 use new sun_exec_aout_makecmds 1993-11-28 18:09:43 +00:00
deraadt bf504b849f theo's other test kernel 1993-11-28 08:42:31 +00:00
deraadt d6df6b46fc the sunos files have moved to /sys/compat/sunos 1993-11-22 21:57:13 +00:00
deraadt 3dbda08a31 add torek's new cgthree driver.
the brooktree DAC code has been split out from the cgthree driver,
and is now shared with the cgsix.
1993-11-14 15:00:50 +00:00
deraadt 60b0bb39a9 blast it.. 1993-11-10 10:17:52 +00:00
deraadt 8d10efb291 sun_disklabel.c moved 1993-11-10 09:48:21 +00:00
deraadt 776e071fd0 sys/dev/scsi -> sys/arch/sparc/scsi. 1993-10-27 18:09:38 +00:00
deraadt a397cbe66a more hacks to my private config file 1993-10-27 18:07:44 +00:00
deraadt 0f39e223a2 use RCONSOLE; whee 1993-10-17 04:41:34 +00:00
deraadt c6003607ba arch/sparc/sparc/sys_machdep.c is non optional; there is more in
there than just TRACE
1993-10-15 05:59:28 +00:00
deraadt d5b0b3dffa New location for libkern, fixes for many paths.
+ lots of temp changes to be backed out later!
DEBUG=-g always, use gcc, link with libgcc.a, include dirs in
a weird place for my development environment.
1993-10-11 02:33:25 +00:00
deraadt d9ead6b6f5 TDR: config file i'm testing with
files.sparc.newconf: a files file that works
files.sparc: old name for above file, might as well delete
1993-10-10 11:19:26 +00:00
deraadt 4588caefaa Chris Torek's sparc port. Missing lots of things. 1993-10-02 10:22:00 +00:00