Commit Graph

24993 Commits

Author SHA1 Message Date
thorpej
7bfe4e11c4 Garbage-collect old-style autoconfiguration glue. 1997-01-30 09:00:21 +00:00
thorpej
743140bb51 Garbage-collect old-style autoconfiguration code. Adopt boot device
detection code to new-style autoconfiguration.
1997-01-30 08:59:29 +00:00
mikel
00702536b8 eliminate absent directories from .PATH; PR bin/3154 1997-01-30 07:29:11 +00:00
mikel
9723c5a793 add SEE ALSO sections for interface functions; PR lib/3158
also added missing doublequote char.
1997-01-30 07:15:49 +00:00
mikel
feaa2cfce3 fix leftovers from lite2 integration; PR misc/3159 1997-01-30 06:52:44 +00:00
tls
e9a5b29d40 add #ifdef KMEMSTATS around variable otherwise unused; now compiles with KMEMSTATS turned off. 1997-01-30 06:50:46 +00:00
thorpej
17aa7541b7 Add support to display the ccd-specific statistics kept by the ccd
driver.
1997-01-30 04:02:08 +00:00
thorpej
9a815ed696 A performance optimization, inspired by a conversation with Thor Simon:
- Keep a freelist of component buffer headers, defaulting
	  to 8 headers per component (tunable with the CCDNBUF
	  kernel compile option).
	- When allocating a component buffer, try to pull a header
	  off the freelist first, falling back on MALLOC() if the
	  freelist is empty.  Use MALLOC() rather than malloc(),
	  because it will attempt to short-cut the allocation before
	  actually making a full-blown malloc() call.
	- Keep statistics on how many component buffer headers have
	  been allocated and how many of those allocations have
	  resulted in freelist misses.

