ragge
34d020edd2
Change uba* functions to take pointers, rather than uba unit numbers.
1996-08-20 14:07:33 +00:00
ragge
1be0c00cf0
Add another parent bus for 11/750 (cmi). remove mtc.c.
1996-08-20 14:05:16 +00:00
ragge
9f1148c9c4
Use the same device driver for both uda and mtc. Actually, the only
...
difference is vcid. The unit names must differ, so that it is possible
to distinguish them at autoconf time.
1996-08-20 13:49:15 +00:00
ragge
3a504ef134
Modified to get cleaner match/attach code for different parent buses.
...
Fix so that resource wait queueing works.
Changed all functions to take a pointer to uba_softc instead of unit
number, except for ubareset(). This must be done later.
1996-08-20 13:37:57 +00:00
oki
b4ffdaad58
Oops, added forgotten "-". closes port-x68k/2706.
1996-08-19 17:22:14 +00:00
cgd
eb9c65ce77
add a version of GENERIC which is always compiled with
...
profiling enabled. (named the same as what GENERIC kernel
would be named if configured with config -p, which would end up
generating the same kernel as this.)
1996-08-19 04:53:24 +00:00
cgd
15f9c59baf
check in the code used to build the kernel that Andrew Gallatin used to
...
figure out the correct IRQ for the ethernet on the AlphaStation 500.
That code is enabled via KN20AA_BOGUS_IRQ_FROB (but hopefully won't be
needed any time soon, and won't link w/o slight changes to other code).
Basically, when establishing an interrupt that we don't know what to
do with, prompt the user for what interrupt line to enable. If you
get stray interrupts when you try to use the device (but not before),
then you've got the right line.
1996-08-19 04:28:25 +00:00
cgd
3c7eaa04e2
fix typo in comment
1996-08-19 04:19:01 +00:00
cgd
b4bfcf063f
21040 ethernet chip on AlphaStation 500 lives in slot 6 (a slot not
...
found on the AlphaStation 600), and interrupts on interrupt line 13.
Thanks to Andrew Gallatin for booting a test kernel 32 times (trying
each interrupt line, looking for the right one) to find this.
1996-08-19 04:14:58 +00:00
mrg
d6a8947874
update a bit for 1.2
1996-08-19 02:44:32 +00:00
jonathan
4a1279de25
Import framebuffer drivers from 4.4-Lite2 as the root for NetBSD drivers.
...
Only change from Lite (or lite2, qv.c and qd.c do not change) is adding
NetBSD RCS ids.
1996-08-18 21:28:53 +00:00
hpeyerl
f5f1393c35
Get rid of dkn stuff. It's deprecated.
1996-08-18 17:01:53 +00:00
explorer
25d34a7064
/usr/share/misc/termcap, not /etc/termcap
1996-08-17 20:48:06 +00:00
explorer
1e7535e577
Do the timeout in bin/2701 a bit differently.
1996-08-16 21:36:18 +00:00
explorer
4022c55a29
Fix traceroute timeout problems and a printing problem. Closes pr bin/2701
1996-08-16 20:47:31 +00:00
explorer
1dafc7f44c
ooops... forgot to back out after generating the dir
1996-08-16 17:26:30 +00:00
explorer
160408037c
ooops... forgot to back out after generating the dir
1996-08-16 17:25:28 +00:00
explorer
9689b5cfe8
Changes for new groff -- new device directory
1996-08-16 17:22:53 +00:00
leo
6aab91675e
Revert to polled-DMA on Falcon.
1996-08-16 08:25:46 +00:00
jtc
a05f11b6e1
Added prototypes for memcmp, memcpy, memmove, and memset functions.
...
Added #ifdef'd out macros which map b* function calls to their mem*
equivalents.
1996-08-16 01:23:46 +00:00
jtc
030f7ba872
Added to libkern in preparation for change from b* to mem*.
1996-08-15 22:59:11 +00:00
jtc
4063ad5adb
#ifdef _KERNEL, #include <lib/libkern/libkern.h> instead of <string.h>.
1996-08-15 22:45:17 +00:00
jtc
1e6bbdf957
Add memcmp.c and memset.c to KSRCS (files copied to libkern).
1996-08-15 22:36:59 +00:00
chuck
3745979128
fix broken case statement for "-C", also check to make sure we've got
...
the proper number of args for -C and give up if not. fixes yp slave servers.
1996-08-15 22:17:57 +00:00
cgd
e295ad51df
clean up stray interrupt handling a bit.
1996-08-15 22:17:44 +00:00
chuck
6ad546e352
fix printf format (%s -> %d) in yplog debug statement
1996-08-15 21:47:53 +00:00
chuck
3dc0d5258f
fix xdr_ypmap_parms (missing "&"'s in calls to xdr_ypdomain_wrap_string
...
and xdr_ypmap_wrap_string). prevents segv in ypserv.
1996-08-15 21:43:03 +00:00
mycroft
312e49bad1
After processing an AST, check for another one. Pointed out by ws.
1996-08-15 15:34:03 +00:00
oki
b57279a974
update.
1996-08-15 09:15:06 +00:00
mrg
1ab419ba00
call seteuid() before append/create. from kstailey (PR#2699)
1996-08-15 03:53:48 +00:00
mrg
5f71cbd03d
print more informative error message. from kstailey (PR#2699)
1996-08-15 03:53:24 +00:00
explorer
b59a6a8b5f
return 0.0 cpu usage for zombies. closes pr bin/2693. Perhaps this should
...
be fixed in exit, so p->p_pctcpu is cleared when the process exits.
1996-08-15 01:41:23 +00:00
explorer
0072cebdef
Add mailstats man page. From John M. Vinopal. Closes pr bin/2697.
...
I also mailed this to sendmail-bugs@sendmail.org , in hopes this won't
remain a local mod for long
1996-08-14 07:07:06 +00:00
explorer
a9ef8aef84
This fixes a nasty little bug where traceroute (and other raw-ip sending
...
programs which attach their own header) can crash the machine. The problem
in this case was:
a variable "space" was set to the total data to copy,
len was used to remember how much to copy in this chunk (mbuf),
in one case, len = min(MCLBYTES - max_hdr, resid) but
size -= MCLBYTES;
instead of
size -= len;
Note that userland programs can still crash the machine by providing
bogus data in the ip->ip_len field I suspect. I haven't verified this,
but will soon be doing so and applying a fix of some sort. Probably
clamping the ip->ip_len value to the true packet size will be ok.
1996-08-14 05:53:18 +00:00
cgd
b3703a8fcd
oops; fix bogon in last.
1996-08-14 05:47:39 +00:00
cgd
1f675e847d
say 'stray kn20aa irq' rather than 'stray PCI irq'; former is more correct.
1996-08-14 05:45:52 +00:00
cgd
a96b24415d
fix inadvertent reordering of switch which cases by slot number but
...
is ordered by interrupt number.
1996-08-14 05:44:31 +00:00
explorer
1177a1fc69
formatting fix only
1996-08-14 05:43:35 +00:00
explorer
13659c5c84
spelling error only
1996-08-14 05:43:19 +00:00
thorpej
5404d54edb
Another %lx -> %x for ntohl()
1996-08-14 03:47:42 +00:00
thorpej
3ca11aa1ad
Fix some DIAGNOSTIC printf() formats; ntohl() provides a 32-bit quantity,
...
and should be printed with %x, not %lx.
1996-08-14 03:46:44 +00:00
thorpej
8781a4ebf9
Sun consoles have 34 lines, not 35.
1996-08-14 01:03:29 +00:00
thorpej
f124a6aaa9
Back out previous; this is a bigger problem than I expected.
1996-08-14 00:32:53 +00:00
thorpej
a05a1045f7
The htonl(), htons(), etc. functions return u_long and u_short. Add
...
casts to the big-endian versions of these calls so that the compiler
won't complain when they're passed as arguments to printf().
1996-08-14 00:07:35 +00:00
thorpej
d719cb7901
Inside some DIAGNOSTIC code, cast some pointer arithmetic results
...
to long to quiet the compiler.
1996-08-13 23:25:10 +00:00
thorpej
28df9248ce
Fix a typo and an error in color plane offset calculation. Submitted by
...
Konrad Schroder <perseant@hitl.washington.edu>, PR #2695 .
1996-08-13 20:52:43 +00:00
thorpej
082a70252b
Add an RCS id.
1996-08-13 20:13:35 +00:00
thorpej
961775ef83
Build librmt.
1996-08-13 20:11:18 +00:00
thorpej
dc06f7ce36
Change an instance of "int" to "unsigned long" (the correct type for
...
ioctl commands under NetBSD) so that this compiles on the Alpha.
1996-08-13 20:09:50 +00:00
thorpej
caae5cd93d
Use <machine/asm.h>
1996-08-13 17:00:28 +00:00