Commit Graph

22543 Commits

Author SHA1 Message Date
mhitch b403f60a0e Don't try to probe devices past the number of tz devices configured - stops
corrupting data past the end of tz_softc[].
1996-10-12 15:59:39 +00:00
mhitch 4d1a9465f1 Add arch/mips/mips/mips_machdep.c, it's now compiled as a separate file. 1996-10-12 15:49:15 +00:00
scottr 2903ee4df5 Add second Quadra class and machineid (gestalt value) for Color Classic II 1996-10-12 07:35:29 +00:00
mhitch 84abe4ea20 Where did that "l" come from? Another hiccup from the netbsd-1-2 branch
merge.
1996-10-12 05:28:14 +00:00
mhitch 0b8603b55b Needs <stdio.h> now that printf() isn't defined in kernel headers. 1996-10-12 04:34:16 +00:00
thorpej 4879f62ed8 Need <sys/exec.h> for the PS_STRINGS definition. 1996-10-12 02:20:37 +00:00
thorpej 9c7bb13aeb Include <sys/exec.h> 1996-10-12 02:13:52 +00:00
thorpej bddeb30297 Don't inline stackgap_init() and stackgap_alloc(). Doing so generates
an include file dependency graph that's much more complicated than
it needs to be, and wastes space in the kernel.
1996-10-12 02:12:55 +00:00
cgd 3b6f768ed2 Create only /var/db/kvm.db, and only create it if it doesn't
already match the running kernel.  Fixes an inconsistency
where /var/db/kvm_filename.db would be created, but only
if /var/db/kvm_netbsd.db didn't match the running kernel.
1996-10-12 00:51:44 +00:00
cgd e79d25e2e9 Don't use a kernel database based on the file name, use only
/var/db/kvm.db, and only use that if no kernel namelist file
is named.  Update the documentation to describe this.
1996-10-12 00:50:11 +00:00
cgd b8a36c5464 add _PATH_KVMDB as "/var/db/kvm.db" 1996-10-12 00:49:19 +00:00
cgd 2923fb704e use ".Dv NULL" rather than just "NULL", like everyplace else 1996-10-12 00:36:56 +00:00
mhitch 574994daaf Fix compile errors when not configured for the Draco. 1996-10-11 21:32:56 +00:00
mhitch c21fad0c51 Changes for poll(2). 1996-10-11 21:12:43 +00:00
leo 3d5284e11e - Fix configuration name of 'lpt'
- add 'pcibus' as a mainbus device.
1996-10-11 21:07:02 +00:00
leo 64096bf6d1 - add a iteet_ioctl function so iteconfig(1) can be used to select the
screen geometry.
- Re-arrange et_loadmode() and et_inittextmode() to write into shadow
  register set instead of writing to the card-registers directly.
- provide et_hwsave()/et_hwrest() functions to transfer the card-registers
  to and from the shadow set.
1996-10-11 21:02:48 +00:00
leo 6cfe8836c4 *** empty log message *** 1996-10-11 21:01:26 +00:00
cgd 6e4431ed29 stnrcpy() isn't a function. strncpy() is. Use it instead. 1996-10-11 20:59:20 +00:00
leo b88d6013b6 Remove grf_ite_ioctl(). Replace it by 'itexx_ioctl' that is configurable
per ite-type.
1996-10-11 20:50:34 +00:00
leo 67384150c2 Merge the netbsd-1-2 branch into the mainline. 1996-10-11 20:30:33 +00:00
thorpej 7e0782662e Add a chlen command, to change the length/size of an inode. From FreeBSD. 1996-10-11 20:22:43 +00:00
thorpej 519bef46ae Fix a couple of glitches:
- s/fsutil.o/fsutil.c/ on a SRCS line.
	- Don't need preen.c
