From owner-cvs-sys Sun Oct 20 08:02:19 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA25111 for cvs-sys-outgoing; Sun, 20 Oct 1996 08:02:19 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA25070; Sun, 20 Oct 1996 08:02:03 -0700 (PDT) Date: Sun, 20 Oct 1996 08:02:03 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199610201502.IAA25070@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/nfs nfs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/10/20 08:02:02 Modified: sys/nfs nfs_vfsops.c Log: Add four sysctl variables that joerg wanted. Revision Changes Path 1.30 +19 -1 src/sys/nfs/nfs_vfsops.c From owner-cvs-sys Sun Oct 20 11:14:54 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05574 for cvs-sys-outgoing; Sun, 20 Oct 1996 11:14:54 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05552; Sun, 20 Oct 1996 11:14:42 -0700 (PDT) Date: Sun, 20 Oct 1996 11:14:42 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199610201814.LAA05552@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/gnu/isdn if_ii.c iispy.c iitel.c iitty.c isdn.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/10/20 11:14:41 Removed: sys/gnu/isdn if_ii.c iispy.c iitel.c iitty.c isdn.c Log: Removing old isdn stuff. From owner-cvs-sys Sun Oct 20 11:16:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05709 for cvs-sys-outgoing; Sun, 20 Oct 1996 11:16:57 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05695; Sun, 20 Oct 1996 11:16:50 -0700 (PDT) Date: Sun, 20 Oct 1996 11:16:50 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199610201816.LAA05695@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/gnu/isdn isdn_ioctl.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/10/20 11:16:50 Removed: sys/gnu/isdn isdn_ioctl.h Log: removing old isdn stuff. From owner-cvs-sys Sun Oct 20 11:22:20 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06483 for cvs-sys-outgoing; Sun, 20 Oct 1996 11:22:20 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06467; Sun, 20 Oct 1996 11:22:11 -0700 (PDT) Date: Sun, 20 Oct 1996 11:22:11 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199610201822.LAA06467@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/conf files Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/10/20 11:22:10 Modified: sys/conf files Log: Removing old isdn stuff. Revision Changes Path 1.79 +0 -5 src/sys/conf/files From owner-cvs-sys Sun Oct 20 11:24:26 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06642 for cvs-sys-outgoing; Sun, 20 Oct 1996 11:24:26 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06626; Sun, 20 Oct 1996 11:24:19 -0700 (PDT) Date: Sun, 20 Oct 1996 11:24:19 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199610201824.LAA06626@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/gnu/i386/isa nic3008.c nic3008.h nic3009.c nic3009.h niccyreg.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/10/20 11:24:18 Removed: sys/gnu/i386/isa nic3008.c nic3008.h nic3009.c nic3009.h niccyreg.h Log: Removing old isdn stuff. From owner-cvs-sys Sun Oct 20 11:35:55 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA07334 for cvs-sys-outgoing; Sun, 20 Oct 1996 11:35:55 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA07311; Sun, 20 Oct 1996 11:35:38 -0700 (PDT) Date: Sun, 20 Oct 1996 11:35:38 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199610201835.LAA07311@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT majors.i386 src/sys/i386/i386 machdep.c userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/10/20 11:35:38 Modified: sys/i386/conf LINT majors.i386 sys/i386/i386 machdep.c userconfig.c Log: Removing old isdn stuff. Revision Changes Path 1.285 +3 -23 src/sys/i386/conf/LINT 1.9 +7 -7 src/sys/i386/conf/majors.i386 1.208 +1 -7 src/sys/i386/i386/machdep.c 1.61 +2 -4 src/sys/i386/i386/userconfig.c From owner-cvs-sys Sun Oct 20 14:02:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA14182 for cvs-sys-outgoing; Sun, 20 Oct 1996 14:02:09 -0700 (PDT) Received: (from alex@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA14133; Sun, 20 Oct 1996 14:01:48 -0700 (PDT) Date: Sun, 20 Oct 1996 14:01:48 -0700 (PDT) From: Alex Nash Message-Id: <199610202101.OAA14133@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/isofs/cd9660 cd9660_lookup.c cd9660_vnops.c src/sys/kern init_main.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 96/10/20 14:01:47 Modified: sys/isofs/cd9660 cd9660_lookup.c cd9660_vnops.c sys/kern init_main.c Log: Fix signed/unsigned comparison warnings. Reviewed by: bde Revision Changes Path 1.10 +2 -2 src/sys/isofs/cd9660/cd9660_lookup.c 1.27 +4 -4 src/sys/isofs/cd9660/cd9660_vnops.c 1.50 +2 -2 src/sys/kern/init_main.c From owner-cvs-sys Mon Oct 21 03:08:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA04791 for cvs-sys-outgoing; Mon, 21 Oct 1996 03:08:09 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA04757; Mon, 21 Oct 1996 03:07:57 -0700 (PDT) Date: Mon, 21 Oct 1996 03:07:57 -0700 (PDT) From: Doug Rabson Message-Id: <199610211007.DAA04757@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/nfs nfs_bio.c nfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/10/21 03:07:56 Modified: sys/nfs nfs_bio.c nfs_vnops.c Log: If a large (>4096 bytes) directory was modified, the old directory contents are discarded, including the cached seek cookies. Unfortunately, if the directory was larger than NFS_DIRBLKSIZ, then this confused nfs_readdirrpc(), making it appear as if the directory was truncated. Reviewed by: Karl Denninger Revision Changes Path 1.28 +6 -2 src/sys/nfs/nfs_bio.c 1.36 +5 -5 src/sys/nfs/nfs_vnops.c From owner-cvs-sys Mon Oct 21 10:15:21 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA26900 for cvs-sys-outgoing; Mon, 21 Oct 1996 10:15:21 -0700 (PDT) Received: (from nate@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA26880; Mon, 21 Oct 1996 10:15:07 -0700 (PDT) Date: Mon, 21 Oct 1996 10:15:07 -0700 (PDT) From: Nate Williams Message-Id: <199610211715.KAA26880@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include endian.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/10/21 10:15:06 Modified: sys/i386/include endian.h Log: When compiling with '-Wall -pedantic', the byte swapping macros gave the following warning: warning: ANSI C forbids braced-groups within expressions Adding __extension__ before the statement-expression seems to work right. Submitted by: bde (a *long* time ago) Revision Changes Path 1.7 +3 -3 src/sys/i386/include/endian.h From owner-cvs-sys Mon Oct 21 16:06:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA20659 for cvs-sys-outgoing; Mon, 21 Oct 1996 16:06:08 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA20611; Mon, 21 Oct 1996 16:05:59 -0700 (PDT) Date: Mon, 21 Oct 1996 16:05:59 -0700 (PDT) From: Bill Fenner Message-Id: <199610212305.QAA20611@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fenner 96/10/21 16:05:59 Modified: sys/net if.h Log: Fix comments, which appear to have been mangled long ago and far away. Revision Changes Path 1.36 +8 -6 src/sys/net/if.h From owner-cvs-sys Tue Oct 22 13:20:39 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA28226 for cvs-sys-outgoing; Tue, 22 Oct 1996 13:20:39 -0700 (PDT) Received: (from se@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA28204; Tue, 22 Oct 1996 13:20:20 -0700 (PDT) Date: Tue, 22 Oct 1996 13:20:20 -0700 (PDT) From: Stefan Esser Message-Id: <199610222020.NAA28204@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci pci.c pcireg.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 96/10/22 13:20:19 Modified: sys/pci pci.c pcireg.h Log: Add support for ioctl() accesses to PCI config space registers. Garrett Wollman sent me this code a few weeks ago for review, and I made some significant changes, which he in turn accepted ... In order to make use of these changes, a device entry has to added to /dev. Submitted by: wollman Revision Changes Path 1.57 +165 -3 src/sys/pci/pci.c 1.8 +2 -1 src/sys/pci/pcireg.h From owner-cvs-sys Tue Oct 22 13:33:34 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA29906 for cvs-sys-outgoing; Tue, 22 Oct 1996 13:33:34 -0700 (PDT) Received: (from se@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA29882; Tue, 22 Oct 1996 13:33:22 -0700 (PDT) Date: Tue, 22 Oct 1996 13:33:22 -0700 (PDT) From: Stefan Esser Message-Id: <199610222033.NAA29882@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci pci_ioctl.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 96/10/22 13:33:21 Added: sys/pci pci_ioctl.h Log: Definitions for ioctl() accesses to PCI config space registers. Submitted by: wollman From owner-cvs-sys Tue Oct 22 15:26:33 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA10090 for cvs-sys-outgoing; Tue, 22 Oct 1996 15:26:33 -0700 (PDT) Received: (from sos@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA10052; Tue, 22 Oct 1996 15:26:12 -0700 (PDT) Date: Tue, 22 Oct 1996 15:26:12 -0700 (PDT) From: Soren Schmidt Message-Id: <199610222226.PAA10052@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in.h ip_input.c ip_output.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 96/10/22 15:26:11 Modified: sys/netinet in.h ip_input.c ip_output.c Log: Changed args to the nat functions. Revision Changes Path 1.22 +2 -2 src/sys/netinet/in.h 1.49 +2 -2 src/sys/netinet/ip_input.c 1.44 +2 -2 src/sys/netinet/ip_output.c From owner-cvs-sys Tue Oct 22 22:33:36 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA14470 for cvs-sys-outgoing; Tue, 22 Oct 1996 22:33:36 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA13905; Tue, 22 Oct 1996 22:31:58 -0700 (PDT) Date: Tue, 22 Oct 1996 22:31:58 -0700 (PDT) From: John Dyson Message-Id: <199610230531.WAA13905@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/22 22:31:57 Modified: sys/i386/i386 pmap.c Log: Account for the UPAGES in the same way as before moving the MD code from vm_glue into pmap.c. Now RSS should appear to be the same as before. Revision Changes Path 1.128 +5 -1 src/sys/i386/i386/pmap.c From owner-cvs-sys Wed Oct 23 00:25:49 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA01792 for cvs-sys-outgoing; Wed, 23 Oct 1996 00:25:49 -0700 (PDT) Received: (from asami@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA01775; Wed, 23 Oct 1996 00:25:41 -0700 (PDT) Date: Wed, 23 Oct 1996 00:25:41 -0700 (PDT) From: Satoshi Asami Message-Id: <199610230725.AAA01775@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/i386 locore.s machdep.c trap.c userconfig.c vm_machdep.c pmap.c src/sys/pc98/pc98 aic_98.h epsonio.h aic6360.c clock.c fd.c if_ed.c pc98.c pc98.h pc98_machdep.c random_machdep.c syscons.c syscons.h wd.c src/sys/pc98/boot/biosboot Makefile boot.c boot.h boot2.S disk.c io.c src/sys/pc98/boot/rawboot Makefile src/sys/pc98/conf GENERIC98 Makefile.pc98 files.pc98 majors.pc98 options.pc98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 96/10/23 00:25:40 Modified: sys/pc98/boot/biosboot Makefile boot.c boot.h boot2.S disk.c io.c sys/pc98/boot/rawboot Makefile sys/pc98/conf GENERIC98 Makefile.pc98 files.pc98 majors.pc98 options.pc98 sys/pc98/i386 locore.s machdep.c trap.c userconfig.c vm_machdep.c sys/pc98/pc98 aic6360.c clock.c fd.c if_ed.c pc98.c pc98.h pc98_machdep.c random_machdep.c syscons.c syscons.h wd.c Added: sys/pc98/pc98 aic_98.h epsonio.h Removed: sys/pc98/i386 pmap.c Log: Another round of merge. (1) Bug fix (pass boot drive): pc98/boot/biosboot/boot2.S (2) Delete code for unsupported high-resolution modes and move old Epson notebook code to epsonio.h: pc98/boot/biosboot/io.c pc98/i386/vm_machdep.c pc98/pc98/fd.c pc98/pc98/pc98.c pc98/pc98/pc98.h pc98/pc98/epsonio.h (new) (3) Change aic driver so that PCMCIA cards (I/O port same as PC/AT) and PC-9801-100 cards can be selected with a flag in kernel config file: pc98/pc98/aic6360.c pc98/pc98/aic_98.h (new) (4) Fix wcd entry (it was broken). Delete mcd, it doesn't work on 98. Change aic entry according to above: pc98/conf/GENERIC98 (5) Move pc98_machdep.c to top of files in pc98/pc98: pc98/conf/files.pc98 (6) Delete empty lines: pc98/i386/locore.s (7) Fix (it didn't work if I586 was specified): pc98/pc98/clock.c (8) Staticize: pc98/pc98/pc98_machdep.c (9) Enable workaround for Cyrix bug for 5x86 also: pc98/i386/machdep.c pc98/i386/trap.c All the above deletes this file too: pc98/i386/pmap.c (phew!) Submitted by: The FreeBSD(98) Development Team Revision Changes Path 1.4 +26 -8 src/sys/pc98/boot/biosboot/Makefile 1.6 +15 -1 src/sys/pc98/boot/biosboot/boot.c 1.4 +1 -2 src/sys/pc98/boot/biosboot/boot.h 1.4 +1 -0 src/sys/pc98/boot/biosboot/boot2.S 1.5 +8 -6 src/sys/pc98/boot/biosboot/disk.c 1.5 +3 -4 src/sys/pc98/boot/biosboot/io.c 1.2 +27 -9 src/sys/pc98/boot/rawboot/Makefile 1.7 +7 -11 src/sys/pc98/conf/GENERIC98 1.7 +3 -11 src/sys/pc98/conf/Makefile.pc98 1.8 +4 -3 src/sys/pc98/conf/files.pc98 1.4 +3 -2 src/sys/pc98/conf/majors.pc98 1.6 +12 -1 src/sys/pc98/conf/options.pc98 1.5 +1 -2 src/sys/pc98/i386/locore.s 1.10 +3 -2 src/sys/pc98/i386/machdep.c 1.8 +12 -13 src/sys/pc98/i386/trap.c 1.8 +110 -65 src/sys/pc98/i386/userconfig.c 1.6 +3 -3 src/sys/pc98/i386/vm_machdep.c 1.5 +15 -41 src/sys/pc98/pc98/aic6360.c 1.8 +28 -28 src/sys/pc98/pc98/clock.c 1.7 +2 -1 src/sys/pc98/pc98/fd.c 1.9 +88 -105 src/sys/pc98/pc98/if_ed.c 1.9 +4 -9 src/sys/pc98/pc98/pc98.c 1.6 +1 -48 src/sys/pc98/pc98/pc98.h 1.5 +15 -16 src/sys/pc98/pc98/pc98_machdep.c 1.8 +1 -3 src/sys/pc98/pc98/random_machdep.c 1.11 +45 -20 src/sys/pc98/pc98/syscons.c 1.5 +4 -2 src/sys/pc98/pc98/syscons.h 1.9 +3 -3 src/sys/pc98/pc98/wd.c From owner-cvs-sys Wed Oct 23 00:29:54 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA02178 for cvs-sys-outgoing; Wed, 23 Oct 1996 00:29:54 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA02158; Wed, 23 Oct 1996 00:29:46 -0700 (PDT) Date: Wed, 23 Oct 1996 00:29:46 -0700 (PDT) From: Paul Traina Message-Id: <199610230729.AAA02158@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa rc.c syscons.c syscons.h src/sys/i386/conf LINT options.i386 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/10/23 00:29:45 Modified: sys/i386/conf LINT options.i386 sys/i386/isa rc.c syscons.c syscons.h Log: Remove SC_KBD_PROBE_WORKS option and replace it with a simple run-time flag bit (0x0008) in the sc driver configuration line. This way it's easy to boink a generic kernel. Also, document and place in an opt_ file the #define's for overriding which serial port is the system console. Approved by: sos Revision Changes Path 1.286 +1 -3 src/sys/i386/conf/LINT 1.25 +3 -2 src/sys/i386/conf/options.i386 1.26 +2 -0 src/sys/i386/isa/rc.c 1.181 +8 -7 src/sys/i386/isa/syscons.c 1.23 +2 -1 src/sys/i386/isa/syscons.h From owner-cvs-sys Wed Oct 23 11:36:01 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA02620 for cvs-sys-outgoing; Wed, 23 Oct 1996 11:36:01 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA02584; Wed, 23 Oct 1996 11:35:52 -0700 (PDT) Date: Wed, 23 Oct 1996 11:35:52 -0700 (PDT) From: Garrett Wollman Message-Id: <199610231835.LAA02584@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip.h ip_var.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/10/23 11:35:51 Modified: sys/netinet ip.h ip_var.h Log: Give ip_len and ip_off more natural, unsigned types. Revision Changes Path 1.10 +3 -3 src/sys/netinet/ip.h 1.23 +3 -3 src/sys/netinet/ip_var.h From owner-cvs-sys Wed Oct 23 13:18:17 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA08282 for cvs-sys-outgoing; Wed, 23 Oct 1996 13:18:17 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA08233; Wed, 23 Oct 1996 13:18:00 -0700 (PDT) Date: Wed, 23 Oct 1996 13:18:00 -0700 (PDT) From: Julian Elischer Message-Id: <199610232018.NAA08233@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-usrsbin Subject: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c src/sys/sys syslog.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/10/23 13:17:59 Modified: sys/sys syslog.h usr.sbin/syslogd syslogd.8 syslogd.c Log: Reviewed by: various (mailing list feedback) Submitted by: whistle communications move the socket from /dev to /var/run by default TRANSITIONALLY make syslog add a symlink.. I PROMISE I'll remove that as soon as I have the makefiles etc fixed as well. Revision Changes Path 1.7 +3 -2 src/sys/sys/syslog.h 1.5 +12 -5 src/usr.sbin/syslogd/syslogd.8 1.11 +45 -2 src/usr.sbin/syslogd/syslogd.c From owner-cvs-sys Wed Oct 23 14:25:02 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA12604 for cvs-sys-outgoing; Wed, 23 Oct 1996 14:25:02 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA12388; Wed, 23 Oct 1996 14:23:22 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA27642; Wed, 23 Oct 1996 23:21:53 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA02038; Wed, 23 Oct 1996 23:21:53 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.6/8.6.9) id XAA28117; Wed, 23 Oct 1996 23:19:17 +0200 (MET DST) From: J Wunsch Message-Id: <199610232119.XAA28117@uriah.heep.sax.de> Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c src/sys/sys syslog.h To: julian@freefall.freebsd.org (Julian Elischer) Date: Wed, 23 Oct 1996 23:19:17 +0200 (MET DST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199610232018.NAA08233@freefall.freebsd.org> from Julian Elischer at "Oct 23, 96 01:18:00 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Julian Elischer wrote: > move the socket from /dev to /var/run by default > TRANSITIONALLY make syslog add a symlink.. Arrrrrrrrrrg! -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-sys Wed Oct 23 17:54:32 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA24255 for cvs-sys-outgoing; Wed, 23 Oct 1996 17:54:32 -0700 (PDT) Received: from precipice.shockwave.com (ppp-206-170-5-7.rdcy01.pacbell.net [206.170.5.7]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA24243; Wed, 23 Oct 1996 17:54:28 -0700 (PDT) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.6/8.7.3) with ESMTP id RAA28472; Wed, 23 Oct 1996 17:53:15 -0700 (PDT) Message-Id: <199610240053.RAA28472@precipice.shockwave.com> To: Garrett Wollman cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/netinet ip.h ip_var.h In-reply-to: Your message of "Wed, 23 Oct 1996 11:35:52 PDT." <199610231835.LAA02584@freefall.freebsd.org> Date: Wed, 23 Oct 1996 17:53:15 -0700 From: Paul Traina Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Urp... I think I recall seeing a note somewhere explaining why they weren't unsigned... something to do with some mbuf math somewhere. ...? From: Garrett Wollman Subject: cvs commit: src/sys/netinet ip.h ip_var.h wollman 96/10/23 11:35:51 Modified: sys/netinet ip.h ip_var.h Log: Give ip_len and ip_off more natural, unsigned types. Revision Changes Path 1.10 +3 -3 src/sys/netinet/ip.h 1.23 +3 -3 src/sys/netinet/ip_var.h From owner-cvs-sys Wed Oct 23 19:47:26 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA01616 for cvs-sys-outgoing; Wed, 23 Oct 1996 19:47:26 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA01593; Wed, 23 Oct 1996 19:47:11 -0700 (PDT) Date: Wed, 23 Oct 1996 19:47:11 -0700 (PDT) From: John Dyson Message-Id: <199610240247.TAA01593@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/procfs procfs_mem.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/23 19:47:10 Modified: sys/miscfs/procfs procfs_mem.c Log: Fix setting breakpoints in shared regions. Revision Changes Path 1.20 +4 -7 src/sys/miscfs/procfs/procfs_mem.c From owner-cvs-sys Wed Oct 23 19:56:41 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA02317 for cvs-sys-outgoing; Wed, 23 Oct 1996 19:56:41 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA02296; Wed, 23 Oct 1996 19:56:30 -0700 (PDT) Date: Wed, 23 Oct 1996 19:56:30 -0700 (PDT) From: John Dyson Message-Id: <199610240256.TAA02296@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_mmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/23 19:56:29 Modified: sys/vm vm_mmap.c Log: Remove a bogus optimization in the mmap code. It is superfluous, and at best is the same speed as the unoptimized code. At worst, it slows down trivial programs. Revision Changes Path 1.52 +5 -24 src/sys/vm/vm_mmap.c From owner-cvs-sys Wed Oct 23 21:32:20 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA10609 for cvs-sys-outgoing; Wed, 23 Oct 1996 21:32:20 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA10561; Wed, 23 Oct 1996 21:31:58 -0700 (PDT) Date: Wed, 23 Oct 1996 21:31:58 -0700 (PDT) From: David Greenman Message-Id: <199610240431.VAA10561@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_page.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/10/23 21:31:56 Branch: sys/vm RELENG_2_1_0 Modified: sys/vm vm_page.c Log: In vm_page_alloc_contig(), round "size" up to the next page boundry. Not doing so breaks the looping and bad things will happen. This was exposed when testing some (aha2940) fixes from Justin that didn't work because of this. This fix is relevant only to -stable since -current already has the equivilent in the contigmalloc() routine. Revision Changes Path 1.32.4.2 +2 -1 src/sys/vm/vm_page.c From owner-cvs-sys Wed Oct 23 23:18:58 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA18848 for cvs-sys-outgoing; Wed, 23 Oct 1996 23:18:58 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id XAA18823; Wed, 23 Oct 1996 23:18:46 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <16919(1)>; Wed, 23 Oct 1996 23:18:14 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177480>; Wed, 23 Oct 1996 23:18:08 -0700 To: Paul Traina cc: Garrett Wollman , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/netinet ip.h ip_var.h In-reply-to: Your message of "Wed, 23 Oct 96 17:53:15 PDT." <199610240053.RAA28472@precipice.shockwave.com> Date: Wed, 23 Oct 1996 23:18:07 PDT From: Bill Fenner Message-Id: <96Oct23.231808pdt.177480@crevenia.parc.xerox.com> Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199610240053.RAA28472@precipice.shockwave.com> you write: >Urp... I think I recall seeing a note somewhere explaining why they weren't >unsigned... something to do with some mbuf math somewhere. ...? talks about pragmatically making them signed so that unsigned math doesn't fail in strange ways. Having them signed actually appears to be a big chunk of why FreeBSD isn't vulnerable to the Win95 ping evilness (which gets ICMP to reflect a too-big packet & dies on output). I think that sign-extension makes the check to see if the packet will fit on the ifq fail since the packet appears huge (division by the unsigned if_mtu causes the negative ip_len to be coerced to unsigned). I'm not sure I'm convinced that gcc will warn us about every weirdness that arises from this change. I suspect that there's plenty of sloppy code that assumes these are signed and needs to be checked. Bill From owner-cvs-sys Thu Oct 24 02:05:56 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA04122 for cvs-sys-outgoing; Thu, 24 Oct 1996 02:05:56 -0700 (PDT) Received: from pillar.elsevier.co.uk (root@pillar.elsevier.co.uk [193.131.222.35]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA04073; Thu, 24 Oct 1996 02:05:26 -0700 (PDT) Received: from snowdon.elsevier.co.uk (snowdon.elsevier.co.uk [193.131.197.164]) by pillar.elsevier.co.uk (8.8.2/8.8.0) with ESMTP id KAA20293; Thu, 24 Oct 1996 10:02:23 +0100 (BST) Received: from cadair.elsevier.co.uk by snowdon.elsevier.co.uk with SMTP (PP); Thu, 24 Oct 1996 10:04:44 +0100 Received: from tees.elsevier.co.uk (tees.elsevier.co.uk [193.131.197.60]) by cadair.elsevier.co.uk (8.8.2/8.8.0) with ESMTP id KAA18819; Thu, 24 Oct 1996 10:04:38 +0100 (BST) Received: (from dpr@localhost) by tees.elsevier.co.uk (8.8.2/8.8.0) id KAA17250; Thu, 24 Oct 1996 10:03:36 +0100 (BST) To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: julian@freefall.freebsd.org (Julian Elischer), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c src/sys/sys syslog.h References: <199610232119.XAA28117@uriah.heep.sax.de> From: Paul Richards Date: 24 Oct 1996 10:03:35 +0100 In-Reply-To: J Wunsch's message of Wed, 23 Oct 1996 23:19:17 +0200 (MET DST) Message-ID: <57k9sgvimw.fsf@tees.elsevier.co.uk> Lines: 20 X-Mailer: Gnus v5.3/Emacs 19.30 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk J Wunsch writes: > > As Julian Elischer wrote: > > > move the socket from /dev to /var/run by default > > > TRANSITIONALLY make syslog add a symlink.. > > Arrrrrrrrrrg! I agree, can we back this out please? If nothing else it makes it difficult to see where FreeBSD binaries will fall over since they're not going to even see the problem. -- Paul Richards. Originative Solutions Ltd. (Netcraft Ltd. contractor) Elsevier Science TIS online journal project. Email: p.richards@elsevier.co.uk Phone: 0370 462071 (Mobile), +44 (0)1865 843155 From owner-cvs-sys Thu Oct 24 12:13:10 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA15324 for cvs-sys-outgoing; Thu, 24 Oct 1996 12:13:10 -0700 (PDT) Received: (from sos@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA15307; Thu, 24 Oct 1996 12:13:01 -0700 (PDT) Date: Thu, 24 Oct 1996 12:13:01 -0700 (PDT) From: Soren Schmidt Message-Id: <199610241913.MAA15307@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern imgact_elf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 96/10/24 12:13:01 Modified: sys/kern imgact_elf.c Log: Added a missing break, so all static bins would be missed :( Revision Changes Path 1.12 +2 -1 src/sys/kern/imgact_elf.c From owner-cvs-sys Thu Oct 24 13:40:14 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA20169 for cvs-sys-outgoing; Thu, 24 Oct 1996 13:40:14 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA20063; Thu, 24 Oct 1996 13:40:00 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.7.6/8.7.3) with SMTP id NAA11834; Thu, 24 Oct 1996 13:34:21 -0700 (PDT) Message-ID: <326FD244.41C67EA6@whistle.com> Date: Thu, 24 Oct 1996 13:32:04 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Paul Richards CC: Joerg Wunsch , Julian Elischer , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c src/sys/sys syslog.h References: <199610232119.XAA28117@uriah.heep.sax.de> <57k9sgvimw.fsf@tees.elsevier.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul Richards wrote: > > J Wunsch writes: > > > > > As Julian Elischer wrote: > > > > > move the socket from /dev to /var/run by default > > > > > TRANSITIONALLY make syslog add a symlink.. > > > > Arrrrrrrrrrg! > > I agree, can we back this out please? If nothing else it makes it > difficult to see where FreeBSD binaries will fall over since they're > not going to even see the problem. The aim is to allow people a couple of weeks to recompile binaries ALL pre-existing binaries will have the problem. (until recompiled, or until the shared libs are replaced.) why generate 10,000 errors when they are not needed? otherwise we'll get hit by complaints we needn't see, and they will MASK the real problems. I will turn it off and back it out.. In a short while. in the meanwhile, it's just breathing room for the transition. > > -- > Paul Richards. Originative Solutions Ltd. (Netcraft Ltd. contractor) > Elsevier Science TIS online journal project. > Email: p.richards@elsevier.co.uk > Phone: 0370 462071 (Mobile), +44 (0)1865 843155 From owner-cvs-sys Thu Oct 24 23:43:42 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA27987 for cvs-sys-outgoing; Thu, 24 Oct 1996 23:43:42 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA27930; Thu, 24 Oct 1996 23:43:14 -0700 (PDT) Date: Thu, 24 Oct 1996 23:43:14 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610250643.XAA27930@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi 93cx6.c 93cx6.h aic7xxx.c aic7xxx.h src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/i386/eisa aic7770.c src/sys/pci aic7870.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/24 23:43:13 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h Log: Go back to using DMA to get SCBs down to the adapter. SCB paging is now handled almost entirely by the sequencer and also uses DMA. This should make SCB paging at least an order of magnitude more efficient and vastly simplifies the implementation. Add a few space optimizations so this code still fits on aic7770 chips. Update comments. Revision Changes Path 1.44 +413 -301 src/sys/dev/aic7xxx/aic7xxx.seq 1.14 +71 -54 src/sys/dev/aic7xxx/aic7xxx_reg.h Modified: sys/i386/eisa aic7770.c Log: KNF cleanup. Update to handle new arg to ahc_alloc. Revision Changes Path 1.33 +64 -64 src/sys/i386/eisa/aic7770.c Modified: sys/i386/scsi 93cx6.c 93cx6.h aic7xxx.c aic7xxx.h Log: - KNF cleanup. - Add support for memory mapped I/O. - Use DMA to get SCBs down to the adapters. - Remove old paging code. - Be much smarter about how we allocate SCB space. The old, simple method wasted almost half a page per SCB. Ooops. - Make command complete interrupt processing more efficient. - Break the monolithic ahc_intr into sub-routines. The sub-routines handle rare, special case events so the function call is not a penalty and the removal of the code from the main routine most likely improves performance instruction prefech will work better and less code is pushed into the cache. - Never, ever allow tagged queueing if a device has disconnection disabled. - Clean up and simplify timeout code. Many of the changes are to handle the new DMA scheme. Revision Changes Path 1.6 +4 -3 src/sys/i386/scsi/93cx6.c 1.4 +13 -5 src/sys/i386/scsi/93cx6.h 1.80 +999 -1376 src/sys/i386/scsi/aic7xxx.c 1.30 +91 -80 src/sys/i386/scsi/aic7xxx.h Modified: sys/pci aic7870.c Log: - KNF cleanup. - Add support for memory mapped I/O. Revision Changes Path 1.40 +143 -170 src/sys/pci/aic7870.c From owner-cvs-sys Thu Oct 24 23:59:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA29203 for cvs-sys-outgoing; Thu, 24 Oct 1996 23:59:05 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA29187; Thu, 24 Oct 1996 23:58:55 -0700 (PDT) Date: Thu, 24 Oct 1996 23:58:55 -0700 (PDT) From: Bruce Evans Message-Id: <199610250658.XAA29187@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/libkern mcount.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/24 23:58:55 Modified: sys/libkern mcount.c Log: Unremoved used #include of for the !GUPROF case. Revision Changes Path 1.10 +4 -1 src/sys/libkern/mcount.c From owner-cvs-sys Fri Oct 25 05:26:28 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA18057 for cvs-sys-outgoing; Fri, 25 Oct 1996 05:26:28 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA18043; Fri, 25 Oct 1996 05:26:21 -0700 (PDT) Date: Fri, 25 Oct 1996 05:26:21 -0700 (PDT) From: Bruce Evans Message-Id: <199610251226.FAA18043@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 microtime.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/25 05:26:21 Modified: sys/i386/i386 microtime.s Log: Removed #include of . It is no longer used, and would break when I remove LOCORE support from clock.h. I586_CTR_MULTIPLIER_SHIFT = 32 from clock.h is actually still used, but 32 is so magic that it doesn't get used explicitly. Revision Changes Path 1.18 +1 -2 src/sys/i386/i386/microtime.s From owner-cvs-sys Fri Oct 25 06:02:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA19491 for cvs-sys-outgoing; Fri, 25 Oct 1996 06:02:08 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA19460; Fri, 25 Oct 1996 06:01:58 -0700 (PDT) Date: Fri, 25 Oct 1996 06:01:58 -0700 (PDT) From: Bruce Evans Message-Id: <199610251301.GAA19460@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include clock.h src/sys/kern kern_clock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/25 06:01:58 Modified: sys/i386/include clock.h sys/kern kern_clock.c Log: Improved biasing of i586 clock by adjusting for hardclock() latency. I decided to do this for every hardclock() call instead of lazily in microtime(). The lazy method is simpler but has more overhead if microtime() is called a lot. CPU_THISTICKLEN() is now a no-op and should probably go away. Previously it did nothing directly but had the side effect of setting i586_last_tick for CPU_CLOCKUPDATE() and i586_avg_tick for debugging. CPU_CLOCKUPDATE() now uses a better method and i586_avg_tick is too much trouble to maintain. Reduced nesting of #includes in the usual case. Increased nesting of #includes when CLOCK_HAIR is defined. This is a kludge to get typedefs for inline functions only when the inline functions are used. Normally only kern_clock.c defines this. kern_clock.c can't include the i386 headers directly. Removed unused LOCORE support. Revision Changes Path 1.20 +62 -51 src/sys/i386/include/clock.h 1.28 +2 -1 src/sys/kern/kern_clock.c From owner-cvs-sys Fri Oct 25 06:46:33 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA21780 for cvs-sys-outgoing; Fri, 25 Oct 1996 06:46:33 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA21723; Fri, 25 Oct 1996 06:46:23 -0700 (PDT) Date: Fri, 25 Oct 1996 06:46:23 -0700 (PDT) From: Bruce Evans Message-Id: <199610251346.GAA21723@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/25 06:46:22 Modified: sys/i386/isa clock.c Log: Print the clock calibration messages all on one (long) line again so that they are easy to grep for. Removed now-unused i586 counter variables. Fixed some style bugs. Revision Changes Path 1.71 +18 -21 src/sys/i386/isa/clock.c From owner-cvs-sys Fri Oct 25 07:01:03 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA22503 for cvs-sys-outgoing; Fri, 25 Oct 1996 07:01:03 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA22484; Fri, 25 Oct 1996 07:00:52 -0700 (PDT) Date: Fri, 25 Oct 1996 07:00:52 -0700 (PDT) From: Bruce Evans Message-Id: <199610251400.HAA22484@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa spkr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/25 07:00:51 Modified: sys/i386/isa spkr.c Log: Use macros from timmerreg.h instead of private ones. Use global timer_freq instead of private TIMER_CLK. Removed unused #includes. Fixed some comments. Revision Changes Path 1.27 +7 -28 src/sys/i386/isa/spkr.c From owner-cvs-sys Fri Oct 25 09:09:46 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA28888 for cvs-sys-outgoing; Fri, 25 Oct 1996 09:09:46 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA28864; Fri, 25 Oct 1996 09:09:35 -0700 (PDT) Date: Fri, 25 Oct 1996 09:09:35 -0700 (PDT) From: Bruce Evans Message-Id: <199610251609.JAA28864@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa pcaudio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/25 09:09:33 Modified: sys/i386/isa pcaudio.c Log: Removed unused #includes. Strength-reduced used #include. Staticized pcaintr(). Fixed some style bugs. Revision Changes Path 1.32 +14 -14 src/sys/i386/isa/pcaudio.c From owner-cvs-sys Fri Oct 25 09:20:49 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA29690 for cvs-sys-outgoing; Fri, 25 Oct 1996 09:20:49 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA29668; Fri, 25 Oct 1996 09:20:36 -0700 (PDT) Date: Fri, 25 Oct 1996 09:20:36 -0700 (PDT) From: Bruce Evans Message-Id: <199610251620.JAA29668@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux.h src/sys/sys sysent.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/25 09:20:35 Modified: sys/i386/linux linux.h sys/sys sysent.h Log: Declare pointers to signal handling functions in full instead of as sig_t's so that isn't a prerequisite. Revision Changes Path 1.10 +2 -3 src/sys/i386/linux/linux.h 1.11 +2 -2 src/sys/sys/sysent.h From owner-cvs-sys Fri Oct 25 10:58:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA05396 for cvs-sys-outgoing; Fri, 25 Oct 1996 10:58:05 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA05374; Fri, 25 Oct 1996 10:57:56 -0700 (PDT) Date: Fri, 25 Oct 1996 10:57:56 -0700 (PDT) From: Bill Fenner Message-Id: <199610251757.KAA05374@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip_input.c ip_var.h raw_ip.c udp.h udp_usrreq.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fenner 96/10/25 10:57:55 Modified: sys/netinet ip_input.c ip_var.h raw_ip.c udp.h udp_usrreq.c Log: Don't allow reassembly to create packets bigger than IP_MAXPACKET, and count attempts to do so. Don't allow users to source packets bigger than IP_MAXPACKET. Make UDP length and ipovly's protocol length unsigned short. Reviewed by: wollman Submitted by: (partly by) kml@nas.nasa.gov (Kevin Lahey) Revision Changes Path 1.50 +12 -2 src/sys/netinet/ip_input.c 1.24 +3 -2 src/sys/netinet/ip_var.h 1.37 +9 -1 src/sys/netinet/raw_ip.c 1.4 +2 -2 src/sys/netinet/udp.h 1.30 +6 -1 src/sys/netinet/udp_usrreq.c From owner-cvs-sys Fri Oct 25 17:12:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA08723 for cvs-sys-outgoing; Fri, 25 Oct 1996 17:12:35 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA08685; Fri, 25 Oct 1996 17:12:03 -0700 (PDT) Date: Fri, 25 Oct 1996 17:12:03 -0700 (PDT) From: Bruce Evans Message-Id: <199610260012.RAA08685@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/25 17:12:02 Modified: sys/i386/isa clock.c Log: Removed initialization of a variable that went away. Oops. Revision Changes Path 1.72 +3 -5 src/sys/i386/isa/clock.c From owner-cvs-sys Sat Oct 26 13:17:15 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05628 for cvs-sys-outgoing; Sat, 26 Oct 1996 13:17:15 -0700 (PDT) Received: (from sos@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05590; Sat, 26 Oct 1996 13:17:02 -0700 (PDT) Date: Sat, 26 Oct 1996 13:17:02 -0700 (PDT) From: Soren Schmidt Message-Id: <199610262017.NAA05590@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 96/10/26 13:17:01 Modified: sys/i386/isa syscons.c Log: Use the calibrated/adjustable i8254 frequency `timer_freq' instead of TIMER_FREQ. Fixed missing splx() in scrn_timer(). The bug was harmless because of the undocumented behaviour that the ipl is automatically restored for timeout functions (see softclock()). Perhaps we should depend on this behaviour. Fixed the ddb fix in rev.1.176. The in_debugger flag was no use because it only works when the debugger is entered via the keyboard hotkey. The debugger may be entered for breakpoints and traps, and the console putc routine has no way of knowing when it was, so the console putc routine must (almost?) always remove the cursor image. Not fixed: console switching in ddb doesn't work (ISTR it working), and console 0 shouldn't be switched to for the debugger hotkey unless console 0 is /dev/console. Fixed side effects from calling add_keyboard_randomness() in the console getc routine by not calling it. add_keyboard_randomness() currently always reenables interrupts on 386's and 486's. This is very bad if the console getc routine is called from the debugger and the debugger was entered with interrupts disabled. Fixed preservation of initial screen and now-bogus comment about it. It was broken by setting the initial scr_buf to `buffer' instead of Crtat. `buffer' was full of nulls and the first scroll cleared everything above the things written through syscons. Submitted by: bruce (bde@freebsd.org) Revision Changes Path 1.182 +30 -23 src/sys/i386/isa/syscons.c From owner-cvs-sys Sat Oct 26 13:36:38 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA07697 for cvs-sys-outgoing; Sat, 26 Oct 1996 13:36:38 -0700 (PDT) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA07544; Sat, 26 Oct 1996 13:35:25 -0700 (PDT) Received: from grumble.grondar.za (mark@localhost.grondar.za [127.0.0.1]) by grumble.grondar.za (8.8.2/8.7.3) with ESMTP id WAA13468; Sat, 26 Oct 1996 22:35:19 +0200 (SAT) Message-Id: <199610262035.WAA13468@grumble.grondar.za> To: Soren Schmidt cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa syscons.c Date: Sat, 26 Oct 1996 22:35:17 +0200 From: Mark Murray Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Soren Schmidt wrote: > Fixed side effects from calling add_keyboard_randomness() in the console > getc routine by not calling it. add_keyboard_randomness() currently > always reenables interrupts on 386's and 486's. This is very bad if the > console getc routine is called from the debugger and the debugger was > entered with interrupts disabled. add_keyboard_randomness() calls add_timer_randomness(), which does this: disable_intr(); outb(TIMER_MODE, TIMER_SEL0 | TIMER_LATCH); num ^= inb(TIMER_CNTR0) << 16; num ^= inb(TIMER_CNTR0) << 24; enable_intr(); If this was changed to not disable/enable the interrupts, would it cause any trouble? I don't mind getting funny numbers out of the counter, that just adds to entropy, but causing the counter device to misbehave would be a bad thing. If this was fixed, could this be added back to syscons? M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key From owner-cvs-sys Sat Oct 26 18:20:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA26851 for cvs-sys-outgoing; Sat, 26 Oct 1996 18:20:29 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA26837; Sat, 26 Oct 1996 18:20:11 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id MAA06472; Sun, 27 Oct 1996 12:14:41 +1100 Date: Sun, 27 Oct 1996 12:14:41 +1100 From: Bruce Evans Message-Id: <199610270114.MAA06472@godzilla.zeta.org.au> To: mark@grondar.za, sos@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa syscons.c Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Soren Schmidt wrote: >> Fixed side effects from calling add_keyboard_randomness() in the console >> getc routine by not calling it. add_keyboard_randomness() currently >> always reenables interrupts on 386's and 486's. This is very bad if the >> console getc routine is called from the debugger and the debugger was >> entered with interrupts disabled. > >add_keyboard_randomness() calls add_timer_randomness(), which does this: > > disable_intr(); > outb(TIMER_MODE, TIMER_SEL0 | TIMER_LATCH); > num ^= inb(TIMER_CNTR0) << 16; > num ^= inb(TIMER_CNTR0) << 24; > enable_intr(); > >If this was changed to not disable/enable the interrupts, would it cause >any trouble? I don't mind getting funny numbers out of the counter, that >just adds to entropy, but causing the counter device to misbehave would be >a bad thing. It depends on what happens when the timer mode is set in interrupt handlers. If setting the mode clears the previous setting, then there is no problem. It could use read_eflags(); disable_intr(); ... write_eflags(); so that it always work when it is called with interrupts disabled, but it shouldn't be called with interrupts disabled. >If this was fixed, could this be added back to syscons? No. Console i/o routines should have as few side effects as possible, because they might be being used to debug things that would be corrupted by the side effects. There seems to be a more serious problem with reentrancy in add_timer_randomness(). It is called from interrupt handlers at the ipls of the handlers, so it may be reentered. It doesn't seem to be designed for this. I guess it works in Linux because it is always called with interrupts disabled. It should use splhigh() in FreeBSD. (Don't forget the design goal that interrupts should not be masked for too long. 20 usec is too long.) Since it is normally (*) called from the keyboard interrupt handler at ipl >= tty_imask, it is now only safe to gather entropy for interrupts generated by tty-class devices. (*) It is missing from pcvt_kbd.o in GENERIC and LINT, because PCVT_FREEBSD is still defined as 210 although 2.1.0R is ancient history. I hate ifdefs. Bruce