With these changes, I observed measurable decreases in system and
wall clock time on operations on an 8G ccd, as well as a measurable
drop in the time spent in ccdbuffer() (measured with kernel profiling).
1997-01-30 04:00:52 +00:00
thorpej
e911ec0bfe Don't try to divide by zero in progressmeter().
From Thorsten Frueauf <frueauf@ira.uka.de>, PR #3160.
1997-01-30 03:36:26 +00:00
thorpej
bb60822446 Fix OBOB in ccdopen() partition range check.
From Klaus Klein <kleink@layla.inka.de>, PR #3161.
1997-01-30 03:32:56 +00:00
thorpej
0941c04d45 Add support for generating MD5 checksums, partially derived from the
FreeBSD md5(1) program.  MD5 checksums may be generated by using the
"-m" flag to cksum, or by invoking this program as "md5".
1997-01-30 01:10:32 +00:00
thorpej
2fb6cfc85c Install md4.h and md5.h 1997-01-30 01:05:58 +00:00
thorpej
8d29c3cb33 Include files for MD4/MD5 routines, from FreeBSD. 1997-01-30 01:05:01 +00:00
thorpej
361fd90923 Functions were added to the C library; bump minor. 1997-01-30 01:02:45 +00:00
thorpej
1355adcf18 Build the MD4/MD5 sources. 1997-01-30 01:02:17 +00:00
thorpej
e176fc8fc9 Add MD4/MD5 routines to the C library, taken directly from FreeBSD's
"libmd".
1997-01-30 01:01:39 +00:00
mark
ab4940de30 Cast -1 to an unsigned char for the test with fil.fr_icode as the fr_icode
field is declared as an unsigned char.
1997-01-29 18:39:47 +00:00
is
3d42605db3 Correct yet another typing error. 1997-01-29 17:19:35 +00:00
is
3d43ed097b fixed my own stupid typing error. 1997-01-29 17:12:51 +00:00
ws
ac112dcf50 Shifting by 32 on a 32-bit machine is undefined
(and in fact -1 << 32 results in -1 on e.g. x86)
1997-01-29 12:07:26 +00:00
explorer
c80b5ae409 Doh! MAXHOSTNAMELEN, not MAXHOSTNAME 1997-01-29 10:30:14 +00:00
explorer
143a02016e Allow local hostname to be longer than 32 characters, and make certain it will
fit in the buffer space provided.  Also, ensure null termination.
1997-01-29 03:21:01 +00:00
thorpej
b21c166228 ioctl cmd arguments are u_long, not int. Pointed out by
Fred L. Templin <templin@nas.nasa.gov>
1997-01-29 02:16:23 +00:00
mark
3d14bc1b12 Use an integer rather than a char for the getopt() return value in order
to make it work with architectures that use unsigned chars.
1997-01-29 01:49:25 +00:00
mark
2ab96deb9a Use an integer rather than a char for the getopt() return value in main()
in order to make it work with architectures that use unsigned chars.
1997-01-29 01:29:09 +00:00
mycroft
c4062005b4 Oops! Forgot to pop an argument to npxintr(). 1997-01-29 01:07:38 +00:00
christos
b210ac559b make $MACHINE_ARCH settable from the environment. 1997-01-28 23:58:00 +00:00
pk
01bd8a8ca8 Initialize `f_offset'. 1997-01-28 09:41:03 +00:00
mrg
b4891ddaae don't need -E to ipf. 1997-01-28 06:33:36 +00:00
mark
b371b8a271 Prototype main(). 1997-01-28 05:02:30 +00:00
mark
01b365e7a5 Use <machine/conf.h> for prototypes of the block and character device
functions.
1997-01-28 05:00:03 +00:00
mark
a497e39048 Fix the declarations of the interrupt handlers to accept void * pointers
as the only argument and cast this as appropriate now that the function
pointers to the interrupt registration functions are fully prototyped.
Use <machine/conf.h> for the declarations of the device driver entry
points.
1997-01-28 04:55:15 +00:00
mark
844495ceb6 Use machine/conf.h for prototypes for device entry points.
Declare the cpuioctl() cmd argument as u_long rather than int.
1997-01-28 04:36:14 +00:00
mark
ed854d0d12 Fix the declarations of the interrupt handlers to accept void * pointers
as the only argument and cast this as appropriate now that the function
pointers to the interrupt registration functions are fully prototyped.
1997-01-28 04:20:58 +00:00
mark
ad1a9d7854 Now that the generic sfas code works fine under interrupts, disable polling
behaviour of the driver.
1997-01-28 04:10:47 +00:00
mark
e1460d785b Add prototypes for match and attach functions. 1997-01-28 04:08:21 +00:00
mikel
2ef9229953 remove superflous DESTDIR ref; PR 3143 1997-01-28 04:01:41 +00:00
mikel
ffba261ec0 add support for COPTS, as in bsd.prog.mk 1997-01-28 03:38:40 +00:00
christos
704854c465 Update to version 3.22 1997-01-28 00:49:36 +00:00
gwr
c7fd1435c6 Update for new struct member names in db_regs_t. 1997-01-27 23:07:04 +00:00
gwr
b0f4781a3d Include <machine/frame.h> and typedef db_regs_t using struct trapframe
(instead of replicating trapframe here by a different name).  Update the
macros that refer to members of db_regs_t to use the trapframe members.
1997-01-27 23:02:55 +00:00
gwr
09fa19ebb5 Protect this agains multiple includes so it can be included by db_machdep.h 1997-01-27 22:58:45 +00:00
gwr
3cf095df8d The sunmon_* declarations are now in machdep.h 1997-01-27 22:55:07 +00:00
thorpej
509e392ad5 Remove the SIOCADDMULTI ioctl; it's not meant for user level code. Just
always set promiscuous mode on the interface.
1997-01-27 22:51:50 +00:00
gwr
9f0e342d0c Now getting these from arch/sun3 1997-01-27 22:51:40 +00:00
gwr
5f1abbe73b Add OBIO_EMULEX_SCSI 1997-01-27 22:42:44 +00:00
gwr
7f16997d26 Replace sunmon.h with machdep.h 1997-01-27 22:35:03 +00:00
gwr
2e2e2a855c Change "machdep.h" to <machine/machdep.h> 1997-01-27 22:33:34 +00:00
gwr
c1ccab6daa Get trap.c, vector.c from arch/sun3/sun3 1997-01-27 22:26:50 +00:00
gwr
8fddc5d688 Kill sunmon.h 1997-01-27 22:24:03 +00:00