Commit Graph

24836 Commits

Author SHA1 Message Date
jeremy
d0ba6f78a0 Fixed leap year bug. (Doesn't happen until 2100, but still important.) 1997-01-23 04:13:39 +00:00
thorpej
e256e03227 Arrange the code that sets the options flags such that the user can
completely override the defaults (including disabling DMA) in the
kernel config file.
1997-01-23 02:11:23 +00:00
mhitch
808f2c3ec1 The mfb driver uses struct fbinfo for the device data, but was only allocating
memory for struct device.
1997-01-23 01:54:09 +00:00
jtk
43130f9be2 apply typo fix per misc/3134 (from Thorsten Frueauf) 1997-01-23 00:31:14 +00:00
cgd
b78496eee9 add ECOFF, ELF32, and ELF64 recognition code. Right now, when
you try to hide symbols in these kinds of files, an error message
is printed noting that the executable format is not supported.
1997-01-22 23:57:18 +00:00
cgd
d7b9b1a503 dd the various #defines/#ifdefs for ECOFF support. ECOFF will
probably never be completely supported here (since its internal vs.
external symbol handling is so annoying), but at least we can recognize
the ECOFF binaries and print something useful, on machines that use
them.
1997-01-22 23:53:58 +00:00
mycroft
318bbe30f5 Increase the delay() in isapnp_wait_status() for slow cards. 1997-01-22 23:51:38 +00:00
mycroft
2cac90cc74 ep* at isapnp? 1997-01-22 23:46:59 +00:00
mycroft
f7709d02b6 Add a frontend for the 3C509B. 1997-01-22 23:44:03 +00:00
cgd
144d8aad7e a couple more bogons. (i'd been testing with the wrong executable!)
Now it really works.
1997-01-22 23:33:08 +00:00
cgd
eb8abf7e9d include extern.h, add newline to new fprintf 1997-01-22 23:21:49 +00:00
cgd
34f3806288 fix a couple of goofs ('hide' now returns errors!), move #ifdef 1997-01-22 23:21:01 +00:00
cgd
ccc5be39c2 fix hide_* prototypes 1997-01-22 23:20:03 +00:00
cgd
5247fa0ce9 split this up so that support for other executable formats can be more
easily added.
1997-01-22 22:49:05 +00:00
briggs
c794772836 PTY Master is 5, slave is 4. This has been wrong for a long time. How? 1997-01-22 19:31:37 +00:00
mhitch
4fe9d4efee The sfb driver uses the device data, so more than a "struct device" is
needed.  When sfbattach() initializes the fbinfo data, it was corrupting
data past the struct device data actually allocated.  This does not appear
to have caused a problem in the past, but causes a problem with the new
setroot() changes by Jason.
1997-01-22 17:27:54 +00:00
mikel
7e68ce85de inet_makeaddr() takes unsigned long, not int, arguments; fixes PR lib/2385. 1997-01-22 07:57:19 +00:00
thorpej
b7a5b84750 Treat the nswdev == 0 case like the nswap == 0 case; don't panic, just
report no swap space.  Suggested by Leo Weppleman <leo@netbsd.org>.
1997-01-22 07:28:21 +00:00
mikel
6bd4a3a75f add multiple inclusion protection 1997-01-22 07:09:04 +00:00
mikel
d59edbdc1c regen 1997-01-22 06:54:31 +00:00
mikel
bd71be635d add multiple inclusion protection to generated header 1997-01-22 06:51:59 +00:00
thorpej
e5a9a53136 Back out previous; that was _not_ meant for the trunk! 1997-01-22 06:19:34 +00:00
thorpej
2394f36887 Update for new setroot(). 1997-01-22 06:07:16 +00:00
thorpej
64eb3eb966 Don't build games if it's not there. From Matthias Drochner, PR #3130. 1997-01-22 04:19:48 +00:00
mikel
85e2541022 install namedb files from subshell so distribution target will work
with -j; from PR misc/3116
1997-01-22 04:10:42 +00:00
cgd
25bd886ba9 fix a typo (ZPPFLAGS should have been ZCPPFLAGS) 1997-01-22 01:36:30 +00:00
cgd
1d20ab5d2e if 'clean' is not already defined, rather than simply defining it with
a bunch of rules, define a clean{kmod,lib,prog} target with the rules,
and have both clean and cleandir depend on that.  That eliminates a bug
where 'cleandir' in a directory which included e.g. bsd.prog.mk but which
also had subdirs would 'make clean' all the subdirs and then 'make cleandir'
all ofthe subdirs.  It also allows Makefiles to add more dependencies
to 'clean' after inclusion of the make template.

If 'clean' is already defined, the behaviour is the same as it used to be.
1997-01-22 01:34:11 +00:00
thorpej
30ec3e8a63 Don't transfer the entire YP database using yp_{first,next}(); instead
use yp_match(), which is much more efficient.

From Michael.Eriksson@era-t.ericsson.se, PR #3114.
1997-01-22 01:21:06 +00:00
cgd
ea27b7aa31 Add a whole bunch of features, from Matthias Drochner:
best-fit, rather than first-fit, algorithm.
	ability to handle free()s with zero size (needed for gzip read
	    support).
	ability to start the heap someplace else (defined by HEAP_START).
	ability to limit growth of the heap (via HEAP_LIMIT).
	debugging sanity checks (ifdef DEBUG).
	allocation tracing support, to help debugging (ifdef ALLOC_TRACE).
and from me:
	ability to pick a (smaller) first-fit algorithm (via ALLOC_FIRST_FIT).
	lots of comments.

If heap limits and all of the debugging features are disabled (the default),
and ALLOC_FIRST_FIT is defined (not the default), compiled with -O on the
alpha the new version is the same (object) size as the old version.
1997-01-22 01:18:23 +00:00
cgd
862c1d585c code to open/close/read/lseek gzipped files, from Matthias Drochner. 1997-01-22 00:40:07 +00:00
cgd
21979e8d6b define these functions with an 'o' prepended to their names if
__INTERNAL_LIBSA_CREAD is defined (so that they can be used by the
compressed-read code).
1997-01-22 00:38:09 +00:00
cgd
b581a80665 prototype lseek(). also, prototype oopen(), oclose(), oread(), and olseek()
if __INTERNAL_LIBSA_CREAD is defined.
1997-01-22 00:37:23 +00:00
cgd
e5e4a07022 define names for the ISA floppy disk controller/drives, even though they
aren't supported yet.  (conf.c needs a header for them, since i already
added their device switch table entries.)
1997-01-21 23:45:54 +00:00
cgd
4a81474aaf make load address settable via LOADADDRESS make option 1997-01-21 23:37:10 +00:00
pk
a9142bd25b Drop strchr(), it's in libkern now; we didn't use it anyway. 1997-01-21 21:07:04 +00:00
leo
43795f8930 Don't set the PA_SER2 bit by default, this has the nasty side effect that
it disables the IDE hardware on the Falcon (Thanks Markus ;-) ). A function
is provided to toggle the bit.
1997-01-21 20:41:07 +00:00
thorpej
ac6352fdc7 Use a different timeout for the underlying RPC transmission than the
upper-level YP call.  This allows the RPC code to retry the transaction,
which is helpful for busy networks.

