Commit Graph

20621 Commits

Author SHA1 Message Date
cgd cbeadd1248 the kernel 'boottime' variable is a timeval. copy it out of kernel
memory as such (not as a time_t).
1996-06-05 00:18:58 +00:00
thorpej 56543dfb7d In sddump(), don't check the SDEV_MEDIA_LOADED bit of the device, since
that bit might have been cleared by successful unmounting of all filesystems
on the dump device, e.g. in the case of "reboot -d".
1996-06-04 23:12:14 +00:00
mhitch 3a8d18d828 Fix the oversight that the ASC SCSI adapter can also be on the
Turbochannel as well as the IOASIC.  It should now work on the 5000/200.
Removed the "aborts" which could leave the disk trashed when the abort
rebooted the system.  Fix the data corruption problem by clearing the
FIFO before starting a data transfer.
1996-06-04 21:08:24 +00:00
christos 0bc88b2434 getopts fixes:
1. OPTIND value was not computed correctly when the argument was part of the
   option string (i.e. for "l:" "-l 1" was working "-l1" was not). (PR/2505).
2. OPTARG was not being unset in case of errors [in the non POSIX error case].
3. optvar could be set to random values.
4. Option string starting with a : was not treated specially as POSIX
   specifies (if the option string starts with a :, then there is no
   error printed when there are missing option arguments or illegal options,
   and OPTARG and optvar are being set specially).
5. Implemented getopts "opts" optvar [arg]. The optional argument case
   was not implemented.

To do:
- what does Posix say about resetting the getopts state? Bash does it
  by setting OPTIND=0; is that correct? Should we be doing the same thing?
- should we be using getopt(3) for everything internal to the shell? Is that
  feasible because we might need to handle multiple invocations at once.
