From owner-cvs-sys Sun Dec 10 02:50:38 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28212 for cvs-sys-outgoing; Sun, 10 Dec 1995 02:50:38 -0800 (PST) Received: (from julian@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28205 Sun, 10 Dec 1995 02:50:35 -0800 (PST) Date: Sun, 10 Dec 1995 02:50:35 -0800 (PST) From: Julian Elischer Message-Id: <199512101050.CAA28205@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk julian 95/12/10 02:50:34 Modified: sys/i386/conf LINT Log: Add DEVFS to LINT Revision Changes Path 1.219 +4 -1 src/sys/i386/conf/LINT From owner-cvs-sys Sun Dec 10 02:58:37 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28848 for cvs-sys-outgoing; Sun, 10 Dec 1995 02:58:37 -0800 (PST) Received: (from julian@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28837 Sun, 10 Dec 1995 02:58:34 -0800 (PST) Date: Sun, 10 Dec 1995 02:58:34 -0800 (PST) From: Julian Elischer Message-Id: <199512101058.CAA28837@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi cd.c scsi_tape.h scsiconf.c scsiconf.h st.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk julian 95/12/10 02:58:33 Modified: sys/scsi cd.c scsi_tape.h scsiconf.c scsiconf.h st.c Log: Make NEW_SCSICONF the default way of doing things It will need to be changed but it's the better starting point.. also add '?' to wildcarding in SCSI identification of devices.. so we can catch all PIONEER CD 6??* devices instead of having separate entries for the 600, 602, 604X, 624X etc.. it's getting so we should have a small regexp routine in the kernel maybe just a little one.. matching CDX-6[0-9][0-9][ A-Z] would be better there will be drastic changes in this but this is the best starting point.. Revision Changes Path 1.50 +6 -2 src/sys/scsi/cd.c 1.16 +1 -67 src/sys/scsi/scsi_tape.h 1.39 +7 -160 src/sys/scsi/scsiconf.c 1.33 +6 -5 src/sys/scsi/scsiconf.h 1.53 +1 -189 src/sys/scsi/st.c From owner-cvs-sys Sun Dec 10 05:32:50 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11245 for cvs-sys-outgoing; Sun, 10 Dec 1995 05:32:50 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11238 Sun, 10 Dec 1995 05:32:47 -0800 (PST) Date: Sun, 10 Dec 1995 05:32:47 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512101332.FAA11238@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/ddb db_break.c db_input.c db_lex.c db_run.c db_sym.c db_watch.c ddb.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/10 05:32:46 Modified: sys/ddb db_break.c db_input.c db_lex.c db_run.c db_sym.c db_watch.c ddb.h Log: Staticize and cleanup. Revision Changes Path 1.10 +2 -2 src/sys/ddb/db_break.c 1.11 +5 -5 src/sys/ddb/db_input.c 1.10 +3 -3 src/sys/ddb/db_lex.c 1.9 +5 -5 src/sys/ddb/db_run.c 1.13 +2 -2 src/sys/ddb/db_sym.c 1.10 +2 -2 src/sys/ddb/db_watch.c 1.10 +1 -2 src/sys/ddb/ddb.h From owner-cvs-sys Sun Dec 10 05:33:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11307 for cvs-sys-outgoing; Sun, 10 Dec 1995 05:33:51 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11300 Sun, 10 Dec 1995 05:33:50 -0800 (PST) Date: Sun, 10 Dec 1995 05:33:50 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512101333.FAA11300@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/eisa aha1742.c eisaconf.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/10 05:33:50 Modified: sys/i386/eisa aha1742.c eisaconf.c Log: Staticize and cleanup. Make debug variable sysctl aware in 1742. Revision Changes Path 1.44 +7 -5 src/sys/i386/eisa/aha1742.c 1.11 +2 -13 src/sys/i386/eisa/eisaconf.c From owner-cvs-sys Sun Dec 10 05:36:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11567 for cvs-sys-outgoing; Sun, 10 Dec 1995 05:36:39 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11560 Sun, 10 Dec 1995 05:36:37 -0800 (PST) Date: Sun, 10 Dec 1995 05:36:37 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512101336.FAA11560@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 autoconf.c db_interface.c machdep.c pmap.c procfs_machdep.c swtch.s sys_machdep.c userconfig.c vm_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/10 05:36:37 Modified: sys/i386/i386 autoconf.c db_interface.c machdep.c pmap.c procfs_machdep.c swtch.s sys_machdep.c userconfig.c vm_machdep.c Log: Staticize and cleanup. remove a TON of #includes from machdep. Revision Changes Path 1.47 +3 -2 src/sys/i386/i386/autoconf.c 1.17 +6 -4 src/sys/i386/i386/db_interface.c 1.157 +26 -82 src/sys/i386/i386/machdep.c 1.68 +23 -67 src/sys/i386/i386/pmap.c 1.6 +1 -9 src/sys/i386/i386/procfs_machdep.c 1.23 +1 -3 src/sys/i386/i386/swtch.s 1.13 +6 -6 src/sys/i386/i386/sys_machdep.c 1.39 +4 -4 src/sys/i386/i386/userconfig.c 1.47 +23 -22 src/sys/i386/i386/vm_machdep.c From owner-cvs-sys Sun Dec 10 05:40:47 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12210 for cvs-sys-outgoing; Sun, 10 Dec 1995 05:40:47 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12201 Sun, 10 Dec 1995 05:40:45 -0800 (PST) Date: Sun, 10 Dec 1995 05:40:45 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512101340.FAA12201@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa/matcd matcd.c options.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/10 05:40:45 Modified: sys/i386/include clock.h cronyx.h pmap.h sys/i386/isa aic6360.c asc.c bt742a.c clock.c cronyx.c ctx.c cx.c fd.c ft.c gpib.c if_ar.c if_cx.c if_ed.c if_eg.c if_el.c if_ep.c if_fe.c if_ie.c if_ix.c if_le.c if_lnc.c if_lnc.h joy.c kbdtables.h labpc.c lpt.c mcd.c mse.c ncr5380.c npx.c pcaudio.c pcibus.c pcicx.c psm.c rc.c seagate.c si.c sio.c sioreg.h spigot.c syscons.c syscons.h tw.c ultra14f.c wcd.c wd7000.c wt.c sys/i386/isa/matcd matcd.c options.h Log: Staticize and cleanup. Revision Changes Path 1.7 +1 -3 src/sys/i386/include/clock.h 1.4 +0 -5 src/sys/i386/include/cronyx.h 1.30 +1 -2 src/sys/i386/include/pmap.h 1.16 +3 -3 src/sys/i386/isa/aic6360.c 1.11 +11 -15 src/sys/i386/isa/asc.c 1.47 +5 -2 src/sys/i386/isa/bt742a.c 1.40 +5 -5 src/sys/i386/isa/clock.c 1.9 +23 -56 src/sys/i386/isa/cronyx.c 1.14 +7 -7 src/sys/i386/isa/ctx.c 1.20 +7 -10 src/sys/i386/isa/cx.c 1.76 +8 -8 src/sys/i386/isa/fd.c 1.24 +4 -38 src/sys/i386/isa/ft.c 1.14 +48 -162 src/sys/i386/isa/gpib.c 1.3 +25 -17 src/sys/i386/isa/if_ar.c 1.11 +54 -175 src/sys/i386/isa/if_cx.c 1.90 +2 -2 src/sys/i386/isa/if_ed.c 1.9 +6 -22 src/sys/i386/isa/if_eg.c 1.20 +22 -18 src/sys/i386/isa/if_el.c 1.36 +14 -14 src/sys/i386/isa/if_ep.c 1.8 +14 -14 src/sys/i386/isa/if_fe.c 1.31 +6 -5 src/sys/i386/isa/if_ie.c 1.16 +2 -2 src/sys/i386/isa/if_ix.c 1.26 +11 -12 src/sys/i386/isa/if_le.c 1.16 +1 -1 src/sys/i386/isa/if_lnc.c 1.3 +0 -13 src/sys/i386/isa/if_lnc.h 1.14 +4 -3 src/sys/i386/isa/joy.c 1.30 +8 -8 src/sys/i386/isa/kbdtables.h 1.13 +10 -18 src/sys/i386/isa/labpc.c 1.48 +2 -2 src/sys/i386/isa/lpt.c 1.54 +2 -2 src/sys/i386/isa/mcd.c 1.22 +3 -4 src/sys/i386/isa/mse.c 1.9 +1 -1 src/sys/i386/isa/ncr5380.c 1.26 +2 -2 src/sys/i386/isa/npx.c 1.24 +6 -6 src/sys/i386/isa/pcaudio.c 1.20 +2 -2 src/sys/i386/isa/pcibus.c 1.2 +0 -12 src/sys/i386/isa/pcicx.c 1.12 +9 -6 src/sys/i386/isa/psm.c 1.17 +8 -6 src/sys/i386/isa/rc.c 1.15 +2 -2 src/sys/i386/isa/seagate.c 1.25 +10 -10 src/sys/i386/isa/si.c 1.127 +42 -60 src/sys/i386/isa/sio.c 1.4 +5 -5 src/sys/i386/isa/sioreg.h 1.19 +5 -5 src/sys/i386/isa/spigot.c 1.136 +13 -10 src/sys/i386/isa/syscons.c 1.14 +1 -5 src/sys/i386/isa/syscons.h 1.14 +28 -21 src/sys/i386/isa/tw.c 1.42 +5 -5 src/sys/i386/isa/ultra14f.c 1.19 +2 -2 src/sys/i386/isa/wcd.c 1.12 +5 -10 src/sys/i386/isa/wd7000.c 1.26 +2 -2 src/sys/i386/isa/wt.c 1.13 +9 -6 src/sys/i386/isa/matcd/matcd.c 1.5 +1 -1 src/sys/i386/isa/matcd/options.h Modified: sys/i386/isa/ic ns16450.h Log: Staticize and cleanup. Ohh, forgot this bit: (covers sio.c too) recognize the 16650 too. Revision Changes Path 1.3 +2 -2 src/sys/i386/isa/ic/ns16450.h From owner-cvs-sys Sun Dec 10 05:45:41 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12413 for cvs-sys-outgoing; Sun, 10 Dec 1995 05:45:41 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12396 Sun, 10 Dec 1995 05:45:35 -0800 (PST) Date: Sun, 10 Dec 1995 05:45:35 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512101345.FAA12396@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys conf.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/10 05:45:33 Modified: sys/conf param.c sys/kern init_main.c sys/netiso iso_var.h sys/sys conf.h Log: Last commit this round: Staticize. we are now down to about 1146 symbols being global, of which I estimate that about 100 are validly so. Revision Changes Path 1.13 +1 -3 src/sys/conf/param.c 1.36 +18 -18 src/sys/kern/init_main.c 1.7 +4 -3 src/sys/netiso/iso_var.h 1.26 +1 -2 src/sys/sys/conf.h From owner-cvs-sys Sun Dec 10 06:52:14 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA16071 for cvs-sys-outgoing; Sun, 10 Dec 1995 06:52:14 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA16063 Sun, 10 Dec 1995 06:52:12 -0800 (PST) Date: Sun, 10 Dec 1995 06:52:12 -0800 (PST) From: Bruce Evans Message-Id: <199512101452.GAA16063@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm vm_kern.c vm_meter.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 06:52:11 Modified: sys/gnu/ext2fs ext2_inode.c ext2_vnops.c sys/vm vm_kern.c vm_meter.c Log: Restored used includes of . Revision Changes Path 1.2 +1 -0 src/sys/gnu/ext2fs/ext2_inode.c 1.6 +1 -0 src/sys/gnu/ext2fs/ext2_vnops.c 1.19 +2 -1 src/sys/vm/vm_kern.c 1.12 +2 -1 src/sys/vm/vm_meter.c From owner-cvs-sys Sun Dec 10 06:57:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA16314 for cvs-sys-outgoing; Sun, 10 Dec 1995 06:57:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA16303 Sun, 10 Dec 1995 06:57:06 -0800 (PST) Date: Sun, 10 Dec 1995 06:57:06 -0800 (PST) From: Bruce Evans Message-Id: <199512101457.GAA16303@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi su.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 06:57:05 Modified: sys/scsi su.c Log: Removed unused functions sudump() and supsize(). Added `extern' to misplaced public prototypes. Revision Changes Path 1.11 +5 -26 src/sys/scsi/su.c From owner-cvs-sys Sun Dec 10 07:47:58 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA19978 for cvs-sys-outgoing; Sun, 10 Dec 1995 07:47:58 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA19901 Sun, 10 Dec 1995 07:46:11 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id QAA24518; Sun, 10 Dec 1995 16:09:55 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id QAA11474; Sun, 10 Dec 1995 16:09:55 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id PAA06047; Sun, 10 Dec 1995 15:31:45 +0100 From: J Wunsch Message-Id: <199512101431.PAA06047@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/net if_tun.c To: peter@jhome.DIALix.COM (Peter Wemm) Date: Sun, 10 Dec 1995 15:31:45 +0100 (MET) Cc: bde@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Peter Wemm" at Dec 10, 95 01:37:10 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk As Peter Wemm wrote: > > > Removed an `#ifdef __FreeBSD__'. Hundreds, if not thousands of other > > FreeBSD-specific things aren't ifdefed. > > I think our source could stand a lot more cleanup in this way.. After > all, our sources are for FreeBSD, not GenericBSD or PortableBSD... > > Especially so, since we've not been consistant. I think the only real > place where this kind of thing needs to stay is where we've taken 3rd > party device drivers into our source that we dont maintain ourselves, and > have cross-machine and version portability built in (if_cx and cx.c for > example). pcvt, too. Please, don't remove the #if PCVT_FREEBSD stuff there. -- 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 Sun Dec 10 07:55:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA20667 for cvs-sys-outgoing; Sun, 10 Dec 1995 07:55:40 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA20653 Sun, 10 Dec 1995 07:55:37 -0800 (PST) Date: Sun, 10 Dec 1995 07:55:37 -0800 (PST) From: Bruce Evans Message-Id: <199512101555.HAA20653@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys conf.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 07:55:36 Modified: sys/gnu/i386/isa dgb.c sys/gnu/isdn iitty.c isdn.c sys/i386/i386 mem.c sys/i386/isa cx.c cy.c rc.c si.c sio.c spigot.c syscons.c wd.c sys/i386/isa/pcvt pcvt_drv.c sys/kern tty_pty.c sys/sys conf.h Log: Removed new alias d_size_t for d_psize_t. Removed old aliases d_rdwr_t and d_ttycv_t for d_read_t/d_write_t and d_devtotty_t. Sorted declarations of switch functions into switch order. Removed duplicated comments and declarations of nonexistent switch functions. Revision Changes Path 1.12 +2 -2 src/sys/gnu/i386/isa/dgb.c 1.18 +6 -3 src/sys/gnu/isdn/iitty.c 1.11 +5 -3 src/sys/gnu/isdn/isdn.c 1.25 +2 -2 src/sys/i386/i386/mem.c 1.21 +1 -1 src/sys/i386/isa/cx.c 1.26 +2 -2 src/sys/i386/isa/cy.c 1.18 +1 -1 src/sys/i386/isa/rc.c 1.26 +2 -2 src/sys/i386/isa/si.c 1.128 +2 -2 src/sys/i386/isa/sio.c 1.20 +0 -1 src/sys/i386/isa/spigot.c 1.137 +4 -4 src/sys/i386/isa/syscons.c 1.99 +3 -3 src/sys/i386/isa/wd.c 1.17 +3 -3 src/sys/i386/isa/pcvt/pcvt_drv.c 1.31 +2 -2 src/sys/kern/tty_pty.c 1.27 +10 -13 src/sys/sys/conf.h From owner-cvs-sys Sun Dec 10 11:08:49 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA00735 for cvs-sys-outgoing; Sun, 10 Dec 1995 11:08:49 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA00723 Sun, 10 Dec 1995 11:08:45 -0800 (PST) Date: Sun, 10 Dec 1995 11:08:45 -0800 (PST) From: Bruce Evans Message-Id: <199512101908.LAA00723@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/ddb db_access.c db_access.h db_aout.c db_break.c db_break.h db_command.c db_command.h db_examine.c db_expr.c db_input.c db_lex.c db_output.c db_print.c db_ps.c db_run.c db_sym.c db_trap.c db_variables.c db_watch.c db_watch.h db_write_cmd.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 11:08:43 Modified: sys/ddb db_access.c db_access.h db_aout.c db_break.c db_break.h db_command.c db_command.h db_examine.c db_expr.c db_input.c db_lex.c db_output.c db_print.c db_ps.c db_run.c db_sym.c db_trap.c db_variables.c db_watch.c db_watch.h db_write_cmd.c Log: Reduced and cleaned up #includes. Revision Changes Path 1.11 +2 -3 src/sys/ddb/db_access.c 1.6 +1 -3 src/sys/ddb/db_access.h 1.15 +1 -3 src/sys/ddb/db_aout.c 1.11 +4 -6 src/sys/ddb/db_break.c 1.7 +1 -3 src/sys/ddb/db_break.h 1.18 +3 -4 src/sys/ddb/db_command.c 1.8 +1 -5 src/sys/ddb/db_command.h 1.12 +1 -3 src/sys/ddb/db_examine.c 1.9 +2 -3 src/sys/ddb/db_expr.c 1.12 +4 -4 src/sys/ddb/db_input.c 1.11 +2 -2 src/sys/ddb/db_lex.c 1.15 +4 -3 src/sys/ddb/db_output.c 1.10 +1 -4 src/sys/ddb/db_print.c 1.10 +4 -3 src/sys/ddb/db_ps.c 1.10 +3 -4 src/sys/ddb/db_run.c 1.14 +2 -3 src/sys/ddb/db_sym.c 1.9 +3 -4 src/sys/ddb/db_trap.c 1.11 +2 -4 src/sys/ddb/db_variables.c 1.11 +4 -5 src/sys/ddb/db_watch.c 1.8 +1 -3 src/sys/ddb/db_watch.h 1.7 +2 -4 src/sys/ddb/db_write_cmd.c From owner-cvs-sys Sun Dec 10 11:54:01 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA06202 for cvs-sys-outgoing; Sun, 10 Dec 1995 11:54:01 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA06182 Sun, 10 Dec 1995 11:53:53 -0800 (PST) Date: Sun, 10 Dec 1995 11:53:53 -0800 (PST) From: Bruce Evans Message-Id: <199512101953.LAA06182@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm vm_swap.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 11:53:50 Modified: sys/i386/isa fd.c mcd.c scd.c wcd.c sys/i386/isa/matcd matcd.c sys/scsi cd.c od.c st.c sys/vm vm_swap.c Log: Replaced nxdump by nodump (if the dump function gets called, then the device must be configured, so ENXIO is a bogus errno). Replaced zerosize by nopsize. zerosize was a temporary alias. Revision Changes Path 1.77 +2 -2 src/sys/i386/isa/fd.c 1.55 +2 -2 src/sys/i386/isa/mcd.c 1.15 +2 -2 src/sys/i386/isa/scd.c 1.20 +1 -1 src/sys/i386/isa/wcd.c 1.14 +2 -2 src/sys/i386/isa/matcd/matcd.c 1.51 +2 -2 src/sys/scsi/cd.c 1.8 +2 -2 src/sys/scsi/od.c 1.54 +2 -2 src/sys/scsi/st.c 1.31 +2 -2 src/sys/vm/vm_swap.c From owner-cvs-sys Sun Dec 10 12:02:58 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA07497 for cvs-sys-outgoing; Sun, 10 Dec 1995 12:02:58 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA07487 Sun, 10 Dec 1995 12:02:51 -0800 (PST) Date: Sun, 10 Dec 1995 12:02:51 -0800 (PST) From: Bruce Evans Message-Id: <199512102002.MAA07487@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi cd.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 12:02:50 Modified: sys/scsi cd.c Log: Replaced cdsize by generic nopsize. Added prototypes. Declared statics consistently. Revision Changes Path 1.52 +20 -27 src/sys/scsi/cd.c From owner-cvs-sys Sun Dec 10 12:10:33 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA08554 for cvs-sys-outgoing; Sun, 10 Dec 1995 12:10:33 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA08538 Sun, 10 Dec 1995 12:10:28 -0800 (PST) Date: Sun, 10 Dec 1995 12:10:28 -0800 (PST) From: Bruce Evans Message-Id: <199512102010.MAA08538@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa scd.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 12:10:27 Modified: sys/i386/isa scd.c Log: Replaced scdsize by generic nopsize. Revision Changes Path 1.16 +2 -9 src/sys/i386/isa/scd.c From owner-cvs-sys Sun Dec 10 12:19:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA09269 for cvs-sys-outgoing; Sun, 10 Dec 1995 12:19:39 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA09249 Sun, 10 Dec 1995 12:19:35 -0800 (PST) Date: Sun, 10 Dec 1995 12:19:35 -0800 (PST) From: Bruce Evans Message-Id: <199512102019.MAA09249@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi od.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 12:19:34 Modified: sys/scsi od.c Log: Replaced odsize by generic nopsize. Staticized. Added prototypes. Revision Changes Path 1.9 +28 -35 src/sys/scsi/od.c From owner-cvs-sys Sun Dec 10 12:35:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA11315 for cvs-sys-outgoing; Sun, 10 Dec 1995 12:35:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA11294 Sun, 10 Dec 1995 12:35:01 -0800 (PST) Date: Sun, 10 Dec 1995 12:35:01 -0800 (PST) From: Bruce Evans Message-Id: <199512102035.MAA11294@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi ssc.c su.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 12:34:59 Modified: sys/i386/isa cy.c si.c sys/scsi ssc.c su.c Log: Replaced nxmmap by nommap (if the mmap function gets called, then the device must be configured). Revision Changes Path 1.27 +2 -2 src/sys/i386/isa/cy.c 1.27 +2 -2 src/sys/i386/isa/si.c 1.10 +2 -2 src/sys/scsi/ssc.c 1.12 +2 -2 src/sys/scsi/su.c From owner-cvs-sys Sun Dec 10 12:54:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA13240 for cvs-sys-outgoing; Sun, 10 Dec 1995 12:54:51 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA13227 Sun, 10 Dec 1995 12:54:47 -0800 (PST) Date: Sun, 10 Dec 1995 12:54:47 -0800 (PST) From: Bruce Evans Message-Id: <199512102054.MAA13227@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa cy.c rc.c si.c sio.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 12:54:46 Modified: sys/gnu/i386/isa dgb.c sys/i386/isa cy.c rc.c si.c sio.c Log: Replaced nxreset by noreset (if the reset function gets called, then the device must be configured. It's hard to tell whether a reset function should be noreset or nullreset since reset functions are never called. Most drivers use nullreset but noreset has the advantage of complaining if somehow gets called). Revision Changes Path 1.13 +2 -2 src/sys/gnu/i386/isa/dgb.c 1.28 +2 -2 src/sys/i386/isa/cy.c 1.19 +1 -1 src/sys/i386/isa/rc.c 1.28 +2 -2 src/sys/i386/isa/si.c 1.129 +2 -2 src/sys/i386/isa/sio.c From owner-cvs-sys Sun Dec 10 13:08:47 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA14743 for cvs-sys-outgoing; Sun, 10 Dec 1995 13:08:47 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA14718 Sun, 10 Dec 1995 13:08:38 -0800 (PST) Date: Sun, 10 Dec 1995 13:08:38 -0800 (PST) From: Bruce Evans Message-Id: <199512102108.NAA14718@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa cx.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 13:08:33 Modified: sys/i386/isa cx.c Log: Unstaticized cx_cdevsw (it is used in if_cx.c). Added a prototype. Revision Changes Path 1.22 +5 -3 src/sys/i386/isa/cx.c From owner-cvs-sys Sun Dec 10 13:39:04 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA18155 for cvs-sys-outgoing; Sun, 10 Dec 1995 13:39:04 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA18134 Sun, 10 Dec 1995 13:38:56 -0800 (PST) Date: Sun, 10 Dec 1995 13:38:56 -0800 (PST) From: Bruce Evans Message-Id: <199512102138.NAA18134@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/gnu/ext2fs ext2_alloc.c ext2_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 13:38:52 Modified: sys/gnu/ext2fs ext2_alloc.c ext2_vfsops.c Log: Restored variables that are used iff QUOTA is defined. ext2fs still uses #if in many cases where the rest of the kernel uses #ifdef (for QUOTA...). Revision Changes Path 1.4 +3 -0 src/sys/gnu/ext2fs/ext2_alloc.c 1.5 +3 -0 src/sys/gnu/ext2fs/ext2_vfsops.c From owner-cvs-sys Sun Dec 10 14:09:24 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA21757 for cvs-sys-outgoing; Sun, 10 Dec 1995 14:09:24 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA21747 Sun, 10 Dec 1995 14:09:19 -0800 (PST) Date: Sun, 10 Dec 1995 14:09:19 -0800 (PST) From: Bruce Evans Message-Id: <199512102209.OAA21747@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 14:09:18 Modified: sys/i386/conf LINT Log: Added undocumented option EXT2FS so that it gets tested. Enabled option GPL_MATH_EMULATE so it gets tested. This will cause linkage errors. Fixed comment about PCVT_VERSION=210. Revision Changes Path 1.220 +7 -4 src/sys/i386/conf/LINT From owner-cvs-sys Sun Dec 10 14:14:33 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA22153 for cvs-sys-outgoing; Sun, 10 Dec 1995 14:14:33 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA22134 Sun, 10 Dec 1995 14:14:28 -0800 (PST) Date: Sun, 10 Dec 1995 14:14:28 -0800 (PST) From: Bruce Evans Message-Id: <199512102214.OAA22134@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/10 14:14:26 Modified: sys/i386/conf GENERIC Log: Added pcvt option FAT_CURSOR. Fixed comment about PCVT_VERSION=210. Fixed tabs and trailing blanks. Revision Changes Path 1.53 +7 -6 src/sys/i386/conf/GENERIC From owner-cvs-sys Sun Dec 10 20:58:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA25244 for cvs-sys-outgoing; Sun, 10 Dec 1995 20:58:45 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA25231 Sun, 10 Dec 1995 20:58:42 -0800 (PST) Date: Sun, 10 Dec 1995 20:58:42 -0800 (PST) From: John Dyson Message-Id: <199512110458.UAA25231@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm default_pager.c default_pager.h device_pager.c device_pager.h swap_pager.c swap_pager.h vm_extern.h vm_fault.c vm_init.c vm_kern.c vm_map.c vm_map.h vm_mmap.c vm_object.c vm_object.h vm_page.c vm_page.h vm_pageout.c vm_pager.c vm_pager.h vnode_pager.c vnode_pager.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 95/12/10 20:58:40 Modified: sys/i386/i386 pmap.c vm_machdep.c sys/i386/include types.h sys/i386/isa bt742a.c wd.c sys/kern imgact_aout.c subr_rlist.c vfs_bio.c vfs_cluster.c vfs_subr.c vfs_syscalls.c vfs_vnops.c vnode_if.src sys/miscfs/procfs procfs_mem.c sys/miscfs/specfs spec_vnops.c specdev.h sys/scsi sd.c sys/sys buf.h vnode.h sys/ufs/ffs ffs_inode.c ffs_vfsops.c sys/ufs/ufs ufs_readwrite.c ufs_vnops.c sys/vm default_pager.c default_pager.h device_pager.c device_pager.h swap_pager.c swap_pager.h vm_extern.h vm_fault.c vm_init.c vm_kern.c vm_map.c vm_map.h vm_mmap.c vm_object.c vm_object.h vm_page.c vm_page.h vm_pageout.c vm_pager.c vm_pager.h vnode_pager.c vnode_pager.h Log: Changes to support 1Tb filesizes. Pages are now named by an (object,index) pair instead of (object,offset) pair. Revision Changes Path 1.69 +40 -27 src/sys/i386/i386/pmap.c 1.48 +2 -1 src/sys/i386/i386/vm_machdep.c 1.5 +4 -2 src/sys/i386/include/types.h 1.48 +1 -2 src/sys/i386/isa/bt742a.c 1.100 +7 -12 src/sys/i386/isa/wd.c 1.20 +3 -2 src/sys/kern/imgact_aout.c 1.14 +3 -3 src/sys/kern/subr_rlist.c 1.76 +149 -86 src/sys/kern/vfs_bio.c 1.30 +114 -107 src/sys/kern/vfs_cluster.c 1.48 +4 -6 src/sys/kern/vfs_subr.c 1.43 +2 -1 src/sys/kern/vfs_syscalls.c 1.21 +56 -32 src/sys/kern/vfs_vnops.c 1.9 +3 -3 src/sys/kern/vnode_if.src 1.13 +3 -3 src/sys/miscfs/procfs/procfs_mem.c 1.23 +34 -3 src/sys/miscfs/specfs/spec_vnops.c 1.7 +4 -1 src/sys/miscfs/specfs/specdev.h 1.80 +6 -1 src/sys/scsi/sd.c 1.25 +7 -5 src/sys/sys/buf.h 1.25 +3 -1 src/sys/sys/vnode.h 1.18 +11 -5 src/sys/ufs/ffs/ffs_inode.c 1.31 +10 -23 src/sys/ufs/ffs/ffs_vfsops.c 1.17 +7 -7 src/sys/ufs/ufs/ufs_readwrite.c 1.35 +2 -6 src/sys/ufs/ufs/ufs_vnops.c 1.4 +4 -4 src/sys/vm/default_pager.c 1.2 +3 -3 src/sys/vm/default_pager.h 1.17 +12 -10 src/sys/vm/device_pager.c 1.5 +3 -3 src/sys/vm/device_pager.h 1.54 +92 -111 src/sys/vm/swap_pager.c 1.12 +5 -4 src/sys/vm/swap_pager.h 1.21 +6 -5 src/sys/vm/vm_extern.h 1.39 +49 -46 src/sys/vm/vm_fault.c 1.12 +2 -2 src/sys/vm/vm_init.c 1.20 +8 -5 src/sys/vm/vm_kern.c 1.29 +38 -32 src/sys/vm/vm_map.c 1.9 +5 -5 src/sys/vm/vm_map.h 1.32 +5 -4 src/sys/vm/vm_mmap.c 1.59 +72 -97 src/sys/vm/vm_object.c 1.25 +14 -12 src/sys/vm/vm_object.h 1.41 +33 -32 src/sys/vm/vm_page.c 1.23 +8 -6 src/sys/vm/vm_page.h 1.62 +13 -10 src/sys/vm/vm_pageout.c 1.20 +3 -3 src/sys/vm/vm_pager.c 1.11 +5 -5 src/sys/vm/vm_pager.h 1.55 +57 -44 src/sys/vm/vnode_pager.c 1.7 +3 -3 src/sys/vm/vnode_pager.h From owner-cvs-sys Sun Dec 10 21:03:05 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA25463 for cvs-sys-outgoing; Sun, 10 Dec 1995 21:03:05 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA25451 Sun, 10 Dec 1995 21:02:55 -0800 (PST) Date: Sun, 10 Dec 1995 21:02:55 -0800 (PST) From: John Dyson Message-Id: <199512110502.VAA25451@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi sd.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 95/12/10 21:02:54 Modified: sys/i386/isa wd.c sys/scsi sd.c Log: Undo a change that should not have been committed with the 1Tb enhancements. Revision Changes Path 1.101 +3 -3 src/sys/i386/isa/wd.c 1.81 +1 -2 src/sys/scsi/sd.c From owner-cvs-sys Mon Dec 11 01:25:06 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA14701 for cvs-sys-outgoing; Mon, 11 Dec 1995 01:25:06 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA14694 Mon, 11 Dec 1995 01:25:03 -0800 (PST) Date: Mon, 11 Dec 1995 01:25:03 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512110925.BAA14694@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/miscfs/umapfs umap_vfsops.c umap_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/11 01:25:02 Modified: sys/miscfs/fifofs fifo.h fifo_vnops.c sys/miscfs/kernfs kernfs_vfsops.c sys/miscfs/nullfs null_vfsops.c null_vnops.c sys/miscfs/portal portal_vfsops.c portal_vnops.c sys/miscfs/specfs spec_vnops.c sys/miscfs/umapfs umap_vfsops.c umap_vnops.c Log: Staticize. Revision Changes Path 1.8 +1 -5 src/sys/miscfs/fifofs/fifo.h 1.13 +7 -7 src/sys/miscfs/fifofs/fifo_vnops.c 1.11 +26 -26 src/sys/miscfs/kernfs/kernfs_vfsops.c 1.9 +22 -22 src/sys/miscfs/nullfs/null_vfsops.c 1.11 +22 -19 src/sys/miscfs/nullfs/null_vnops.c 1.10 +24 -24 src/sys/miscfs/portal/portal_vfsops.c 1.10 +29 -29 src/sys/miscfs/portal/portal_vnops.c 1.24 +4 -4 src/sys/miscfs/specfs/spec_vnops.c 1.10 +22 -22 src/sys/miscfs/umapfs/umap_vfsops.c 1.12 +24 -21 src/sys/miscfs/umapfs/umap_vnops.c From owner-cvs-sys Mon Dec 11 01:26:33 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA15024 for cvs-sys-outgoing; Mon, 11 Dec 1995 01:26:33 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA15012 Mon, 11 Dec 1995 01:26:29 -0800 (PST) Date: Mon, 11 Dec 1995 01:26:29 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512110926.BAA15012@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa/sound dev_table.c dev_table.h gus_wave.c midibuf.c opl3.c pas.h pas2_card.c pas2_mixer.c pas2_pcm.c sb_midi.c sb_mixer.h sequencer.c sound_calls.h soundcard.c tuning.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/11 01:26:25 Modified: sys/i386/isa/sound dev_table.c dev_table.h gus_wave.c midibuf.c opl3.c pas.h pas2_card.c pas2_mixer.c pas2_pcm.c sb_midi.c sb_mixer.h sequencer.c sound_calls.h soundcard.c tuning.h Log: Staticize Revision Changes Path 1.11 +1 -91 src/sys/i386/isa/sound/dev_table.c 1.18 +0 -2 src/sys/i386/isa/sound/dev_table.h 1.21 +13 -13 src/sys/i386/isa/sound/gus_wave.c 1.11 +2 -2 src/sys/i386/isa/sound/midibuf.c 1.12 +1 -1 src/sys/i386/isa/sound/opl3.c 1.12 +10 -13 src/sys/i386/isa/sound/pas.h 1.19 +6 -6 src/sys/i386/isa/sound/pas2_card.c 1.14 +3 -3 src/sys/i386/isa/sound/pas2_mixer.c 1.14 +6 -6 src/sys/i386/isa/sound/pas2_pcm.c 1.9 +1 -1 src/sys/i386/isa/sound/sb_midi.c 1.9 +3 -3 src/sys/i386/isa/sound/sb_mixer.h 1.13 +3 -3 src/sys/i386/isa/sound/sequencer.c 1.16 +0 -2 src/sys/i386/isa/sound/sound_calls.h 1.40 +8 -31 src/sys/i386/isa/sound/soundcard.c 1.7 +2 -5 src/sys/i386/isa/sound/tuning.h From owner-cvs-sys Mon Dec 11 02:26:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA20492 for cvs-sys-outgoing; Mon, 11 Dec 1995 02:26:39 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA20484 Mon, 11 Dec 1995 02:26:36 -0800 (PST) Date: Mon, 11 Dec 1995 02:26:36 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512111026.CAA20484@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/miscfs/fifofs fifo.h fifo_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/11 02:26:35 Modified: sys/miscfs/fifofs fifo.h fifo_vnops.c Log: Back out this one, must have screwed up somewhere :-( Revision Changes Path 1.9 +5 -1 src/sys/miscfs/fifofs/fifo.h 1.14 +7 -7 src/sys/miscfs/fifofs/fifo_vnops.c From owner-cvs-sys Mon Dec 11 05:25:06 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA03626 for cvs-sys-outgoing; Mon, 11 Dec 1995 05:25:06 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA03619 Mon, 11 Dec 1995 05:25:04 -0800 (PST) Date: Mon, 11 Dec 1995 05:25:04 -0800 (PST) From: Peter Wemm Message-Id: <199512111325.FAA03619@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/net if_tun.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/11 05:25:03 Modified: sys/net if_tun.c Log: Make FIONREAD return the actual that a read() would return, not just the amount of data in the first mbuf. Obtained from: Bob Smart (for NetBSD & SunOS) Revision Changes Path 1.19 +5 -3 src/sys/net/if_tun.c From owner-cvs-sys Mon Dec 11 07:42:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA21116 for cvs-sys-outgoing; Mon, 11 Dec 1995 07:42:03 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA21103 Mon, 11 Dec 1995 07:41:58 -0800 (PST) Date: Mon, 11 Dec 1995 07:41:58 -0800 (PST) From: John Dyson Message-Id: <199512111541.HAA21103@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm vm_page.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 95/12/11 07:41:54 Modified: sys/vm vm_page.c Log: Some DIAGNOSTIC code was enabled all of the time in error. The diagnostic code is now conditional on #ifdef DIAGNOSTIC again. Revision Changes Path 1.42 +3 -3 src/sys/vm/vm_page.c From owner-cvs-sys Mon Dec 11 07:43:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA21344 for cvs-sys-outgoing; Mon, 11 Dec 1995 07:43:42 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA21331 Mon, 11 Dec 1995 07:43:39 -0800 (PST) Date: Mon, 11 Dec 1995 07:43:39 -0800 (PST) From: John Dyson Message-Id: <199512111543.HAA21331@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm swap_pager.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 95/12/11 07:43:37 Modified: sys/vm swap_pager.c Log: Some new anti-deadlock code ended up messing up the paging stats. A modified version of the code is now in place, and gausspage performance is back up to where it should be. Revision Changes Path 1.55 +18 -16 src/sys/vm/swap_pager.c From owner-cvs-sys Mon Dec 11 20:18:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA05735 for cvs-sys-outgoing; Mon, 11 Dec 1995 20:18:16 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA05725 Mon, 11 Dec 1995 20:18:14 -0800 (PST) Date: Mon, 11 Dec 1995 20:18:14 -0800 (PST) From: John Dyson Message-Id: <199512120418.UAA05725@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern vfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 95/12/11 20:18:13 Modified: sys/kern vfs_bio.c Log: This should have fixed some conditions that could cause the "getblk" hang. The B_WANTED flag was being cleared gratuitously, also the optimization of gbincore for ignoring the B_INVAL flag was incorrect. There is no place in the code where buffers are on the hash list that are B_INVAL and not B_BUSY. Revision Changes Path 1.77 +4 -4 src/sys/kern/vfs_bio.c From owner-cvs-sys Tue Dec 12 00:58:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA21704 for cvs-sys-outgoing; Tue, 12 Dec 1995 00:58:11 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA21694 Tue, 12 Dec 1995 00:58:07 -0800 (PST) Date: Tue, 12 Dec 1995 00:58:07 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199512120858.AAA21694@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/pci bt9xx.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk gibbs 95/12/12 00:58:06 Modified: sys/conf files Log: Add pci/bt9xx.c - the new PCI probe module of the Buslogic SCSI driver. Revision Changes Path 1.54 +1 -0 src/sys/conf/files Modified: sys/i386/conf GENERIC LINT files.i386 Log: Have bt0 entry specify "bt_isa_intr" for its vector. This one entry will allow one EISA/ISA/PCI/VL Buslogic controller to be probed. The driver is almost fully dynamic. It just needs some kdc work and for the SCSI code to stop passing unit numbers up in the scsi_xfer struct. Revision Changes Path 1.54 +2 -2 src/sys/i386/conf/GENERIC 1.221 +2 -2 src/sys/i386/conf/LINT 1.117 +4 -2 src/sys/i386/conf/files.i386 Added: sys/i386/eisa bt74x.c Log: Eisa Probe portion of revamped Buslogic SCSI driver. Modified: sys/i386/i386 autoconf.c Log: Have Eisa and PCI probes occur before ISA probes. Buslogic EISA and PCI cards can be found in ISA compatibility mode by the ISA driver, but since the EISA and PCI probes are non-invasive, we prefer them to find the card first. Since both EISA and PCI probes can rely on interrupts, enable them before probing of any type is performed. All ISA probes are still "protected" by splhigh(). Revision Changes Path 1.48 +10 -5 src/sys/i386/i386/autoconf.c Added: sys/i386/isa bt5xx-445.c Removed: sys/i386/isa bt742a.c Log: Isa/VL probe portion of the Buslogic SCSI driver. Added: sys/i386/scsi bt.c btreg.h Log: The core of the Buslogic SCSI driver that is shared for all models on all buses. Known problems: -The PCI probe code has not been tested. Someone with a PCI Bt card will have to validate it, but even if it is broken all cards the earlier version of this driver found in ISA compatibility mode should still be found. -Still missing the BT956 PCI ID, so it will be found as an ISA card until someone suplies it. -PCI interrupts go through an interrupt stub that returns an int until we remove the edge-triggered PCI compatibiliity cruft. -ISA interrupts go through an interrupt stub until they pass in (void *). -The driver could support more mboxes and concurrent commands by allocating structures separately and hanging them off the bt_data struct to get around the 4K page limit. Someone with documentation should do this and also enable tagged queuing. Added: sys/pci bt9xx.c Log: PCI portion of the Buslogic SCSI driver. Needs to be tested and more PCI ids for Buslogic products added. From owner-cvs-sys Tue Dec 12 19:47:13 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA14471 for cvs-sys-outgoing; Tue, 12 Dec 1995 19:47:13 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA14456 Tue, 12 Dec 1995 19:47:07 -0800 (PST) Date: Tue, 12 Dec 1995 19:47:07 -0800 (PST) From: John Dyson Message-Id: <199512130347.TAA14456@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern vfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 95/12/12 19:47:05 Modified: sys/kern vfs_bio.c Log: Fix a problem that was caused by new (partial) support for merged cache metadata and VBLK type devices. The code is currently mostly disabled, and a work-around has been added to disabled attempted clustered writes for VBLK type device buffers. Clustered write of meta-data is currently a work in progress. Revision Changes Path 1.78 +5 -1 src/sys/kern/vfs_bio.c From owner-cvs-sys Wed Dec 13 02:35:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA00676 for cvs-sys-outgoing; Wed, 13 Dec 1995 02:35:45 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA00665 Wed, 13 Dec 1995 02:35:41 -0800 (PST) Date: Wed, 13 Dec 1995 02:35:41 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512131035.CAA00665@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa if_zp.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/13 02:35:40 Modified: sys/i386/isa if_zp.c Log: Remove MACH_KERNEL, ORIGINAL, and ZP_DEBUG, I should have done this before it was imported. Revision Changes Path 1.14 +780 -1743 src/sys/i386/isa/if_zp.c From owner-cvs-sys Wed Dec 13 02:36:14 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA00769 for cvs-sys-outgoing; Wed, 13 Dec 1995 02:36:14 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA00754 Wed, 13 Dec 1995 02:36:09 -0800 (PST) Date: Wed, 13 Dec 1995 02:36:09 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512131036.CAA00754@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa if_ze.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/13 02:36:07 Modified: sys/i386/isa if_ze.c Log: Staticize. Revision Changes Path 1.26 +23 -23 src/sys/i386/isa/if_ze.c From owner-cvs-sys Wed Dec 13 04:28:43 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA06500 for cvs-sys-outgoing; Wed, 13 Dec 1995 04:28:43 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA06493 Wed, 13 Dec 1995 04:28:41 -0800 (PST) Date: Wed, 13 Dec 1995 04:28:41 -0800 (PST) From: John Dyson Message-Id: <199512131228.EAA06493@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm vm_mmap.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 95/12/13 04:28:41 Modified: sys/vm vm_mmap.c Log: There was a bug that the size for an msync'ed region was not rounded up. The effect of this was that msync with a size would generally sync 1 page less than it should. This problem was brought to my attention by Darrel Herbst and Ron Minnich . Revision Changes Path 1.33 +2 -2 src/sys/vm/vm_mmap.c From owner-cvs-sys Wed Dec 13 06:33:02 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA15451 for cvs-sys-outgoing; Wed, 13 Dec 1995 06:33:02 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA15444 Wed, 13 Dec 1995 06:33:01 -0800 (PST) Date: Wed, 13 Dec 1995 06:33:01 -0800 (PST) From: Bruce Evans Message-Id: <199512131433.GAA15444@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/scsi bt.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/13 06:33:00 Modified: sys/i386/scsi bt.c Log: Completed function declarations and added prototypes. Fixed 3 serious type mismatches that were introduced when the driver was split up. Reviewed by: gibbs Revision Changes Path 1.2 +32 -14 src/sys/i386/scsi/bt.c From owner-cvs-sys Wed Dec 13 07:14:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA19840 for cvs-sys-outgoing; Wed, 13 Dec 1995 07:14:03 -0800 (PST) Received: (from julian@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA19831 Wed, 13 Dec 1995 07:14:01 -0800 (PST) Date: Wed, 13 Dec 1995 07:14:01 -0800 (PST) From: Julian Elischer Message-Id: <199512131514.HAA19831@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm device_pager.c vm_swap.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk julian 95/12/13 07:13:59 Modified: sys/i386/i386 autoconf.c conf.c cons.c machdep.c sys/kern kern_conf.c kern_lkm.c kern_physio.c tty.c tty_pty.c tty_snoop.c sys/miscfs/kernfs kernfs_vfsops.c sys/miscfs/specfs spec_vnops.c sys/scsi scsiconf.c sys/sys conf.h lkm.h sys/vm device_pager.c vm_swap.c Log: devsw tables are now arrays of POINTERS to struct [cb]devsw seems to work hre just fine though I can't check every file that changed due to limmited h/w, however I've checked enught to be petty happy withe hte code.. WARNING... struct lkm[mumble] has changed so it might be an idea to recompile any lkm related programs Revision Changes Path 1.49 +3 -3 src/sys/i386/i386/autoconf.c 1.114 +25 -131 src/sys/i386/i386/conf.c 1.40 +6 -6 src/sys/i386/i386/cons.c 1.158 +2 -2 src/sys/i386/i386/machdep.c 1.7 +6 -6 src/sys/kern/kern_conf.c 1.26 +3 -3 src/sys/kern/kern_lkm.c 1.16 +3 -3 src/sys/kern/kern_physio.c 1.73 +6 -6 src/sys/kern/tty.c 1.32 +2 -2 src/sys/kern/tty_pty.c 1.14 +1 -1 src/sys/kern/tty_snoop.c 1.12 +2 -2 src/sys/miscfs/kernfs/kernfs_vfsops.c 1.25 +17 -17 src/sys/miscfs/specfs/spec_vnops.c 1.40 +2 -2 src/sys/scsi/scsiconf.c 1.28 +5 -5 src/sys/sys/conf.h 1.11 +3 -3 src/sys/sys/lkm.h 1.18 +3 -3 src/sys/vm/device_pager.c 1.32 +3 -3 src/sys/vm/vm_swap.c From owner-cvs-sys Wed Dec 13 12:09:00 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA19743 for cvs-sys-outgoing; Wed, 13 Dec 1995 12:09:00 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA19735 Wed, 13 Dec 1995 12:08:55 -0800 (PST) Date: Wed, 13 Dec 1995 12:08:55 -0800 (PST) From: Peter Wemm Message-Id: <199512132008.MAA19735@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/13 12:08:55 Modified: sys/scsi scsiconf.c Log: Check before dereferencing a possible null pointer (cdevsw[i]->d_open) Revision Changes Path 1.41 +2 -2 src/sys/scsi/scsiconf.c From owner-cvs-sys Thu Dec 14 00:21:41 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA16050 for cvs-sys-outgoing; Thu, 14 Dec 1995 00:21:41 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA16043 Thu, 14 Dec 1995 00:21:37 -0800 (PST) Date: Thu, 14 Dec 1995 00:21:37 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512140821.AAA16043@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/include frame.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/14 00:21:35 Modified: sys/gnu/i386/fpemul fpu_entry.c sys/i386/i386 math_emulate.c trap.c sys/i386/include frame.h Log: Make math_emulators LKMable. Revision Changes Path 1.7 +57 -7 src/sys/gnu/i386/fpemul/fpu_entry.c 1.16 +52 -2 src/sys/i386/i386/math_emulate.c 1.65 +9 -7 src/sys/i386/i386/trap.c 1.11 +2 -2 src/sys/i386/include/frame.h From owner-cvs-sys Thu Dec 14 00:32:52 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA16957 for cvs-sys-outgoing; Thu, 14 Dec 1995 00:32:52 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA16950 Thu, 14 Dec 1995 00:32:47 -0800 (PST) Date: Thu, 14 Dec 1995 00:32:47 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512140832.AAA16950@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm swap_pager.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/14 00:32:47 Modified: sys/i386/i386 vm_machdep.c sys/kern kern_acct.c kern_descrip.c kern_devconf.c kern_exec.c kern_ktrace.c kern_lockf.c kern_malloc.c kern_proc.c kern_sig.c kern_sysctl.c kern_time.c subr_log.c subr_prf.c subr_prof.c subr_rlist.c sys_generic.c sys_socket.c sysv_msg.c sysv_sem.c sysv_shm.c tty.c tty_compat.c tty_pty.c tty_snoop.c tty_subr.c uipc_mbuf.c uipc_proto.c vfs_bio.c sys/sys ktrace.h lockf.h mbuf.h signalvar.h snoop.h socketvar.h tty.h sys/vm swap_pager.c Log: A Major staticize sweep. Generates a couple of warnings that I'll deal with later. A number of unused vars removed. A number of unused procs removed or #ifdefed. Revision Changes Path 1.49 +4 -36 src/sys/i386/i386/vm_machdep.c 1.10 +19 -10 src/sys/kern/kern_acct.c 1.23 +5 -4 src/sys/kern/kern_descrip.c 1.13 +2 -2 src/sys/kern/kern_devconf.c 1.30 +4 -3 src/sys/kern/kern_exec.c 1.9 +12 -7 src/sys/kern/kern_ktrace.c 1.5 +19 -9 src/sys/kern/kern_lockf.c 1.17 +3 -3 src/sys/kern/kern_malloc.c 1.14 +5 -5 src/sys/kern/kern_proc.c 1.16 +7 -5 src/sys/kern/kern_sig.c 1.57 +3 -3 src/sys/kern/kern_sysctl.c 1.13 +3 -3 src/sys/kern/kern_time.c 1.16 +2 -2 src/sys/kern/subr_log.c 1.19 +5 -5 src/sys/kern/subr_prf.c 1.14 +2 -2 src/sys/kern/subr_prof.c 1.15 +2 -2 src/sys/kern/subr_rlist.c 1.17 +5 -4 src/sys/kern/sys_generic.c 1.6 +10 -4 src/sys/kern/sys_socket.c 1.10 +5 -5 src/sys/kern/sysv_msg.c 1.11 +16 -14 src/sys/kern/sysv_sem.c 1.14 +5 -5 src/sys/kern/sysv_shm.c 1.74 +6 -23 src/sys/kern/tty.c 1.19 +4 -2 src/sys/kern/tty_compat.c 1.33 +12 -12 src/sys/kern/tty_pty.c 1.15 +2 -3 src/sys/kern/tty_snoop.c 1.19 +4 -4 src/sys/kern/tty_subr.c 1.17 +6 -4 src/sys/kern/uipc_mbuf.c 1.6 +2 -2 src/sys/kern/uipc_proto.c 1.79 +11 -9 src/sys/kern/vfs_bio.c 1.8 +1 -5 src/sys/sys/ktrace.h 1.3 +1 -11 src/sys/sys/lockf.h 1.12 +1 -2 src/sys/sys/mbuf.h 1.8 +2 -3 src/sys/sys/signalvar.h 1.10 +0 -1 src/sys/sys/snoop.h 1.8 +1 -4 src/sys/sys/socketvar.h 1.33 +1 -3 src/sys/sys/tty.h 1.56 +1 -14 src/sys/vm/swap_pager.c From owner-cvs-sys Thu Dec 14 01:55:26 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA21754 for cvs-sys-outgoing; Thu, 14 Dec 1995 01:55:26 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA21744 Thu, 14 Dec 1995 01:55:23 -0800 (PST) Date: Thu, 14 Dec 1995 01:55:23 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512140955.BAA21744@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm default_pager.c default_pager.h device_pager.c device_pager.h swap_pager.c swap_pager.h vm_extern.h vm_glue.c vm_map.c vm_map.h vm_meter.c vm_object.c vm_object.h vm_page.c vm_pageout.c vm_pager.c vm_swap.c vnode_pager.c vnode_pager.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/14 01:55:22 Modified: sys/gnu/i386/fpemul fpu_aux.c fpu_proto.h poly_atan.c reg_constant.c sys/i386/i386 conf.c sys/kern uipc_usrreq.c vfs_cache.c vnode_if.sh sys/miscfs/devfs devfs_proto.h devfs_vfsops.c devfs_vnops.c sys/miscfs/fifofs fifo.h fifo_vnops.c sys/miscfs/specfs spec_vnops.c specdev.h sys/net bpf.c bpfdesc.h if_ppp.c if_sl.c if_slvar.h if_sppp.h if_spppsubr.c ppp_tty.c radix.c radix.h raw_cb.c route.c route.h sys/netinet if_ether.c ip_icmp.c ip_input.c ip_mroute.c ip_var.h tcp_input.c udp_usrreq.c sys/pci aic7870.c bt9xx.c if_de.c if_vx.c meteor.c ncr.c pci.c pcisupport.c sys/scsi cd.c ch.c od.c pt.c scsi_base.c scsi_ioctl.c scsiconf.c scsiconf.h sctarg.c st.c worm.c sys/sys un.h sys/vm default_pager.c default_pager.h device_pager.c device_pager.h swap_pager.c swap_pager.h vm_extern.h vm_glue.c vm_map.c vm_map.h vm_meter.c vm_object.c vm_object.h vm_page.c vm_pageout.c vm_pager.c vm_swap.c vnode_pager.c vnode_pager.h Log: Another mega commit to staticize things. Revision Changes Path 1.4 +3 -4 src/sys/gnu/i386/fpemul/fpu_aux.c 1.4 +1 -3 src/sys/gnu/i386/fpemul/fpu_proto.h 1.5 +3 -2 src/sys/gnu/i386/fpemul/poly_atan.c 1.4 +3 -7 src/sys/gnu/i386/fpemul/reg_constant.c 1.115 +1 -7 src/sys/i386/i386/conf.c 1.13 +35 -21 src/sys/kern/uipc_usrreq.c 1.18 +10 -7 src/sys/kern/vfs_cache.c 1.9 +3 -3 src/sys/kern/vnode_if.sh 1.10 +0 -50 src/sys/miscfs/devfs/devfs_proto.h 1.7 +25 -13 src/sys/miscfs/devfs/devfs_vfsops.c 1.17 +82 -44 src/sys/miscfs/devfs/devfs_vnops.c 1.10 +1 -5 src/sys/miscfs/fifofs/fifo.h 1.15 +12 -7 src/sys/miscfs/fifofs/fifo_vnops.c 1.26 +5 -2 src/sys/miscfs/specfs/spec_vnops.c 1.8 +1 -6 src/sys/miscfs/specfs/specdev.h 1.21 +9 -18 src/sys/net/bpf.c 1.6 +1 -5 src/sys/net/bpfdesc.h 1.29 +6 -6 src/sys/net/if_ppp.c 1.35 +16 -8 src/sys/net/if_sl.c 1.8 +1 -11 src/sys/net/if_slvar.h 1.3 +0 -2 src/sys/net/if_sppp.h 1.10 +47 -30 src/sys/net/if_spppsubr.c 1.4 +16 -16 src/sys/net/ppp_tty.c 1.11 +22 -14 src/sys/net/radix.c 1.9 +3 -9 src/sys/net/radix.h 1.7 +3 -3 src/sys/net/raw_cb.c 1.29 +9 -6 src/sys/net/route.c 1.19 +1 -4 src/sys/net/route.h 1.23 +2 -2 src/sys/netinet/if_ether.c 1.16 +4 -3 src/sys/netinet/ip_icmp.c 1.30 +4 -4 src/sys/netinet/ip_input.c 1.27 +7 -7 src/sys/netinet/ip_mroute.c 1.18 +1 -2 src/sys/netinet/ip_var.h 1.34 +2 -2 src/sys/netinet/tcp_input.c 1.18 +4 -4 src/sys/netinet/udp_usrreq.c 1.20 +4 -4 src/sys/pci/aic7870.c 1.2 +2 -3 src/sys/pci/bt9xx.c 1.40 +2 -2 src/sys/pci/if_de.c 1.4 +16 -64 src/sys/pci/if_vx.c 1.10 +5 -5 src/sys/pci/meteor.c 1.51 +11 -10 src/sys/pci/ncr.c 1.37 +3 -3 src/sys/pci/pci.c 1.24 +5 -5 src/sys/pci/pcisupport.c 1.53 +2 -2 src/sys/scsi/cd.c 1.28 +19 -19 src/sys/scsi/ch.c 1.10 +4 -4 src/sys/scsi/od.c 1.11 +9 -9 src/sys/scsi/pt.c 1.33 +23 -8 src/sys/scsi/scsi_base.c 1.18 +4 -9 src/sys/scsi/scsi_ioctl.c 1.42 +14 -14 src/sys/scsi/scsiconf.c 1.34 +1 -7 src/sys/scsi/scsiconf.h 1.11 +9 -26 src/sys/scsi/sctarg.c 1.55 +24 -24 src/sys/scsi/st.c 1.16 +2 -3 src/sys/scsi/worm.c 1.8 +1 -13 src/sys/sys/un.h 1.5 +14 -6 src/sys/vm/default_pager.c 1.3 +1 -6 src/sys/vm/default_pager.h 1.19 +22 -9 src/sys/vm/device_pager.c 1.6 +1 -7 src/sys/vm/device_pager.h 1.57 +25 -13 src/sys/vm/swap_pager.c 1.13 +1 -3 src/sys/vm/swap_pager.h 1.22 +1 -3 src/sys/vm/vm_extern.h 1.33 +4 -2 src/sys/vm/vm_glue.c 1.30 +21 -10 src/sys/vm/vm_map.c 1.10 +1 -7 src/sys/vm/vm_map.h 1.13 +3 -3 src/sys/vm/vm_meter.c 1.60 +24 -16 src/sys/vm/vm_object.c 1.26 +1 -4 src/sys/vm/vm_object.h 1.43 +9 -14 src/sys/vm/vm_page.c 1.63 +4 -4 src/sys/vm/vm_pageout.c 1.21 +3 -4 src/sys/vm/vm_pager.c 1.33 +4 -2 src/sys/vm/vm_swap.c 1.56 +18 -14 src/sys/vm/vnode_pager.c 1.8 +2 -6 src/sys/vm/vnode_pager.h From owner-cvs-sys Thu Dec 14 06:19:22 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA04038 for cvs-sys-outgoing; Thu, 14 Dec 1995 06:19:22 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA04031 Thu, 14 Dec 1995 06:19:20 -0800 (PST) Date: Thu, 14 Dec 1995 06:19:20 -0800 (PST) From: Peter Wemm Message-Id: <199512141419.GAA04031@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/pci bt9xx.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 06:19:20 Modified: sys/i386/eisa bt74x.c sys/i386/isa bt5xx-445.c sys/i386/scsi bt.c btreg.h sys/pci bt9xx.c Log: Change the generic "btintr" function's name to "bt_intr" - the same as all the other bt_XXX() functions in i386/scsi/bt*. This the important effect of forcing a link error if the user is still using the old "vector btintr" which is dangerously wrong after Justin's updates to the driver. The correct isa vector line for the bt driver is "vector bt_isa_intr". Justin mentioned this in the commit message and updated LINT and GENERIC. This change is to enforce that.. :-) Revision Changes Path 1.2 +4 -4 src/sys/i386/eisa/bt74x.c 1.2 +2 -2 src/sys/i386/isa/bt5xx-445.c 1.3 +5 -5 src/sys/i386/scsi/bt.c 1.2 +2 -2 src/sys/i386/scsi/btreg.h 1.3 +2 -2 src/sys/pci/bt9xx.c From owner-cvs-sys Thu Dec 14 06:25:07 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA04416 for cvs-sys-outgoing; Thu, 14 Dec 1995 06:25:07 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA04409 Thu, 14 Dec 1995 06:25:05 -0800 (PST) Date: Thu, 14 Dec 1995 06:25:05 -0800 (PST) From: Peter Wemm Message-Id: <199512141425.GAA04409@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/ufs/mfs mfs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 06:25:04 Modified: sys/ufs/mfs mfs_vfsops.c Log: *hack alert*! :-) This adds an option to the MFS_ROOT code so that it is possible to boot a kernel with an empty in-core MFS image, and have it load the image from floppy directly. This is admittedly a hack and would be better replaced by a self-loading ram-disk. Revision Changes Path 1.18 +94 -1 src/sys/ufs/mfs/mfs_vfsops.c From owner-cvs-sys Thu Dec 14 06:29:14 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA04528 for cvs-sys-outgoing; Thu, 14 Dec 1995 06:29:14 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA04521 Thu, 14 Dec 1995 06:29:13 -0800 (PST) Date: Thu, 14 Dec 1995 06:29:13 -0800 (PST) From: Peter Wemm Message-Id: <199512141429.GAA04521@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa si.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 06:29:12 Modified: sys/i386/isa si.c Log: Update the skeleton DEVFS code to match reality a little closer.. :-) Revision Changes Path 1.29 +11 -20 src/sys/i386/isa/si.c From owner-cvs-sys Thu Dec 14 06:35:41 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA04881 for cvs-sys-outgoing; Thu, 14 Dec 1995 06:35:41 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA04874 Thu, 14 Dec 1995 06:35:40 -0800 (PST) Date: Thu, 14 Dec 1995 06:35:40 -0800 (PST) From: Peter Wemm Message-Id: <199512141435.GAA04874@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 exception.s machdep.c trap.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 06:35:39 Modified: sys/i386/conf GENERIC LINT files.i386 sys/i386/i386 exception.s machdep.c trap.c Log: GENERIC/LINT: Remove redundant quoting on some option lines. LINT: add a couple of new/missing/undocumented options files.i386: add linux code so that you can compile a kernel with static linux emulation ("options LINUX") i386/*: use #if defined(COMPAT_LINUX) || defined(LINUX) to enable static support of linux emulation (just like "IBCS2" makes ibcs2 static) The main thing this is going to make obvious, is that the LINUX code (when compiled from LINT) has a lot of warnings, some of which dont look too pleasant.. Revision Changes Path 1.55 +4 -4 src/sys/i386/conf/GENERIC 1.222 +19 -16 src/sys/i386/conf/LINT 1.118 +12 -1 src/sys/i386/conf/files.i386 1.12 +3 -3 src/sys/i386/i386/exception.s 1.159 +3 -3 src/sys/i386/i386/machdep.c 1.66 +3 -3 src/sys/i386/i386/trap.c From owner-cvs-sys Thu Dec 14 06:59:33 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA06088 for cvs-sys-outgoing; Thu, 14 Dec 1995 06:59:33 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA06074 Thu, 14 Dec 1995 06:59:20 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id BAA18909; Fri, 15 Dec 1995 01:55:36 +1100 Date: Fri, 15 Dec 1995 01:55:36 +1100 From: Bruce Evans Message-Id: <199512141455.BAA18909@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pci bt9xx.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > Change the generic "btintr" function's name to "bt_intr" - the same as > all the other bt_XXX() functions in i386/scsi/bt*. > > This the important effect of forcing a link error if the user is > still using the old "vector btintr" which is dangerously wrong > after Justin's updates to the driver. > > The correct isa vector line for the bt driver is "vector bt_isa_intr". > Justin mentioned this in the commit message and updated LINT and > GENERIC. This change is to enforce that.. :-) I think btintr should have been left as btintr so that old config files don't need to be changed. Only config [-n :-] needs to be run. Can we agree on a naming scheme for drivers? I'd like all routines in module xxx to begin with "xxx" (not "xxx_", unless one is used for functions and the other for variables). Bruce From owner-cvs-sys Thu Dec 14 07:04:32 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA06532 for cvs-sys-outgoing; Thu, 14 Dec 1995 07:04:32 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA06523 Thu, 14 Dec 1995 07:04:24 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id BAA19025; Fri, 15 Dec 1995 01:59:35 +1100 Date: Fri, 15 Dec 1995 01:59:35 +1100 From: Bruce Evans Message-Id: <199512141459.BAA19025@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 exception.s machdep.c trap.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > files.i386: add linux code so that you can compile a kernel with static > linux emulation ("options LINUX") > i386/*: use #if defined(COMPAT_LINUX) || defined(LINUX) to enable static > support of linux emulation (just like "IBCS2" makes ibcs2 static) > > The main thing this is going to make obvious, is that the LINUX code > (when compiled from LINT) has a lot of warnings, some of which dont look > too pleasant.. I was leaving it until last since it is easy not to notice it in /usr/src/lkm :-), partly because bsd.kmod.mk is missing most of the warning flags that are used for kernels. Bruce From owner-cvs-sys Thu Dec 14 07:06:07 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA06624 for cvs-sys-outgoing; Thu, 14 Dec 1995 07:06:07 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA06616 Thu, 14 Dec 1995 07:05:59 -0800 (PST) Received: (from peter@localhost) by jhome.DIALix.COM (8.7.3/8.7.3) id XAA07738; Thu, 14 Dec 1995 23:05:49 +0800 (WST) Date: Thu, 14 Dec 1995 23:05:48 +0800 (WST) From: Peter Wemm To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pci bt9xx.c In-Reply-To: <199512141455.BAA18909@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk On Fri, 15 Dec 1995, Bruce Evans wrote: > > The correct isa vector line for the bt driver is "vector bt_isa_intr". > > Justin mentioned this in the commit message and updated LINT and > > GENERIC. This change is to enforce that.. :-) > > I think btintr should have been left as btintr so that old config files > don't need to be changed. Only config [-n :-] needs to be run. I guess bt_isa_intr(int) could be renamed to btintr(int) now that bt_intr(void *) is out of the way... > Can we agree on a naming scheme for drivers? I'd like all routines in > module xxx to begin with "xxx" (not "xxx_", unless one is used for > functions and the other for variables). It almost looks like there's a mini-convention of having driver "xx"'s devsw entry points called "xxFUNC" and the internal or otherwise referenced entry points called "xx_FUNC". I dont know if that makes sense or not, but I've seen that in a lot of drivers. As for having a convention.. Yeah, why not.. As long as it's the same as mine.... :-) :-) -Peter > Bruce > From owner-cvs-sys Thu Dec 14 07:40:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA08842 for cvs-sys-outgoing; Thu, 14 Dec 1995 07:40:57 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA08760 Thu, 14 Dec 1995 07:40:15 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA14875; Thu, 14 Dec 1995 10:40:04 -0500 Date: Thu, 14 Dec 1995 10:40:04 -0500 From: "Garrett A. Wollman" Message-Id: <9512141540.AA14875@halloran-eldar.lcs.mit.edu> To: Bruce Evans Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pci bt9xx.c In-Reply-To: <199512141455.BAA18909@godzilla.zeta.org.au> References: <199512141455.BAA18909@godzilla.zeta.org.au> Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk < said: > Can we agree on a naming scheme for drivers? I'd like all routines in > module xxx to begin with "xxx" (not "xxx_", unless one is used for > functions and the other for variables). I doubt it, particularly so long as a lot of outside people are involved in driver-writing. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-cvs-sys Thu Dec 14 10:26:59 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA24782 for cvs-sys-outgoing; Thu, 14 Dec 1995 10:26:59 -0800 (PST) Received: (from julian@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA24773 Thu, 14 Dec 1995 10:26:57 -0800 (PST) Date: Thu, 14 Dec 1995 10:26:57 -0800 (PST) From: Julian Elischer Message-Id: <199512141826.KAA24773@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/miscfs/kernfs kernfs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk julian 95/12/14 10:26:57 Modified: sys/miscfs/kernfs kernfs_vfsops.c Log: another case where cdevsw becoming a pointer makes it neccesary to check if it's NULL Revision Changes Path 1.13 +6 -2 src/sys/miscfs/kernfs/kernfs_vfsops.c From owner-cvs-sys Thu Dec 14 11:04:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA28220 for cvs-sys-outgoing; Thu, 14 Dec 1995 11:04:16 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA28211 Thu, 14 Dec 1995 11:04:13 -0800 (PST) Date: Thu, 14 Dec 1995 11:04:13 -0800 (PST) From: Bruce Evans Message-Id: <199512141904.LAA28211@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/miscfs/devfs devfs_proto.h devfs_vfsops.c devfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 11:04:12 Modified: sys/miscfs/devfs devfs_proto.h devfs_vfsops.c devfs_vnops.c Log: Restored lost prototypes. Revision Changes Path 1.11 +1 -0 src/sys/miscfs/devfs/devfs_proto.h 1.8 +2 -1 src/sys/miscfs/devfs/devfs_vfsops.c 1.18 +2 -2 src/sys/miscfs/devfs/devfs_vnops.c From owner-cvs-sys Thu Dec 14 11:13:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA29391 for cvs-sys-outgoing; Thu, 14 Dec 1995 11:13:42 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA29376 Thu, 14 Dec 1995 11:13:38 -0800 (PST) Date: Thu, 14 Dec 1995 11:13:38 -0800 (PST) From: Bruce Evans Message-Id: <199512141913.LAA29376@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi su.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 11:13:37 Modified: sys/scsi su.c Log: The change of [cb]devsw was missed here. Revision Changes Path 1.13 +3 -3 src/sys/scsi/su.c From owner-cvs-sys Thu Dec 14 11:38:44 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA02402 for cvs-sys-outgoing; Thu, 14 Dec 1995 11:38:44 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA02390 Thu, 14 Dec 1995 11:38:42 -0800 (PST) Date: Thu, 14 Dec 1995 11:38:42 -0800 (PST) From: Bruce Evans Message-Id: <199512141938.LAA02390@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.h sd.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 11:38:41 Modified: sys/scsi scsiconf.h sd.c Log: Declared functions as static in their definitions as well as in their prototypes. Revision Changes Path 1.35 +7 -9 src/sys/scsi/scsiconf.h 1.82 +10 -11 src/sys/scsi/sd.c From owner-cvs-sys Thu Dec 14 11:44:33 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA03206 for cvs-sys-outgoing; Thu, 14 Dec 1995 11:44:33 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA03199 Thu, 14 Dec 1995 11:44:30 -0800 (PST) Date: Thu, 14 Dec 1995 11:44:30 -0800 (PST) From: Bruce Evans Message-Id: <199512141944.LAA03199@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi scsi_sense.c scsiconf.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 11:44:30 Modified: sys/scsi scsi_sense.c scsiconf.c Log: Added prototypes. Revision Changes Path 1.5 +2 -0 src/sys/scsi/scsi_sense.c 1.43 +2 -1 src/sys/scsi/scsiconf.c From owner-cvs-sys Thu Dec 14 11:51:19 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA03972 for cvs-sys-outgoing; Thu, 14 Dec 1995 11:51:19 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA03963 Thu, 14 Dec 1995 11:51:17 -0800 (PST) Date: Thu, 14 Dec 1995 11:51:17 -0800 (PST) From: Bruce Evans Message-Id: <199512141951.LAA03963@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi ch.c pt.c sctarg.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 11:51:16 Modified: sys/scsi ch.c pt.c sctarg.c Log: Moved prototypes to better places. Fixed indentation of some function headers. Revision Changes Path 1.29 +16 -18 src/sys/scsi/ch.c 1.12 +5 -6 src/sys/scsi/pt.c 1.12 +7 -7 src/sys/scsi/sctarg.c From owner-cvs-sys Thu Dec 14 12:16:19 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA07025 for cvs-sys-outgoing; Thu, 14 Dec 1995 12:16:19 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA07015 Thu, 14 Dec 1995 12:16:17 -0800 (PST) Date: Thu, 14 Dec 1995 12:16:17 -0800 (PST) From: Bruce Evans Message-Id: <199512142016.MAA07015@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/ufs/mfs mfs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 12:16:17 Modified: sys/ufs/mfs mfs_vfsops.c Log: Included and updated to indirect devswitches so that this compiles again, and added a prototype. Revision Changes Path 1.19 +6 -4 src/sys/ufs/mfs/mfs_vfsops.c From owner-cvs-sys Thu Dec 14 12:22:01 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA07839 for cvs-sys-outgoing; Thu, 14 Dec 1995 12:22:01 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA07831 Thu, 14 Dec 1995 12:22:00 -0800 (PST) Date: Thu, 14 Dec 1995 12:22:00 -0800 (PST) From: Bruce Evans Message-Id: <199512142022.MAA07831@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 math_emulate.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 12:21:59 Modified: sys/gnu/i386/fpemul fpu_entry.c sys/i386/i386 math_emulate.c Log: Fixed the type of some sysinit functions. Revision Changes Path 1.8 +2 -2 src/sys/gnu/i386/fpemul/fpu_entry.c 1.17 +2 -2 src/sys/i386/i386/math_emulate.c From owner-cvs-sys Thu Dec 14 14:03:18 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA19115 for cvs-sys-outgoing; Thu, 14 Dec 1995 14:03:18 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA19103 Thu, 14 Dec 1995 14:03:16 -0800 (PST) Date: Thu, 14 Dec 1995 14:03:16 -0800 (PST) From: Bruce Evans Message-Id: <199512142203.OAA19103@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys conf.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 14:03:14 Modified: sys/i386/i386 conf.c sys/i386/isa/pcvt pcvt_drv.c sys/i386/isa syscons.c sys/sys conf.h Log: Removed my devsw access functions [un]register_cdev() and getmajorbyname() which were a better (sigh) temporary interface to the going-away devswitches. Note that SYSINIT()s to initialize the devswitches would be fatal in syscons.c and pcvt_drv.c (and are bogus elsewhere) because they get called independently of whether the device is attached; thus devices that share a major clobber each other's devswitch entries until the last one wins. conf.c: Removed stale #includes and comments. Revision Changes Path 1.116 +4 -115 src/sys/i386/i386/conf.c 1.18 +8 -4 src/sys/i386/isa/pcvt/pcvt_drv.c 1.138 +9 -6 src/sys/i386/isa/syscons.c 1.29 +1 -4 src/sys/sys/conf.h From owner-cvs-sys Thu Dec 14 14:33:01 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA22402 for cvs-sys-outgoing; Thu, 14 Dec 1995 14:33:01 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA22387 Thu, 14 Dec 1995 14:32:56 -0800 (PST) Date: Thu, 14 Dec 1995 14:32:56 -0800 (PST) From: Bruce Evans Message-Id: <199512142232.OAA22387@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys tty.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 14:32:54 Modified: sys/kern tty.c sys/sys tty.h Log: Restored unused function ttrstrt(). It would be used if the low level drivers supported inter-character delays. Revision Changes Path 1.75 +27 -1 src/sys/kern/tty.c 1.34 +2 -1 src/sys/sys/tty.h From owner-cvs-sys Thu Dec 14 14:35:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA22764 for cvs-sys-outgoing; Thu, 14 Dec 1995 14:35:57 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA22752 Thu, 14 Dec 1995 14:35:52 -0800 (PST) Date: Thu, 14 Dec 1995 14:35:52 -0800 (PST) From: Bruce Evans Message-Id: <199512142235.OAA22752@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/linux imgact_linux.c linux_misc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 14:35:50 Modified: sys/i386/linux imgact_linux.c linux_misc.c Log: Restored a vm #include. Revision Changes Path 1.6 +2 -1 src/sys/i386/linux/imgact_linux.c 1.7 +2 -1 src/sys/i386/linux/linux_misc.c From owner-cvs-sys Thu Dec 14 14:51:19 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA24360 for cvs-sys-outgoing; Thu, 14 Dec 1995 14:51:19 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA24350 Thu, 14 Dec 1995 14:51:16 -0800 (PST) Date: Thu, 14 Dec 1995 14:51:16 -0800 (PST) From: Bruce Evans Message-Id: <199512142251.OAA24350@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys socketvar.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 14:51:15 Modified: sys/kern uipc_socket.c uipc_socket2.c uipc_syscalls.c sys/sys socketvar.h Log: Nuked ambiguous sleep message strings: old: new: netcls[] = "netcls" "soclos" netcon[] = "netcon" "accept", "connec" netio[] = "netio" "sblock", "sbwait" Revision Changes Path 1.13 +2 -2 src/sys/kern/uipc_socket.c 1.7 +3 -8 src/sys/kern/uipc_socket2.c 1.10 +3 -3 src/sys/kern/uipc_syscalls.c 1.9 +1 -4 src/sys/sys/socketvar.h From owner-cvs-sys Thu Dec 14 15:01:56 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA25484 for cvs-sys-outgoing; Thu, 14 Dec 1995 15:01:56 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA25476 Thu, 14 Dec 1995 15:01:53 -0800 (PST) Date: Thu, 14 Dec 1995 15:01:53 -0800 (PST) From: Bruce Evans Message-Id: <199512142301.PAA25476@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 15:01:52 Modified: sys/kern tty_subr.c sys/i386/isa clock.c Log: Fixed staticization of DDB functions. Revision Changes Path 1.20 +2 -2 src/sys/kern/tty_subr.c 1.41 +2 -2 src/sys/i386/isa/clock.c From owner-cvs-sys Thu Dec 14 15:23:52 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27695 for cvs-sys-outgoing; Thu, 14 Dec 1995 15:23:52 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27682 Thu, 14 Dec 1995 15:23:50 -0800 (PST) Date: Thu, 14 Dec 1995 15:23:50 -0800 (PST) From: Bruce Evans Message-Id: <199512142323.PAA27682@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/eisa aic7770.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 15:23:49 Modified: sys/i386/eisa aic7770.c Log: Added a prototype. Revision Changes Path 1.20 +3 -1 src/sys/i386/eisa/aic7770.c From owner-cvs-sys Thu Dec 14 15:26:59 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA28213 for cvs-sys-outgoing; Thu, 14 Dec 1995 15:26:59 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA28204 Thu, 14 Dec 1995 15:26:56 -0800 (PST) Date: Thu, 14 Dec 1995 15:26:56 -0800 (PST) From: Bruce Evans Message-Id: <199512142326.PAA28204@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/eisa aha1742.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 15:26:56 Modified: sys/i386/eisa aha1742.c Log: Completed function declarations and added prototypes. Sorted prototypes. Revision Changes Path 1.45 +32 -14 src/sys/i386/eisa/aha1742.c From owner-cvs-sys Thu Dec 14 15:35:25 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA29588 for cvs-sys-outgoing; Thu, 14 Dec 1995 15:35:25 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA29573 Thu, 14 Dec 1995 15:35:22 -0800 (PST) Date: Thu, 14 Dec 1995 15:35:22 -0800 (PST) From: Bruce Evans Message-Id: <199512142335.PAA29573@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 autoconf.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 15:35:20 Modified: sys/i386/i386 autoconf.c Log: Moved some more prototypes outside of ifdefs and grouped them together. Revision Changes Path 1.50 +6 -6 src/sys/i386/i386/autoconf.c From owner-cvs-sys Thu Dec 14 15:50:58 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA01280 for cvs-sys-outgoing; Thu, 14 Dec 1995 15:50:58 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA01273 Thu, 14 Dec 1995 15:50:56 -0800 (PST) Date: Thu, 14 Dec 1995 15:50:56 -0800 (PST) From: Bruce Evans Message-Id: <199512142350.PAA01273@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 mem.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 15:50:56 Modified: sys/i386/i386 mem.c Log: Added a prototype. Revision Changes Path 1.26 +3 -1 src/sys/i386/i386/mem.c From owner-cvs-sys Thu Dec 14 15:59:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA02151 for cvs-sys-outgoing; Thu, 14 Dec 1995 15:59:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA02142 Thu, 14 Dec 1995 15:59:06 -0800 (PST) Date: Thu, 14 Dec 1995 15:59:06 -0800 (PST) From: Bruce Evans Message-Id: <199512142359.PAA02142@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 15:59:06 Modified: sys/i386/i386 pmap.c Log: Added a prototype. Merged prototype lists. Revision Changes Path 1.70 +10 -9 src/sys/i386/i386/pmap.c From owner-cvs-sys Thu Dec 14 16:11:30 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA03758 for cvs-sys-outgoing; Thu, 14 Dec 1995 16:11:30 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA03751 Thu, 14 Dec 1995 16:11:29 -0800 (PST) Date: Thu, 14 Dec 1995 16:11:29 -0800 (PST) From: Bruce Evans Message-Id: <199512150011.QAA03751@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa aha1542.c ultra14f.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 16:11:28 Modified: sys/i386/isa aha1542.c ultra14f.c Log: Completed function declarations and added prototypes. Sorted prototypes. Revision Changes Path 1.53 +28 -12 src/sys/i386/isa/aha1542.c 1.43 +21 -11 src/sys/i386/isa/ultra14f.c From owner-cvs-sys Thu Dec 14 16:29:38 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA05033 for cvs-sys-outgoing; Thu, 14 Dec 1995 16:29:38 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA05014 Thu, 14 Dec 1995 16:29:33 -0800 (PST) Date: Thu, 14 Dec 1995 16:29:33 -0800 (PST) From: Bruce Evans Message-Id: <199512150029.QAA05014@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa asc.c ctx.c gsc.c mse.c spigot.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 16:29:33 Modified: sys/i386/isa asc.c ctx.c gsc.c mse.c spigot.c Log: Removed duplicated #includes of Revision Changes Path 1.12 +1 -2 src/sys/i386/isa/asc.c 1.15 +1 -2 src/sys/i386/isa/ctx.c 1.14 +0 -1 src/sys/i386/isa/gsc.c 1.23 +1 -2 src/sys/i386/isa/mse.c 1.21 +0 -1 src/sys/i386/isa/spigot.c From owner-cvs-sys Thu Dec 14 16:40:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA05773 for cvs-sys-outgoing; Thu, 14 Dec 1995 16:40:45 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA05759 Thu, 14 Dec 1995 16:40:42 -0800 (PST) Date: Thu, 14 Dec 1995 16:40:42 -0800 (PST) From: Bruce Evans Message-Id: <199512150040.QAA05759@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa psm.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 16:40:40 Modified: sys/i386/isa psm.c Log: Removed unused #includes. Revision Changes Path 1.13 +0 -8 src/sys/i386/isa/psm.c From owner-cvs-sys Thu Dec 14 16:54:46 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA06649 for cvs-sys-outgoing; Thu, 14 Dec 1995 16:54:46 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA06640 Thu, 14 Dec 1995 16:54:44 -0800 (PST) Date: Thu, 14 Dec 1995 16:54:44 -0800 (PST) From: Bruce Evans Message-Id: <199512150054.QAA06640@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa aic6360.c atapi.c ctx.c cx.c ft.c gpib.c if_ar.c if_cx.c if_ed.c if_eg.c if_el.c if_ep.c if_fe.c if_ix.c if_le.c if_lnc.c joy.c mse.c pcaudio.c spkr.c tw.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 16:54:43 Modified: sys/i386/isa aic6360.c atapi.c ctx.c cx.c ft.c gpib.c if_ar.c if_cx.c if_ed.c if_eg.c if_el.c if_ep.c if_fe.c if_ix.c if_le.c if_lnc.c joy.c mse.c pcaudio.c spkr.c tw.c Log: Completed function declarations and/or added prototypes and/or added #includes to get prototypes. Revision Changes Path 1.17 +11 -4 src/sys/i386/isa/aic6360.c 1.9 +7 -2 src/sys/i386/isa/atapi.c 1.16 +3 -2 src/sys/i386/isa/ctx.c 1.23 +8 -2 src/sys/i386/isa/cx.c 1.25 +4 -1 src/sys/i386/isa/ft.c 1.15 +1 -1 src/sys/i386/isa/gpib.c 1.4 +5 -1 src/sys/i386/isa/if_ar.c 1.12 +3 -0 src/sys/i386/isa/if_cx.c 1.91 +19 -11 src/sys/i386/isa/if_ed.c 1.10 +9 -1 src/sys/i386/isa/if_eg.c 1.21 +2 -1 src/sys/i386/isa/if_el.c 1.37 +6 -1 src/sys/i386/isa/if_ep.c 1.9 +1 -0 src/sys/i386/isa/if_fe.c 1.17 +2 -1 src/sys/i386/isa/if_ix.c 1.27 +2 -1 src/sys/i386/isa/if_le.c 1.17 +27 -14 src/sys/i386/isa/if_lnc.c 1.15 +2 -3 src/sys/i386/isa/joy.c 1.24 +20 -12 src/sys/i386/isa/mse.c 1.25 +4 -1 src/sys/i386/isa/pcaudio.c 1.23 +8 -1 src/sys/i386/isa/spkr.c 1.15 +5 -4 src/sys/i386/isa/tw.c From owner-cvs-sys Thu Dec 14 17:01:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA07343 for cvs-sys-outgoing; Thu, 14 Dec 1995 17:01:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA07333 Thu, 14 Dec 1995 17:01:05 -0800 (PST) Date: Thu, 14 Dec 1995 17:01:05 -0800 (PST) From: Bruce Evans Message-Id: <199512150101.RAA07333@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 17:01:03 Modified: sys/kern tty.c Log: Disabled the sleep in ttyflush(). It can't work in general because ttyflush() might be called from an interrupt handler. This fixes panics in IXOFF mode at the cost of more failures to send the START character to exit from IXOFF mode. Revision Changes Path 1.76 +15 -1 src/sys/kern/tty.c From owner-cvs-sys Thu Dec 14 18:18:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA12885 for cvs-sys-outgoing; Thu, 14 Dec 1995 18:18:11 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA12877 Thu, 14 Dec 1995 18:18:10 -0800 (PST) Date: Thu, 14 Dec 1995 18:18:10 -0800 (PST) From: Bruce Evans Message-Id: <199512150218.SAA12877@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/14 18:18:08 Modified: sys/kern tty.c Log: Changed the maximum output queue count from (TTMAXHIWAT + 200) to (TTMAXHIWAT + OBUFSIZ + 100) in case someone changes OBUFSIZ. 200 was to allow 100 above high water for ordinary writes and another 100 for kernel printfs. Increased the reserved output queue count from 512 to the maximum output queue count. This prevents exhaustion of clists and increases the output throughput for 8 cy lines by almost a factor of 2 (on a system where there aren't many other open ttys so clists become exhausted after about 4 active lines (or earlier if TTMAXHIWAT is increased :-]). ttwrite() behaves very badly when clists are exhausted: (1) it sleeps on lbolt instead of on TSA_OLOWAT(tp). This could be fixed adequately by sleeping on TSA_OLOWAT(tp). The nonzero reserved count guaratees that space will become available independent of other ttys, and a reserved count of 512 is barely enough for efficiency. (2) it drops output if space runs out in the middle of special output processing. This is too hard to fix without hardening the reserved count. The watermark processing guarantees that space doesn't run out only if the advertised space is guaranteed. Increasing the reserved output queue count defeats the point of dynamic allocation of clists. Previously, about 2K of memory per tty was reserved (the raw queue was already reserved). Now, about 3.5K is reserved. Reserving everything would take a whole 0.5K more. Revision Changes Path 1.77 +3 -2 src/sys/kern/tty.c From owner-cvs-sys Thu Dec 14 18:57:44 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA15585 for cvs-sys-outgoing; Thu, 14 Dec 1995 18:57:44 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA15578 Thu, 14 Dec 1995 18:57:42 -0800 (PST) Date: Thu, 14 Dec 1995 18:57:42 -0800 (PST) From: Peter Wemm Message-Id: <199512150257.SAA15578@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern imgact_aout.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 18:57:41 Modified: sys/kern imgact_aout.c Log: Oops. I forgot the change to this file for supporting static configuration of the linux emulator. Revision Changes Path 1.21 +3 -3 src/sys/kern/imgact_aout.c From owner-cvs-sys Thu Dec 14 19:07:06 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA16065 for cvs-sys-outgoing; Thu, 14 Dec 1995 19:07:06 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA16049 Thu, 14 Dec 1995 19:07:00 -0800 (PST) Date: Thu, 14 Dec 1995 19:07:00 -0800 (PST) From: Peter Wemm Message-Id: <199512150307.TAA16049@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_file.c linux_ioctl.c linux_misc.c linux_signal.c linux_socket.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 19:06:59 Modified: sys/i386/linux linux_file.c linux_ioctl.c linux_misc.c linux_signal.c linux_socket.c Log: Clean up some warnings by using the generated structures in for passing to the bsd system calls, rather than inveninting our own equivalent structures. Revision Changes Path 1.5 +14 -16 src/sys/i386/linux/linux_file.c 1.3 +14 -14 src/sys/i386/linux/linux_ioctl.c 1.8 +23 -24 src/sys/i386/linux/linux_misc.c 1.3 +11 -9 src/sys/i386/linux/linux_signal.c 1.3 +31 -31 src/sys/i386/linux/linux_socket.c From owner-cvs-sys Thu Dec 14 19:23:28 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA16989 for cvs-sys-outgoing; Thu, 14 Dec 1995 19:23:28 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA16973 Thu, 14 Dec 1995 19:23:19 -0800 (PST) Received: (from peter@localhost) by jhome.DIALix.COM (8.7.3/8.7.3) id LAA01391; Fri, 15 Dec 1995 11:22:38 +0800 (WST) Date: Fri, 15 Dec 1995 11:22:38 +0800 (WST) From: Peter Wemm To: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/linux linux_file.c linux_ioctl.c linux_misc.c linux_signal.c linux_socket.c In-Reply-To: <199512150307.TAA16049@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk On Thu, 14 Dec 1995, Peter Wemm wrote: > > peter 95/12/14 19:06:59 > > Modified: sys/i386/linux linux_file.c linux_ioctl.c linux_misc.c > linux_signal.c linux_socket.c > Log: > Clean up some warnings by using the generated structures in > for passing to the bsd system calls, rather than inveninting our own > equivalent structures. I've not done linux_ipc.c yet, because on my system, I've copied the NetBSD direct shm*, sem* and msg* system call entry points, and got the prototypes for free. Adding the direct entry point syscalls is quite easy and costs nothing. Additionally, it'd one step closer to NetBSD binary support........ -Peter From owner-cvs-sys Thu Dec 14 19:28:44 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA17406 for cvs-sys-outgoing; Thu, 14 Dec 1995 19:28:44 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA17399 Thu, 14 Dec 1995 19:28:40 -0800 (PST) Date: Thu, 14 Dec 1995 19:28:40 -0800 (PST) From: Peter Wemm Message-Id: <199512150328.TAA17399@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_misc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 19:28:40 Modified: sys/i386/linux linux_misc.c Log: Initial attempt at getting Linux QMAGIC shared lib support. I have successfully run linux netscape 2.0b3 with a QMAGIC ld.so and libc/libm that I found on some linux machine that I _think_ is running slackware 3.0. There are still problems.. ld.so claims the libraries are the wrong format, but it still runs anyway.. :-/ The QMAGIC ld.so also screams about needing ld.so.cache, and running a linux ldconfig is quite educational. You soon learn to run "chroot /compat/linux /bin/ldconfig" where ldconfig is living in /compat/linux/bin. :-] (Lets just say that it puts loads of symlinks in /usr/lib otherwise :-) Revision Changes Path 1.9 +4 -4 src/sys/i386/linux/linux_misc.c From owner-cvs-sys Thu Dec 14 19:36:36 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA18015 for cvs-sys-outgoing; Thu, 14 Dec 1995 19:36:36 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA18006 Thu, 14 Dec 1995 19:36:30 -0800 (PST) Date: Thu, 14 Dec 1995 19:36:30 -0800 (PST) From: Peter Wemm Message-Id: <199512150336.TAA18006@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 19:36:29 Modified: sys/ufs/ffs ffs_alloc.c Log: Silence a harmless warning... Revision Changes Path 1.21 +3 -2 src/sys/ufs/ffs/ffs_alloc.c From owner-cvs-sys Thu Dec 14 20:22:49 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA20671 for cvs-sys-outgoing; Thu, 14 Dec 1995 20:22:49 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA20664 Thu, 14 Dec 1995 20:22:46 -0800 (PST) Date: Thu, 14 Dec 1995 20:22:46 -0800 (PST) From: Peter Wemm Message-Id: <199512150422.UAA20664@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys types.h ipc.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 20:22:44 Modified: sys/sys types.h ipc.h Log: move typedef for key_t from sys/ipc.h to sys/types.h, as suggested in the comment in ipc.h. This is so that prototypes for the sysv ipc functions can be processed without having to #include in everything.. Revision Changes Path 1.8 +2 -1 src/sys/sys/types.h 1.6 +1 -3 src/sys/sys/ipc.h From owner-cvs-sys Thu Dec 14 20:36:15 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA21485 for cvs-sys-outgoing; Thu, 14 Dec 1995 20:36:15 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA21477 Thu, 14 Dec 1995 20:36:10 -0800 (PST) Date: Thu, 14 Dec 1995 20:36:10 -0800 (PST) From: Peter Wemm Message-Id: <199512150436.UAA21477@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern syscalls.master Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 20:36:08 Modified: sys/kern syscalls.master Log: Add the direct sysv shm/sem/msg system calls, in the same way as NetBSD. This costs very little, we gain prototypes for the calls from the linux emulator, and this is one less thing in the way of NetBSD binary support. Revision Changes Path 1.20 +44 -1 src/sys/kern/syscalls.master From owner-cvs-sys Thu Dec 14 20:46:43 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA22173 for cvs-sys-outgoing; Thu, 14 Dec 1995 20:46:43 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA22158 Thu, 14 Dec 1995 20:46:38 -0800 (PST) Date: Thu, 14 Dec 1995 20:46:38 -0800 (PST) From: Peter Wemm Message-Id: <199512150446.UAA22158@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern syscalls.c init_sysent.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 20:46:36 Modified: sys/sys syscall-hide.h syscall.h sysproto.h sys/kern syscalls.c init_sysent.c Log: Regenerated from syscalls.master... Revision Changes Path 1.17 +34 -1 src/sys/sys/syscall-hide.h 1.23 +14 -2 src/sys/sys/syscall.h 1.5 +99 -1 src/sys/sys/sysproto.h 1.23 +34 -1 src/sys/kern/syscalls.c 1.26 +34 -1 src/sys/kern/init_sysent.c From owner-cvs-sys Thu Dec 14 21:00:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA23084 for cvs-sys-outgoing; Thu, 14 Dec 1995 21:00:39 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA23076 Thu, 14 Dec 1995 21:00:35 -0800 (PST) Date: Thu, 14 Dec 1995 21:00:35 -0800 (PST) From: Peter Wemm Message-Id: <199512150500.VAA23076@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern sysv_msg.c sysv_sem.c sysv_shm.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 21:00:34 Modified: sys/kern sysv_msg.c sysv_sem.c sysv_shm.c Log: Update sysv_*.c to get their argument definitions from sysproto.h Revision Changes Path 1.11 +23 -13 src/sys/kern/sysv_msg.c 1.12 +27 -14 src/sys/kern/sysv_sem.c 1.15 +18 -4 src/sys/kern/sysv_shm.c From owner-cvs-sys Thu Dec 14 21:07:24 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA23383 for cvs-sys-outgoing; Thu, 14 Dec 1995 21:07:24 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA23376 Thu, 14 Dec 1995 21:07:22 -0800 (PST) Date: Thu, 14 Dec 1995 21:07:22 -0800 (PST) From: Peter Wemm Message-Id: <199512150507.VAA23376@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_ipc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/14 21:07:21 Modified: sys/i386/linux linux_ipc.c Log: Update linux_ipc.c to use the now generated prototypes for the shm* calls it makes while emulating the linux equivalents. Revision Changes Path 1.3 +9 -9 src/sys/i386/linux/linux_ipc.c From owner-cvs-sys Thu Dec 14 23:31:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA01331 for cvs-sys-outgoing; Thu, 14 Dec 1995 23:31:45 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA01323 Thu, 14 Dec 1995 23:31:43 -0800 (PST) Date: Thu, 14 Dec 1995 23:31:43 -0800 (PST) From: David Greenman Message-Id: <199512150731.XAA01323@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa if_ed.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/14 23:31:42 Modified: sys/i386/isa if_ed.c Log: Changed arg type for pio functions. Cast a few things appropriately to shut up the compiler. Revision Changes Path 1.92 +10 -10 src/sys/i386/isa/if_ed.c From owner-cvs-sys Fri Dec 15 05:40:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA22697 for cvs-sys-outgoing; Fri, 15 Dec 1995 05:40:27 -0800 (PST) Received: (from se@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA22690 Fri, 15 Dec 1995 05:40:24 -0800 (PST) Date: Fri, 15 Dec 1995 05:40:24 -0800 (PST) From: Stefan Esser Message-Id: <199512151340.FAA22690@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/pci pci.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk se 95/12/15 05:40:23 Modified: sys/pci pci.c Log: Fix the off-by-one error in the calculation of the valid port range. Reduce default value of pcicb_membase to 0x2000000 (from 0x4000000) since this seems to be the lower bound used by many systems. Submitted by: Mihoko Tanaka Revision Changes Path 1.38 +4 -4 src/sys/pci/pci.c From owner-cvs-sys Fri Dec 15 09:51:20 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA06063 for cvs-sys-outgoing; Fri, 15 Dec 1995 09:51:20 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA06054 Fri, 15 Dec 1995 09:51:09 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA24132; Sat, 16 Dec 1995 04:47:00 +1100 Date: Sat, 16 Dec 1995 04:47:00 +1100 From: Bruce Evans Message-Id: <199512151747.EAA24132@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/ufs/ffs ffs_alloc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >peter 95/12/14 19:36:29 > Modified: sys/ufs/ffs ffs_alloc.c > Log: > Silence a harmless warning... Please fix problems, not warnings. Here the problem is that one allocation function returns daddr_t and the other allocation returns ino_t, and daddr_t (which happens to be long) is incompatible with ino_t (which happens to be u_long). Everything, including the recently restored bogus function pointer cast, happens to work because daddr_t and ino_t happen to have the same size and there are apparently no sign extension problems. The correct fix is probably for all allocation functions to return a common large enough type (u_long in this case, provided there are no sign extension problems). Bruce From owner-cvs-sys Fri Dec 15 09:55:43 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA06365 for cvs-sys-outgoing; Fri, 15 Dec 1995 09:55:43 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA06355 Fri, 15 Dec 1995 09:55:37 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA24327; Sat, 16 Dec 1995 04:54:01 +1100 Date: Sat, 16 Dec 1995 04:54:01 +1100 From: Bruce Evans Message-Id: <199512151754.EAA24327@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, davidg@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa if_ed.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > Modified: sys/i386/isa if_ed.c > Log: > Changed arg type for pio functions. > Cast a few things appropriately to shut up the compiler. Please fix problems, not compiler warnings. In this case, I think the casts only work because the hardware ignores some bits in the address (bits 14-15 of 0-31 for 16K cards and bits 13-15 for 8K cards?). Conversions of the form (int)(buf - base) ((int)buf) & 0x3fff would be more obviously correct, but might be slower. Bruce From owner-cvs-sys Fri Dec 15 14:49:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23955 for cvs-sys-outgoing; Fri, 15 Dec 1995 14:49:45 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23947 Fri, 15 Dec 1995 14:49:41 -0800 (PST) Date: Fri, 15 Dec 1995 14:49:41 -0800 (PST) From: Bruce Evans Message-Id: <199512152249.OAA23947@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys vnode.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 14:49:39 Modified: sys/sys vnode.h Log: Completed a function declaration. Restored order to prototype list. Restored tabs to #defines. Revision Changes Path 1.26 +33 -33 src/sys/sys/vnode.h From owner-cvs-sys Fri Dec 15 15:10:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA25097 for cvs-sys-outgoing; Fri, 15 Dec 1995 15:10:51 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA25080 Fri, 15 Dec 1995 15:10:48 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id PAA01837; Fri, 15 Dec 1995 15:10:44 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id PAA01962; Fri, 15 Dec 1995 15:10:53 -0800 Message-Id: <199512152310.PAA01962@corbin.Root.COM> To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa if_ed.c In-reply-to: Your message of "Sat, 16 Dec 95 04:54:01 +1100." <199512151754.EAA24327@godzilla.zeta.org.au> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 15 Dec 1995 15:10:52 -0800 Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >> Modified: sys/i386/isa if_ed.c >> Log: >> Changed arg type for pio functions. >> Cast a few things appropriately to shut up the compiler. > >Please fix problems, not compiler warnings. The compiler warning was bogus. >In this case, I think the casts only work because the hardware ignores >some bits in the address (bits 14-15 of 0-31 for 16K cards and bits >13-15 for 8K cards?). Conversions of the form > > (int)(buf - base) > ((int)buf) & 0x3fff > >would be more obviously correct, but might be slower. That's not quite correct. The offset within the NIC memory segment is a 16 bit number but is written out a byte at a time. The fact that only the lower two bytes are written out *implies* a masking of the upper bits. This is both intended and correct. I chose to fix the problem the way I did to avoid casting a pointer to a short (which I think is indeed incorrect). This driver is highly i386-specific and I'm not trying to generalize it. The only questionable thing about the change I made above would be in casting the pointer to an int...but again, I'm not trying to be general. In the case of the PIO mode, the 'address' is an offset, not a pointer. -DG From owner-cvs-sys Fri Dec 15 15:49:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27297 for cvs-sys-outgoing; Fri, 15 Dec 1995 15:49:51 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27279 Fri, 15 Dec 1995 15:49:48 -0800 (PST) Date: Fri, 15 Dec 1995 15:49:48 -0800 (PST) From: Bruce Evans Message-Id: <199512152349.PAA27279@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 15:49:46 Modified: sys/i386/scsi aic7xxx.c Log: Completed function declarations and added prototypes. Sorted prototypes. Revision Changes Path 1.50 +46 -25 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Fri Dec 15 15:51:19 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27444 for cvs-sys-outgoing; Fri, 15 Dec 1995 15:51:19 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA27406 Fri, 15 Dec 1995 15:50:57 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id KAA04105; Sat, 16 Dec 1995 10:43:56 +1100 Date: Sat, 16 Dec 1995 10:43:56 +1100 From: Bruce Evans Message-Id: <199512152343.KAA04105@godzilla.zeta.org.au> To: bde@zeta.org.au, davidg@Root.COM Subject: Re: cvs commit: src/sys/i386/isa if_ed.c Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >>In this case, I think the casts only work because the hardware ignores >>some bits in the address (bits 14-15 of 0-31 for 16K cards and bits >>13-15 for 8K cards?). Conversions of the form >> >> (int)(buf - base) >> ((int)buf) & 0x3fff >> >>would be more obviously correct, but might be slower. > That's not quite correct. The offset within the NIC memory segment is a 16 >bit number but is written out a byte at a time. The fact that only the lower >two bytes are written out *implies* a masking of the upper bits. This is both >intended and correct. I chose to fix the problem the way I did to avoid Yes, the top 16 bits are masked by not writing out the bytes for them. Bits 14-15 aren't masked. Consider a board with 16K of memory address 0xd4000. Then address 0xd4000 corresponds to offset 0 but offset 0x4000 is written out. This apparently works because bits 14-15 are ignored by the h/w. It wouldn't work for a board with 32K of memory at address 0xd4000 but this is unlikely to be supported since it would take a gate or two more to decode. It wouldn't work if the board used bits 14-15 for something else. To determine the correctnes of the cast, you have to look at the manuals for all supported boards (a growing list :-) and and see if those bits are specified as "don't care". >casting a pointer to a short (which I think is indeed incorrect). It's no worse than casting to int. The result is implementation defined. An unreasonable implementation might always convert to 0... > This driver is highly i386-specific and I'm not trying to generalize it. ... but you can reasonably assume the reasonable gcc i386 implementation in device drivers. Bruce From owner-cvs-sys Fri Dec 15 16:01:46 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA28159 for cvs-sys-outgoing; Fri, 15 Dec 1995 16:01:46 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA28152 Fri, 15 Dec 1995 16:01:42 -0800 (PST) Date: Fri, 15 Dec 1995 16:01:42 -0800 (PST) From: Bruce Evans Message-Id: <199512160001.QAA28152@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern kern_lkm.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 16:01:41 Modified: sys/kern kern_lkm.c Log: Removed unused function lkmenodev(). Revision Changes Path 1.27 +1 -19 src/sys/kern/kern_lkm.c From owner-cvs-sys Fri Dec 15 16:05:46 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA28439 for cvs-sys-outgoing; Fri, 15 Dec 1995 16:05:46 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA28432 Fri, 15 Dec 1995 16:05:44 -0800 (PST) Date: Fri, 15 Dec 1995 16:05:44 -0800 (PST) From: Bruce Evans Message-Id: <199512160005.QAA28432@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/netinet if_ether.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 16:05:42 Modified: sys/netinet if_ether.c Log: Added a prototype. Revision Changes Path 1.24 +2 -1 src/sys/netinet/if_ether.c From owner-cvs-sys Fri Dec 15 16:11:15 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA28751 for cvs-sys-outgoing; Fri, 15 Dec 1995 16:11:15 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA28744 Fri, 15 Dec 1995 16:11:13 -0800 (PST) Date: Fri, 15 Dec 1995 16:11:13 -0800 (PST) From: Bruce Evans Message-Id: <199512160011.QAA28744@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/pccard pccard.c pcic.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 16:11:12 Modified: sys/pccard pccard.c pcic.c Log: Completed function declarations and/or added prototypes and/or added #includes to get prototypes. Revision Changes Path 1.14 +1 -1 src/sys/pccard/pccard.c 1.13 +2 -1 src/sys/pccard/pcic.c From owner-cvs-sys Fri Dec 15 16:28:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA29932 for cvs-sys-outgoing; Fri, 15 Dec 1995 16:28:03 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA29882 Fri, 15 Dec 1995 16:28:01 -0800 (PST) Date: Fri, 15 Dec 1995 16:28:01 -0800 (PST) From: Bruce Evans Message-Id: <199512160028.QAA29882@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa pcibus.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 16:28:00 Modified: sys/pci if_pdq.c if_vx.c ncr.c pci.c sys/i386/isa pcibus.c Log: Completed function declarations and/or added prototypes and/or added #includes to get prototypes. pci now uses a different interrupt handler type for interrupts that it dispatches and the isa interrupt handler type for the interrupts that it handles. Revision Changes Path 1.12 +2 -1 src/sys/pci/if_pdq.c 1.5 +2 -0 src/sys/pci/if_vx.c 1.52 +7 -19 src/sys/pci/ncr.c 1.39 +15 -7 src/sys/pci/pci.c 1.21 +7 -7 src/sys/i386/isa/pcibus.c From owner-cvs-sys Fri Dec 15 16:30:09 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA00253 for cvs-sys-outgoing; Fri, 15 Dec 1995 16:30:09 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA00248 Fri, 15 Dec 1995 16:30:05 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id QAA01981; Fri, 15 Dec 1995 16:30:04 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id QAA02036; Fri, 15 Dec 1995 16:30:14 -0800 Message-Id: <199512160030.QAA02036@corbin.Root.COM> To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa if_ed.c In-reply-to: Your message of "Sat, 16 Dec 95 10:43:56 +1100." <199512152343.KAA04105@godzilla.zeta.org.au> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 15 Dec 1995 16:30:14 -0800 Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >>>In this case, I think the casts only work because the hardware ignores >>>some bits in the address (bits 14-15 of 0-31 for 16K cards and bits >>>13-15 for 8K cards?). Conversions of the form >>> >>> (int)(buf - base) >>> ((int)buf) & 0x3fff >>> >>>would be more obviously correct, but might be slower. > >> That's not quite correct. The offset within the NIC memory segment is a 16 >>bit number but is written out a byte at a time. The fact that only the lower >>two bytes are written out *implies* a masking of the upper bits. This is both >>intended and correct. I chose to fix the problem the way I did to avoid > >Yes, the top 16 bits are masked by not writing out the bytes for them. >Bits 14-15 aren't masked. Consider a board with 16K of memory address >0xd4000. Then address 0xd4000 corresponds to offset 0 but offset 0x4000 >is written out. This apparently works because bits 14-15 are ignored by >the h/w. It wouldn't work for a board with 32K of memory at address >0xd4000 but this is unlikely to be supported since it would take a gate >or two more to decode. It wouldn't work if the board used bits 14-15 >for something else. To determine the correctnes of the cast, you have >to look at the manuals for all supported boards (a growing list :-) and >and see if those bits are specified as "don't care". No, you apparantly don't understand what's happening in there. In the PIO case, the "base" is 0 and the offset is just an offset relative to zero. The upper bits will never be non-zero. -DG From owner-cvs-sys Fri Dec 15 17:21:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA03515 for cvs-sys-outgoing; Fri, 15 Dec 1995 17:21:57 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA03491 Fri, 15 Dec 1995 17:21:41 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id MAA07889; Sat, 16 Dec 1995 12:17:39 +1100 Date: Sat, 16 Dec 1995 12:17:39 +1100 From: Bruce Evans Message-Id: <199512160117.MAA07889@godzilla.zeta.org.au> To: bde@zeta.org.au, davidg@Root.COM Subject: Re: cvs commit: src/sys/i386/isa if_ed.c Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > No, you apparantly don't understand what's happening in there. In the PIO >case, the "base" is 0 and the offset is just an offset relative to zero. The >upper bits will never be non-zero. I see. Pointer variables are being used to hold pointers for the memory mapped case and offsets for the pio case. Actually, the upper bits will always be nonzero because of this code for the NE case: sc->mem_start = (char *) 8192 + sc->isa16bit * 8192; Bruce From owner-cvs-sys Fri Dec 15 17:30:46 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA04111 for cvs-sys-outgoing; Fri, 15 Dec 1995 17:30:46 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA04104 Fri, 15 Dec 1995 17:30:39 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id MAA08284; Sat, 16 Dec 1995 12:29:02 +1100 Date: Sat, 16 Dec 1995 12:29:02 +1100 From: Bruce Evans Message-Id: <199512160129.MAA08284@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa pcibus.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > Modified: sys/pci if_pdq.c if_vx.c ncr.c pci.c > sys/i386/isa pcibus.c > Log: > Completed function declarations and/or added prototypes and/or added > #includes to get prototypes. This completes adding prototypes except in the unsupported network code. Bruce From owner-cvs-sys Fri Dec 15 17:36:58 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA04498 for cvs-sys-outgoing; Fri, 15 Dec 1995 17:36:58 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA04491 Fri, 15 Dec 1995 17:36:50 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id RAA02073; Fri, 15 Dec 1995 17:36:49 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id RAA02079; Fri, 15 Dec 1995 17:37:01 -0800 Message-Id: <199512160137.RAA02079@corbin.Root.COM> To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa if_ed.c In-reply-to: Your message of "Sat, 16 Dec 95 12:17:39 +1100." <199512160117.MAA07889@godzilla.zeta.org.au> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 15 Dec 1995 17:37:00 -0800 Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >> No, you apparantly don't understand what's happening in there. In the PIO >>case, the "base" is 0 and the offset is just an offset relative to zero. The >>upper bits will never be non-zero. > >I see. Pointer variables are being used to hold pointers for the memory >mapped case and offsets for the pio case. Actually, the upper bits will >always be nonzero because of this code for the NE case: > > sc->mem_start = (char *) 8192 + sc->isa16bit * 8192; Umm, well, it depends on what "upper bits" we're talking about. The NE1/2000 internal layout has the NIC memory starting at offset 8192 or 16384 depending on whether it's an NE1000 or an NE2000 (8 or 16 bit). In either case, bit 15 will always be 0. All 16 bits of the offset are used and are important. -DG From owner-cvs-sys Fri Dec 15 18:14:49 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA06075 for cvs-sys-outgoing; Fri, 15 Dec 1995 18:14:49 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA06068 Fri, 15 Dec 1995 18:14:46 -0800 (PST) Date: Fri, 15 Dec 1995 18:14:46 -0800 (PST) From: Bruce Evans Message-Id: <199512160214.SAA06068@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys protosw.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 18:14:45 Modified: sys/kern uipc_domain.c sys/net raw_cb.h raw_usrreq.c sys/netinet ip_icmp.c tcp_subr.c tcp_var.h udp_usrreq.c udp_var.h sys/netipx ipx.h ipx_error.c ipx_input.c ipx_ip.c spx.h spx_usrreq.c sys/sys protosw.h Log: Uniformized pr_ctlinput protosw functions. The third arg is now `void *' instead of caddr_t and it isn't optional (it never was). Most of the netipx (and netns) pr_ctlinput functions abuse the second arg instead of using the third arg but fixing this is beyond the scope of this round of changes. Revision Changes Path 1.12 +2 -2 src/sys/kern/uipc_domain.c 1.5 +2 -2 src/sys/net/raw_cb.h 1.7 +3 -2 src/sys/net/raw_usrreq.c 1.17 +3 -3 src/sys/netinet/ip_icmp.c 1.24 +4 -3 src/sys/netinet/tcp_subr.c 1.25 +2 -2 src/sys/netinet/tcp_var.h 1.19 +4 -3 src/sys/netinet/udp_usrreq.c 1.8 +2 -2 src/sys/netinet/udp_var.h 1.6 +3 -2 src/sys/netipx/ipx.h 1.4 +5 -3 src/sys/netipx/ipx_error.c 1.6 +5 -3 src/sys/netipx/ipx_input.c 1.6 +3 -2 src/sys/netipx/ipx_ip.c 1.6 +2 -2 src/sys/netipx/spx.h 1.7 +5 -3 src/sys/netipx/spx_usrreq.c 1.9 +3 -3 src/sys/sys/protosw.h From owner-cvs-sys Fri Dec 15 18:19:21 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA06419 for cvs-sys-outgoing; Fri, 15 Dec 1995 18:19:21 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA06412 Fri, 15 Dec 1995 18:19:19 -0800 (PST) Date: Fri, 15 Dec 1995 18:19:19 -0800 (PST) From: Bruce Evans Message-Id: <199512160219.SAA06412@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 18:19:18 Modified: sys/i386/conf LINT Log: Added undocumented option LINUX so that it gets tested. Revision Changes Path 1.223 +2 -1 src/sys/i386/conf/LINT From owner-cvs-sys Fri Dec 15 19:43:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA11758 for cvs-sys-outgoing; Fri, 15 Dec 1995 19:43:57 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA11746 Fri, 15 Dec 1995 19:43:54 -0800 (PST) Date: Fri, 15 Dec 1995 19:43:54 -0800 (PST) From: Bruce Evans Message-Id: <199512160343.TAA11746@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/netipx ipx_ip.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/15 19:43:52 Modified: sys/netipx ipx_ip.h Log: Oops, forgot to update this to match pr_ctlinput. Added comment about bogus LOMTU. Revision Changes Path 1.5 +3 -3 src/sys/netipx/ipx_ip.h From owner-cvs-sys Sat Dec 16 06:03:07 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA13354 for cvs-sys-outgoing; Sat, 16 Dec 1995 06:03:07 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA13347 Sat, 16 Dec 1995 06:03:05 -0800 (PST) Date: Sat, 16 Dec 1995 06:03:05 -0800 (PST) From: Peter Wemm Message-Id: <199512161403.GAA13347@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa si.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/16 06:03:05 Modified: sys/i386/isa si.c Log: Another shot at getting working si DEVFS entries.. Apparently, it didn't understand %02d in it's format string... Revision Changes Path 1.30 +16 -10 src/sys/i386/isa/si.c From owner-cvs-sys Sat Dec 16 10:14:10 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA21999 for cvs-sys-outgoing; Sat, 16 Dec 1995 10:14:10 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA21993 Sat, 16 Dec 1995 10:14:03 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id FAA06103; Sun, 17 Dec 1995 05:09:08 +1100 Date: Sun, 17 Dec 1995 05:09:08 +1100 From: Bruce Evans Message-Id: <199512161809.FAA06103@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa si.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > Modified: sys/i386/isa si.c > Log: > Another shot at getting working si DEVFS entries.. Apparently, it didn't > understand %02d in it's format string... Our kernel sprintf() is very limited. We have many inadequate printf cores in the kernel: sprintf() -- same interface as user sprintf() kprintf() -- similar interface to user vfprintf()l db_printf_guts() -- more or less a copy of kprintf(), with a few extra features, e.g., support for %#. Apparently copied without attribution from the BSD/USL(?) kprintf(), or vice versa. There should be exactly one core routine similar to vfprintf(), and something like fwopen() to initialize the output function, and snprintf()... Some kernel printfs pass around an output function, but this makes interfaces like snprintf() too hard to add - there has to be somewhere to record an output-function-dependent state. Bruce From owner-cvs-sys Sat Dec 16 10:52:13 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA23654 for cvs-sys-outgoing; Sat, 16 Dec 1995 10:52:13 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA23644 Sat, 16 Dec 1995 10:52:11 -0800 (PST) Date: Sat, 16 Dec 1995 10:52:11 -0800 (PST) From: Peter Wemm Message-Id: <199512161852.KAA23644@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 autoconf.c machdep.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/16 10:52:10 Modified: sys/i386/i386 autoconf.c machdep.c Log: Catch a couple more null devsw dereferences... Revision Changes Path 1.51 +5 -3 src/sys/i386/i386/autoconf.c 1.160 +5 -1 src/sys/i386/i386/machdep.c From owner-cvs-sys Sat Dec 16 11:21:24 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA26575 for cvs-sys-outgoing; Sat, 16 Dec 1995 11:21:24 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA26561 Sat, 16 Dec 1995 11:21:15 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA07610; Sun, 17 Dec 1995 06:17:04 +1100 Date: Sun, 17 Dec 1995 06:17:04 +1100 From: Bruce Evans Message-Id: <199512161917.GAA07610@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 autoconf.c machdep.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > Modified: sys/i386/i386 autoconf.c machdep.c > Log: > Catch a couple more null devsw dereferences... There should be dummy tables so that all these tests aren't necessary: initial bdevsw[] = { &dummy, &dummy, ... }; Similarly, inside each *bdevsw[maj], there should be pointers to dummy functions, not null pointers. The cost of indirect tables may be more than compensated for by the simpler indexing: old now --- --- (&bdevsw[maj])->d_open *bdevsw[maj]->d_open ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ complicated address calc. simple address calc., extra indirection Bruce From owner-cvs-sys Sat Dec 16 11:31:13 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA27074 for cvs-sys-outgoing; Sat, 16 Dec 1995 11:31:13 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA27069 Sat, 16 Dec 1995 11:31:08 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA07810; Sun, 17 Dec 1995 06:26:43 +1100 Date: Sun, 17 Dec 1995 06:26:43 +1100 From: Bruce Evans Message-Id: <199512161926.GAA07810@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, bde@zeta.org.au, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa si.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >> Modified: sys/i386/isa si.c >> Log: >> Another shot at getting working si DEVFS entries.. Apparently, it didn't >> understand %02d in it's format string... I wrote: >Our kernel sprintf() is very limited. We have many inadequate printf cores >in the kernel: Also, now would be a good time to simplify the tty naming scheme. Schemes that are too hard for sprintf() are too hard to understand :-). Bruce From owner-cvs-sys Sat Dec 16 13:00:23 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA00972 for cvs-sys-outgoing; Sat, 16 Dec 1995 13:00:23 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA00965 Sat, 16 Dec 1995 13:00:20 -0800 (PST) Date: Sat, 16 Dec 1995 13:00:20 -0800 (PST) From: Bruce Evans Message-Id: <199512162100.NAA00965@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 13:00:19 Modified: sys/i386/conf LINT Log: Fixed comment about IPFIREWALL_VERBOSE. Added undocumented option SCSI_2_DEF. Revision Changes Path 1.224 +3 -2 src/sys/i386/conf/LINT From owner-cvs-sys Sat Dec 16 13:32:24 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02253 for cvs-sys-outgoing; Sat, 16 Dec 1995 13:32:24 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02243 Sat, 16 Dec 1995 13:32:21 -0800 (PST) Date: Sat, 16 Dec 1995 13:32:21 -0800 (PST) From: Bruce Evans Message-Id: <199512162132.NAA02243@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa asc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 13:32:20 Modified: sys/i386/isa asc.c Log: One less magic number. Revision Changes Path 1.13 +2 -2 src/sys/i386/isa/asc.c From owner-cvs-sys Sat Dec 16 13:38:13 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02661 for cvs-sys-outgoing; Sat, 16 Dec 1995 13:38:13 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02651 Sat, 16 Dec 1995 13:38:06 -0800 (PST) Date: Sat, 16 Dec 1995 13:38:06 -0800 (PST) From: Bruce Evans Message-Id: <199512162138.NAA02651@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa gsc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 13:38:04 Modified: sys/i386/isa gsc.c Log: Return the i/o size, not a truth value, in the probe. Revision Changes Path 1.15 +1 -1 src/sys/i386/isa/gsc.c From owner-cvs-sys Sat Dec 16 13:43:56 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA03210 for cvs-sys-outgoing; Sat, 16 Dec 1995 13:43:56 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA03200 Sat, 16 Dec 1995 13:43:53 -0800 (PST) Date: Sat, 16 Dec 1995 13:43:53 -0800 (PST) From: Bruce Evans Message-Id: <199512162143.NAA03200@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern sys_process.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 13:43:50 Modified: sys/kern sys_process.c Log: Removed dead debugging code. Revision Changes Path 1.18 +1 -7 src/sys/kern/sys_process.c From owner-cvs-sys Sat Dec 16 13:45:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA03429 for cvs-sys-outgoing; Sat, 16 Dec 1995 13:45:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA03418 Sat, 16 Dec 1995 13:45:05 -0800 (PST) Date: Sat, 16 Dec 1995 13:45:05 -0800 (PST) From: Bruce Evans Message-Id: <199512162145.NAA03418@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 13:45:04 Modified: sys/kern tty.c Log: Oops, the last commit missed one change from 200 to OBUFSIZ + 100. Revision Changes Path 1.78 +2 -2 src/sys/kern/tty.c From owner-cvs-sys Sat Dec 16 13:50:20 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA04072 for cvs-sys-outgoing; Sat, 16 Dec 1995 13:50:20 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA04065 Sat, 16 Dec 1995 13:50:18 -0800 (PST) Date: Sat, 16 Dec 1995 13:50:18 -0800 (PST) From: Bruce Evans Message-Id: <199512162150.NAA04065@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys kernel.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 13:50:17 Modified: sys/sys kernel.h Log: Really finished (?) cleaning up sysinit stuff. Revision Changes Path 1.18 +4 -6 src/sys/sys/kernel.h From owner-cvs-sys Sat Dec 16 22:59:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA00483 for cvs-sys-outgoing; Sat, 16 Dec 1995 22:59:39 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA00474 Sat, 16 Dec 1995 22:59:38 -0800 (PST) Date: Sat, 16 Dec 1995 22:59:38 -0800 (PST) From: Bruce Evans Message-Id: <199512170659.WAA00474@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern sys_process.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 22:59:37 Modified: sys/kern sys_process.c Log: Updated to match 1TB filesize changes. Some pindexes were still offsets and weren't converted. ptrace() was broken. Revision Changes Path 1.19 +9 -7 src/sys/kern/sys_process.c From owner-cvs-sys Sat Dec 16 23:20:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA01959 for cvs-sys-outgoing; Sat, 16 Dec 1995 23:20:03 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA01908 Sat, 16 Dec 1995 23:20:00 -0800 (PST) Date: Sat, 16 Dec 1995 23:20:00 -0800 (PST) From: Bruce Evans Message-Id: <199512170720.XAA01908@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm pmap.h swap_pager.c vm_mmap.c vm_page.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 23:19:59 Modified: sys/i386/i386 pmap.c sys/miscfs/procfs procfs_mem.c sys/vm pmap.h swap_pager.c vm_mmap.c vm_page.c Log: Fixed 1TB filesize changes. Some pindexes had bogus names and types but worked because vm_pindex_t is indistinuishable from vm_offset_t. Revision Changes Path 1.71 +2 -5 src/sys/i386/i386/pmap.c 1.14 +5 -5 src/sys/miscfs/procfs/procfs_mem.c 1.7 +3 -1 src/sys/vm/pmap.h 1.58 +3 -3 src/sys/vm/swap_pager.c 1.34 +1 -5 src/sys/vm/vm_mmap.c 1.44 +2 -2 src/sys/vm/vm_page.c From owner-cvs-sys Sat Dec 16 23:39:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA03495 for cvs-sys-outgoing; Sat, 16 Dec 1995 23:39:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA03488 Sat, 16 Dec 1995 23:39:06 -0800 (PST) Date: Sat, 16 Dec 1995 23:39:06 -0800 (PST) From: Bruce Evans Message-Id: <199512170739.XAA03488@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/include pmap.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/16 23:39:06 Modified: sys/vm pmap.h sys/i386/include pmap.h Log: Cleaned up prototypes in pmap headers: removed ones for nonexistent functions; moved misplaced ones; restored most of KNFish formatting from 4.4lite version; removed bogus __BEGIN/END_DECLS. Revision Changes Path 1.8 +36 -41 src/sys/vm/pmap.h 1.31 +4 -6 src/sys/i386/include/pmap.h