Problem noted and suggested fix from Michael.Eriksson@era-t.ericsson.se,
and slightly modified by me to compute the RPC timeout one at compile-time,
rather than N times at run-time.

Fixes PR #3117.
1997-01-21 20:40:07 +00:00
leo
c79dcb7c8c Add a 'size' argument to badbaddr(). This is very useful on busses that
only accept certain size accesses on a specific address range. Like the
VME bus.
1997-01-21 20:37:03 +00:00
is
7c2b743adf * make object dirs work:
- move the helper programs txlt and aout2bb to the topmost directory
- build the few files from libsa in the topmost directory

* while doing this, hunted down mysterious code expansion: It seems
that ld aligns code segments differently when linking .o's directly
than when using an archive consisting of the same files. Abuse this
effect to make the bootblock even smaller. The floppy boot block
"fdboot" is now small enough to build; add it back to the Makefile.

* while being here, remove a file which was committed by mistake.
1997-01-21 18:26:07 +00:00
thorpej
b170998941 "md" is declared in sys/conf/files, now. 1997-01-21 09:50:17 +00:00
thorpej
7b40f5228e "md" is declared in sys/conf/files, now. 1997-01-21 09:39:20 +00:00
thorpej
0eee378a26 "md" driver declared in sys/conf/files now. 1997-01-21 09:37:17 +00:00
thorpej
147c10c146 The "md" driver is MI (har har :-). Declare it here. 1997-01-21 09:36:04 +00:00
thorpej
3074220dfa Initialize max_target in the SCSI link. 1997-01-21 05:44:41 +00:00
gwr
ad79a66933 Separate out the stuff used to get in and out of the PROM monitor.
This file can be shared between the sun3 and sun3x.
1997-01-21 00:04:37 +00:00
cgd
7878fdb4f2 add a manual page for setnetbootinfo 1997-01-20 22:31:09 +00:00
cgd
96fba1833b add definitions for "1.2a" and "1.2b" arguments to the .Nx macros (For
1.2A and 1.2B, respectively).  clean up the strings resulting from
other Nx uses slightly.  (previously, 1.0A would be printed as 1.0a, etc.
Now it's printed correctly.)
1997-01-20 22:22:30 +00:00
thorpej
9fef925ff0 RCS ID police. 1997-01-20 21:01:28 +00:00
cgd
58cde8b551 update date to date of last real modification 1997-01-20 20:37:09 +00:00
explorer
8b5cdff515 sprintf -> snprintf, from David A. Holland <dholland@eecs.harvard.edu> 1997-01-20 19:04:59 +00:00