1996-06-04 21:00:09 +00:00
cgd ad8b41fa2a don't spew an error message if setlocale(LC_ALL, ""); fails. This is for
consistency with other programs, and because currently it can never
actually succeeed if LANG is set to something other than "C".  Sent
in by me in PR 2486, approved by jtc).
1996-06-04 20:41:15 +00:00
cgd 207dfda94d bump MAXIF (the maximum number of interfaces for which information is kept,
for 'netstat -w <delay>') to 100, from 10.  10 was definitely not sufficient
for many hosts; 100 should be for most if not all.  This code really should
dynamically allocate the information structures, based on the number of
interfaces in the kernel, account for interfaces that are added or removed,
etc., but given its current structure that would require substantial changes.
1996-06-04 20:22:23 +00:00
cgd 525c9d6e37 if doing 'netstat -I <intf> -w <delay>', and netstat can't find an
interface of the given name, print an error message and exit.
This whole section of code needs to be re-thought, if interfaces
can be dynamically added or removed.
1996-06-04 20:09:03 +00:00
cgd 78937ab274 change > to >= in #endif comment, too. 1996-06-04 20:01:58 +00:00
cgd 6110ea9366 #ifdef tty_attach() with PCVT_NETBSD >= 120 (rather than just >),
since tty_attach() is now in the 1.2 release.
1996-06-04 19:53:28 +00:00
cgd abc294c9d9 don't tty_attach() the mouse emulator tty. 1996-06-04 19:47:51 +00:00
cgd 2d03e599c7 don't depend on being able to read the IMR. Apparently, it doesn't
work (as documented in the DEC 3000/[3-9]00 System Programmer's Manual)
in some of the older 3000/500 systems.
1996-06-04 19:02:16 +00:00
jtc 84fc678011 Use setne instead of setnel, new versions of gas balk at the bad mnemonic.
Wrong mask was used in s_finitef.S.
1996-06-04 18:00:34 +00:00
is 565cd65355 Sync "iteconfig -h" output with reality and man page.
From Hubert Feyrer, #2444
1996-06-04 16:27:56 +00:00
mrg b9c4c21d8e add a comment on how to use tty_attach(). 1996-06-04 13:59:10 +00:00
briggs 6959d64eeb Some more constants from Bob Nestor--MacTV ADB works, now. 1996-06-04 03:04:49 +00:00
pk 3dfb6ab8c0 Code the residual computation a bit differently. 1996-06-03 23:48:41 +00:00
mark b58401e04e Not needed. This was identical to the VOYAGER config. 1996-06-03 22:50:07 +00:00
mark 8477987501 Fixed lots and lots and lots of -Wall compiler warnings. 1996-06-03 22:44:53 +00:00
mark f2a8347cc4 Fixed -Wall compiler warnings.
Implemented a setsoftintr() function.
1996-06-03 22:44:36 +00:00
mark bfe01da7b5 Tidied up the prototype declarations. 1996-06-03 22:41:14 +00:00
mark 4732cc6c39 Make sure that the ethernet address has been set correctly before
attaching the interface to the network code.
1996-06-03 22:39:12 +00:00
mark 45842a3af6 Merged in the latest changes that have been mode to the isa lpt driver.
Merged in the latest plip code from the pc532 port.
1996-06-03 22:36:23 +00:00
mark 0217e55278 Fixed the softnet interrupt code to properly use netisr. 1996-06-03 22:33:51 +00:00
mark e2391b47fd Merged in the latest changes that have been made to the isa com driver. 1996-06-03 22:30:36 +00:00
mark f941f8cdb9 Fixed -Wall compiler warnings. 1996-06-03 22:20:32 +00:00
mark 1c9f0501fc Don't complain about a drive type of zero, just treat it as no drive
present.
1996-06-03 22:19:21 +00:00
mark 59e4127d96 Use the sync information in the mode definition to set the VIDC sync
polarity.
1996-06-03 22:14:56 +00:00
mark 2f6e37b679 Fixed -Wall compiler warnings. 1996-06-03 22:11:34 +00:00
pk 433594b99d missing semicolon 1996-06-03 22:11:23 +00:00
mark d4b96c659d Fixed -Wall compiler warnings introduced when fixing the vt220 printing
bug.
1996-06-03 22:08:37 +00:00
mark a2a08dd859 Removed the old QUADMOUSE_* ioctl names. Everything now uses the
generic mouse ones.
1996-06-03 22:07:39 +00:00
mark aa4be90f73 General code format tidy up.
Added missing function prototypes.
1996-06-03 22:04:40 +00:00
mark 0ba929925d Added proper definitions of quadrature mouse button register. 1996-06-03 22:03:36 +00:00
mark 258f83367c Added setsoftintr() prototype. 1996-06-03 22:00:50 +00:00
mark 0b265889c6 RCS Id police. 1996-06-03 21:58:25 +00:00
mark 515759c222 Added PLIP soft interrupt. 1996-06-03 21:57:52 +00:00
mark 10d9fbd5fe RCS Id police. 1996-06-03 21:55:46 +00:00
mark 89711a59f0 Fixed -Wall compiler warnings. 1996-06-03 21:53:33 +00:00
mark 17582aa655 Removed some dead code from cpu_exit().
Fixed -Wall compiler warnings.
1996-06-03 21:46:15 +00:00
mark 7d3a5033a5 Use special versions of the IRQdisable and IRQenable macros that
keep FIQ's active.
1996-06-03 21:43:06 +00:00
mark 2d9f11e999 Add visibale debugging info for the RC7500 board. 1996-06-03 21:41:09 +00:00
mark 2a56b05b3d Implemented cache and tlb flush functions for the StrongARM.
RCS Id police.
1996-06-03 21:38:05 +00:00
mark 8251f6e1f7 Fixed copyright message. 1996-06-03 21:36:14 +00:00
mark 6da55f03ee RCS Id police. 1996-06-03 21:35:10 +00:00
mark 6ecba1cbe0 Added extra diagnostic information that can be printed when the ARM700
prefetch abort bug occurs.
Fixed -Wall compiler warnings.
1996-06-03 21:32:11 +00:00
mark ff542922fa getdevice() now defaults to returning the a partition if no partition
is specified in the string.
Fixed -Wall compiler warnings.
1996-06-03 21:28:59 +00:00
mark bd72d43fdc Major code clean up. Now satisfies the source code style guide. 1996-06-03 21:27:21 +00:00
mark 5a66df3d3d RCS Id police. 1996-06-03 21:21:29 +00:00
thorpej 3e82f2c697 Fix typo that can cause ypbind to assume an error when one doesn't
actually exist if the server takes a dive.
1996-06-03 20:44:51 +00:00
thorpej 5bd844ce5d Fix buglet in ypbindproc_domain_2() which caused:
ypbind; sleep 10; ypwhich

to fail (where failure is defined as ypwhich hangs until it gives up,
complaining about not being able to communicate with ypbind).  Failure
mode pointed out by Chris G. Demetriou <cgd@cs.cmu.edu>.
1996-06-03 20:32:55 +00:00