1996-10-11 20:20:42 +00:00
thorpej 2402aaa614 Bug fix from Kirk McKusick <mckusick@McKusick.COM>:
Fix a bug in fsck_ffs where if a directory somehow develops a hole
(that is a block pointer that has a value of zero), fsck would give the
filesystem a clean bill of health, but the kernel would panic when
accessing the directory with the hole. Fsck now checks for holes
in directories.  If found in preen mode, fsck fails.  In manual
mode, it can be directed to shorten the directory to the beginning of
the hole. A  more complete solution would be to allocate a block to fill
the hole. However, this is a lot more work for a `cannot happen' error,
so the extra effort seems unwarranted.
1996-10-11 20:15:46 +00:00
mhitch f22ea83247 The dc has to have needs-flag so dc.h gets generated. 1996-10-11 19:58:43 +00:00
mhitch 2d3fc12c2b Fixed typo on EXEC_ELF32.
Newline at end of file was missing.
1996-10-11 19:55:38 +00:00
mhitch e0e8090630 Add missing const to simple_devprint() char * parameter. 1996-10-11 19:49:49 +00:00
cgd 4431ea58a9 replace ELF_ALIGN with ELF_TRUNC (round to lower alignment boundary) and
ELF_ROUND (round to higher alignment boundary), and use them properly.
Also, change a bit of code in elf_load_psection to use the next ELF_ROUND
macro.  This fixes a bug found by Robert Baron <rvb+@cs.cmu.edu> where
elf_load_psection, if given a properly aligned address at which to load
the section, would round actually load it at the next highest alignment
boundary.
1996-10-11 19:44:02 +00:00
mhitch cb8e03f393 Amiga needs EXEC_AOUT and EXEC_SCRIPT. 1996-10-11 19:34:54 +00:00
is 08899f4a1b Fix a mbuf leak in ip_output().
Scenario: If ip_insertoptions() prepends a new mbuf to the chain, the
bad: label's m_freem(m0) still would free only the original mbuf chain
if the transmission failed for, e.g., no route to host; resulting in
one lost mbuf per failed packet. (The original posting included a
demonstration program).

Original report of this bug was by jinmei@isl.rdc.toshiba.co.jp
(JINMEI Tatuya) on comp.bugs.4bsd.
1996-10-11 18:19:08 +00:00
thorpej 21526da6c8 Merge the netbsd-1-2 branch back into the mainline. 1996-10-11 18:13:03 +00:00
explorer c2d9a57948 Add a missing quote ; closes pr misc/2832 1996-10-11 14:53:03 +00:00
christos eb314d8358 printf -> kprintf, sprintf -> ksprintf 1996-10-11 01:50:21 +00:00
jtc ace90ad26b Since the user provide his own message catalog (via NLSPATH and LANG)
the __strerror() and __strsignal() functions can not assume that the
messages will not overflow a NL_TEXTSIZE-sized buffer.

Noted by Mike Long <mike.long@analog.com> in PR
1996-10-11 00:51:07 +00:00
christos 19d8368f2f printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:44:42 +00:00
christos de08983084 add in_addr_t and in_port_t 1996-10-11 00:43:00 +00:00
christos 848c9d8f02 printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:39:22 +00:00
christos 06555645c2 printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:24:36 +00:00
christos 8f56de03e1 printf -> kprintf 1996-10-11 00:22:09 +00:00
christos 60dd5ceebe printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:06:28 +00:00
christos c47b25b2e5 add -Wall -Wstrict-prototypes -Wmissing-prototypes.
We are compiling cleanly now!
1996-10-11 00:04:22 +00:00
christos 1f54d4ded6 add in_addr_t and in_port_t and use them. 1996-10-11 00:02:47 +00:00
christos e6302ff46c - add missing prototypes
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:56:50 +00:00
christos 946833855f printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:51:21 +00:00
christos 4335eeb4ed - fix uninitialized sticks
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:51:19 +00:00
christos a60beecedb printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:44:49 +00:00
christos 9beb92aad7 printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:32:59 +00:00
christos 01d75c7c68 - printf -> kprintf, sprintf -> ksprintf
- make this compile cleanly.
1996-10-10 23:31:40 +00:00
christos 117a51c5a5 printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:31:17 +00:00
christos d5bc24be7a - printf -> kprintf, sprintf -> ksprintf
- replace sequences of sprintf(p, ...);  p += strlen(p) with p += sprintf(p,
1996-10-10 23:30:58 +00:00
christos 1005eb6f98 printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:25:50 +00:00