Commit Graph

20621 Commits

Author SHA1 Message Date
cgd b1b4f705ba convert alpha vtophys() #defines to use __alpha_bus_XXX_dmamap(), to
get rid of the nasty (vtophys(va) | 0x40000000) expressions, and to make
the code more correct.
1996-06-03 20:30:21 +00:00
cgd c6dd609e7f gross hack to get around the fact that there are currently devices with
common back-ends that live on multiple very-different busses (e.g. PCI and
TC), which need bus-specific DMA mapping support.  As a nice side effect,
this will allow the especially nasty (vtophys(va) | 0x40000000) expressions
to go away in favor of less nasty bus-specific function calls.
1996-06-03 20:18:48 +00:00
cgd e038a84b34 add "le* at pci?", because it compiles and may actually work. 1996-06-03 20:10:52 +00:00
cgd 729d7a8aa8 only do tty_attach() for first tty of each chip; that's the only real tty. 1996-06-03 19:43:31 +00:00
cgd 60da050b90 fix session pointer field width: make it two characters wider.
(The alpha will use all 8 chars.)
NOTE: use of (addr & ~KERNBASE) is VERY bogus.
1996-06-03 19:00:23 +00:00
is 7aaddee417 #define GRFIOCBLANK_LIVE and GRFIOCBLANK_DARK in grfioctl.h to make absolutely
clear which switches the video signal on and which off.
Make all grf_??.c (which supported it) use the same polarity of the test.
While being here, use a > test instead of implicit != to make it extensible
to darker than dark values for power managment systems.
1996-06-03 18:55:08 +00:00
cgd 6b52790dd2 warnx() already outputs newline; warnings for undefined symbols don't
need an extra one.
1996-06-03 18:50:26 +00:00
cgd afe080291e fix pasto: s/NETISR_CCITT/NETISR_PPP/ at the appropriate place in
netintr().  From Matt Thomas <matt@lkg.dec.com>.
1996-06-03 18:32:37 +00:00
is 1530e15480 Don't get fooled by the CyberSCSI MK I, which uses the same man/prod id
as the Fastlane Z3, but is different enough to let the kernel crash.
Closes PR #2492 by Matthias Scheler. [thanks also to Ralph Schmidt for
confirmation of the patch]
1996-06-03 17:07:20 +00:00
christos 66824391d1 Fix PR/2504: return with no args returns 0 instead of the return value of
the previous command in functions
1996-06-03 12:21:17 +00:00
pk ff7a5b906d A more interesting set of machines (PR#645). 1996-06-02 23:37:33 +00:00
pk bcf752fc71 Remove duplicate (and inaccurate) citation. Update the remaining one to be
even more accurate.
1996-06-02 22:02:36 +00:00
pk ef8fa9414c Fix formatting errors.
Also: `PGRP' => 'PGID'; and update `SESS' and `PGID' descriptions.
1996-06-02 21:47:41 +00:00
christos 15d37e3539 Recognize SVR4 style long filename entries in archives. 1996-06-02 21:09:33 +00:00
ghudson 23beafab63 Document that the caller must do a pw_abort() if pw_mkdb() fails. 1996-06-02 19:26:18 +00:00
ghudson e257708bf2 Don't delete the lock file if pwd_mkdb fails. The caller will take care
of it by calling pw_abort() or pw_error() as appropriate.
1996-06-02 19:25:43 +00:00
thorpej 2fadbc363c Move a mis-placed line on slattach() so that SLIOCGUNIT works properly.
From Jonathan O'Brien <obrien@phoenix.sfsu.edu>.
1996-06-02 16:22:32 +00:00
mycroft abfbe7c6c4 Deal with FD_SETSIZE larger than the default. 1996-06-02 14:48:23 +00:00
ragge 28061842a2 Fix include file order to confirm to KNF in master tree also. 1996-06-02 13:28:21 +00:00
mrg 988867d90a we use /usr/sbin/sendmail 1996-06-02 04:53:40 +00:00
mrg 60b63d67e8 we do not want generated files. 1996-06-02 04:46:12 +00:00
mrg 89b7050608 oops, forgot to remove this. 1996-06-02 04:41:52 +00:00
jtc ae94fc4d74 Note functions that probably can be removed 1996-06-01 21:39:21 +00:00
jtc 7c04139bcd Fix computation of ISO 8601 Week Of Year 1996-06-01 21:23:25 +00:00
jtc 8e1fdaa50e Don't special case shift counts > QUAD_BITS or == 0. The former is
undefined behavior (so we can do whatever we want) while the latter
doesn't happen much in actual practice.

These changes make these functions considerably smaller and faster.
1996-06-01 21:21:50 +00:00
jtk ef561b71a7 print out file systems being unmounted, #ifdef DEBUG. pr#1492 1996-06-01 20:24:05 +00:00
jtk ab5dfe6dc8 merge bugfix from 1.2 branch: use includes target for include files 1996-06-01 19:59:30 +00:00
jtk 69aa3ae174 use posix-style : for chown uid/group separator 1996-06-01 19:47:19 +00:00
scottr d9953b15c4 Minor cosmetic cleanup left over from reverting interrupt handlers 1996-06-01 06:10:34 +00:00
jtc 17c5522d18 Re-arranged code a bit so that gcc can optimize this a bit better.
This change results in better code on the i386, m68k, & ns32k, and
equivalent code on the sparc.
1996-06-01 02:24:29 +00:00
jtc fb600c331a Fix typo in last change 1996-06-01 02:06:23 +00:00
jtc 5bbcde6a0d Enable use of assembly language shift routines on the m68k 1996-06-01 01:14:00 +00:00
jtc 57ceb7a883 Added ashldi3.S, ashrdi3.S, and lshrdi3.S to KMSRCS 1996-06-01 01:08:02 +00:00
scottr 701205b00d Add tty_attach() as appropriate (for pstat -t) 1996-06-01 00:13:39 +00:00
pk 460d3403be Initialize video parameters if the board is not yet running. Useful if
the cg3 is not the console.
1996-05-31 09:59:22 +00:00
mrg a16f5e70fa some minor fixes/additions. 1996-05-31 04:07:20 +00:00
jtc ff3bd4df33 m68k assembly versions of 64 bit shift functions 1996-05-31 02:05:33 +00:00
cgd 9175e2b707 Be more tolerant of changes in the GNU (Cygnus) cpp binary's location
due to NetBSD and Cygnus release number/date changes.
1996-05-31 00:54:39 +00:00
cgd 6c2159cf0b TABLDISC, not TBLDISC 1996-05-31 00:37:29 +00:00
cgd 02bcd4f0c5 fix minor bogons (pastos) in last change 1996-05-31 00:29:59 +00:00
cgd 56aad3355b update documentation of what's in the DISC field output by pstat -t 1996-05-31 00:27:19 +00:00
cgd f73f528c42 add case for STRIPDISC to the tty discipline printing code, so that
ttys running Metricom Wireless IP have their discipline printed nicely.
1996-05-31 00:09:38 +00:00
cgd d4b462666e if PCVT_NETBSD > 120, do tty_attach() calls so that pstat -t will work.
If these changes are pulled up to the 1.2 release branch, they should
be changed so that they are included if PCVT_NETBSD >= 120.
1996-05-31 00:03:59 +00:00
mrg a715717750 now that tty.h has queue.h, we do not need it here. 1996-05-31 00:03:05 +00:00
cgd 311886cbbe add call to tty_attach() so pstat -t will work with pccons ttys. 1996-05-30 23:59:11 +00:00
cgd 2fc4279f35 a few minor KNF nits 1996-05-30 23:43:31 +00:00
mrg d3124e1c38 remove unnecessary test. 1996-05-30 23:33:16 +00:00
mrg 13eaf2e29b check tty_count first (from cgd). 1996-05-30 23:32:33 +00:00
cgd 99a50a5e0d now that the bug has been fixed, we can go back to using the
Alpha-optimized in_cksum().
1996-05-30 23:18:14 +00:00
cgd ea82d613ab Fix from Matt Thomas to fix problem where packets like
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x01 would be checksummed
incorrectly: rather than adding two 32-bit quantities together to
sum a quadword (which was losing a carry bit), add as four 16-bit
quantities.
1996-05-30 23:08:36 +00:00