From owner-cvs-sys Tue Jun 13 10:51:22 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA26923 for cvs-sys-outgoing; Tue, 13 Jun 1995 10:51:22 -0700 Received: (from wollman@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA26903 ; Tue, 13 Jun 1995 10:51:18 -0700 Date: Tue, 13 Jun 1995 10:51:18 -0700 From: "Garrett A. Wollman" Message-Id: <199506131751.KAA26903@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet igmp.c igmp.h igmp_var.h in.h in_proto.c ip_input.c ip_mroute.c ip_mroute.h ip_output.c ip_var.h raw_ip.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk wollman 95/06/13 10:51:17 Modified: sys/netinet igmp.c igmp.h igmp_var.h in.h in_proto.c ip_input.c ip_mroute.c ip_mroute.h ip_output.c ip_var.h raw_ip.c Log: Kernel side of 3.5 multicast routing code, based on work by Bill Fenner and other work done here. The LKM support is probably broken, but it still compiles and will be fixed later. From owner-cvs-sys Tue Jun 13 21:52:44 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA06269 for cvs-sys-outgoing; Tue, 13 Jun 1995 21:52:44 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA06251 ; Tue, 13 Jun 1995 21:52:40 -0700 Date: Tue, 13 Jun 1995 21:52:40 -0700 From: Bruce Evans Message-Id: <199506140452.VAA06251@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 cons.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/06/13 21:52:40 Modified: sys/i386/i386 cons.c Log: Output \n as \r\n, not as \n\r. From owner-cvs-sys Tue Jun 13 22:06:54 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA07422 for cvs-sys-outgoing; Tue, 13 Jun 1995 22:06:54 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA07407 ; Tue, 13 Jun 1995 22:06:52 -0700 Date: Tue, 13 Jun 1995 22:06:52 -0700 From: Bruce Evans Message-Id: <199506140506.WAA07407@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 math_emulate.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/06/13 22:06:52 Modified: sys/i386/i386 math_emulate.c Log: Replace \n\r by \n in error messages. From owner-cvs-sys Tue Jun 13 22:16:18 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA08090 for cvs-sys-outgoing; Tue, 13 Jun 1995 22:16:18 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA08078 ; Tue, 13 Jun 1995 22:16:14 -0700 Date: Tue, 13 Jun 1995 22:16:14 -0700 From: Bruce Evans Message-Id: <199506140516.WAA08078@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa syscons.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/06/13 22:16:14 Modified: sys/i386/isa syscons.c Log: Don't convert \n to \r\n in pccnputc(). This is the responsibility of cnputc(). From owner-cvs-sys Tue Jun 13 23:23:45 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA13874 for cvs-sys-outgoing; Tue, 13 Jun 1995 23:23:45 -0700 Received: (from joerg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA13835 ; Tue, 13 Jun 1995 23:23:40 -0700 Date: Tue, 13 Jun 1995 23:23:40 -0700 From: Joerg Wunsch Message-Id: <199506140623.XAA13835@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/nfs nfs_subs.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk joerg 95/06/13 23:23:39 Modified: sys/nfs nfs_subs.c Log: The duplicate information returned in fa_type and fa_mode is an ambiguity in the NFS version 2 protocol. VREG should be taken literally as a regular file. If a server intents to return some type information differently in the upper bits of the mode field (e.g. for sockets, or FIFOs), NFSv2 mandates fa_type to be VNON. Anyway, we leave the examination of the mode bits even in the VREG case to avoid breakage for bogus servers, but we make sure that there are actually type bits set in the upper part of fa_mode (and failing that, trust the va_type field). NFSv3 cleared the issue, and requires fa_mode to not contain any type information (while also introduing sockets and FIFOs for fa_type). The fix has been tested against a variety of NFS servers. It fixes problems with the ``Tropic'' NFS server for Windows, while apparently not breaking anything. Pointed-out by: scott@zorch.sf-bay.org (Scott Hazen Mueller) From owner-cvs-sys Wed Jun 14 00:38:37 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA18521 for cvs-sys-outgoing; Wed, 14 Jun 1995 00:38:37 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA18507 ; Wed, 14 Jun 1995 00:38:33 -0700 Date: Wed, 14 Jun 1995 00:38:33 -0700 From: Bruce Evans Message-Id: <199506140738.AAA18507@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa isa.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/06/14 00:38:32 Modified: sys/i386/isa isa.h Log: Convert to ANSI C: change #endif THING to #endif /* THING */. Fix one such THING in code to match comment. Sort IO_GSC* into numeric order and update comments about the gaps. Sort common SCSI addresses into alphabetical order. Remove bogus comments about com ports having i/o size 4. Uniformize whitespace. Uniformize case in hex digits. This file is very incomplete. In particular, it doesn't mention any network cards. This doesn't matter much for the base addresses, but it means that the comments about which addresses are free are mostly bogus. The i/o sizes are unreliable because of split address ranges for many devices (VGA, wd). The i/o sizes are incomplete. In particular, there are no sizes for SCSI controllers. The bt driver still returns a truth value instead of a size. From owner-cvs-sys Wed Jun 14 00:55:12 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA19240 for cvs-sys-outgoing; Wed, 14 Jun 1995 00:55:12 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA19223 ; Wed, 14 Jun 1995 00:55:08 -0700 Date: Wed, 14 Jun 1995 00:55:08 -0700 From: Bruce Evans Message-Id: <199506140755.AAA19223@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern subr_prf.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/06/14 00:55:08 Modified: sys/kern subr_prf.c Log: Convert %p to 0x%x instead of to 0x%8x. The latter gives blank padding in the wrong place. Blank padding in the right place or zero padding would be inconsistent with user mode. Put case 'p' in alphabetical order. Implement %p in sprintf() too. I'd like only a single, more complete printf() core, perhaps one based on vsnprintf(). From owner-cvs-sys Wed Jun 14 01:21:13 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA21148 for cvs-sys-outgoing; Wed, 14 Jun 1995 01:21:13 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA21136 ; Wed, 14 Jun 1995 01:20:59 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id BAA00829; Wed, 14 Jun 1995 01:21:00 -0700 From: "Rodney W. Grimes" Message-Id: <199506140821.BAA00829@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/i386/isa isa.h To: bde@freefall.cdrom.com (Bruce Evans) Date: Wed, 14 Jun 1995 01:20:59 -0700 (PDT) Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199506140738.AAA18507@freefall.cdrom.com> from "Bruce Evans" at Jun 14, 95 00:38:33 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2060 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > bde 95/06/14 00:38:32 > > Modified: sys/i386/isa isa.h > Log: > Convert to ANSI C: change #endif THING to #endif /* THING */. > Fix one such THING in code to match comment. > Sort IO_GSC* into numeric order and update comments about the gaps. > Sort common SCSI addresses into alphabetical order. > Remove bogus comments about com ports having i/o size 4. What was the reference document for this??? I was the one who put that comment in there, and it comes from no less than IBM documents itself. The fact is PS/2 class machines only have 4 addresses for COM ports, and can have a com port at 0x3fc!! > Uniformize whitespace. > Uniformize case in hex digits. > > This file is very incomplete. In particular, it doesn't mention any > network cards. This doesn't matter much for the base addresses, but > it means that the comments about which addresses are free are mostly > bogus. That is because there is no formal documentation that states where these things are. IBM never has assigned a ``network interface'' address. Even there own products are all over the place. > The i/o sizes are unreliable because of split address ranges > for many devices (VGA, wd). VGA??? Maybe if you consider the fact that the ``syscons'' driver should be split so that we don't have both the VGA ports and the Keyboard ports all in one driver (along with a ton of architecual reasons to split this out). > The i/o sizes are incomplete. In > particular, there are no sizes for SCSI controllers. The bt driver > still returns a truth value instead of a size. :-(. Pretty much I created the current content of that file from official IBM documentation for the XT, AT, and PS/2 family. The SCSI card I/O addresses where added to make the GENERIC config file consistent. I did not have size docs for those cards when I created it. I do now though. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Wed Jun 14 01:22:31 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA21191 for cvs-sys-outgoing; Wed, 14 Jun 1995 01:22:31 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA21178 ; Wed, 14 Jun 1995 01:22:25 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id BAA00839; Wed, 14 Jun 1995 01:22:26 -0700 From: "Rodney W. Grimes" Message-Id: <199506140822.BAA00839@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/kern subr_prf.c To: bde@freefall.cdrom.com (Bruce Evans) Date: Wed, 14 Jun 1995 01:22:25 -0700 (PDT) Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199506140755.AAA19223@freefall.cdrom.com> from "Bruce Evans" at Jun 14, 95 00:55:08 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 669 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > bde 95/06/14 00:55:08 > > Modified: sys/kern subr_prf.c > Log: > Convert %p to 0x%x instead of to 0x%8x. The latter gives blank padding > in the wrong place. Blank padding in the right place or zero padding > would be inconsistent with user mode. > > Put case 'p' in alphabetical order. > > Implement %p in sprintf() too. Thank you, that was on my hit list... > I'd like only a single, more complete > printf() core, perhaps one based on vsnprintf(). Yes please!!!! -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Wed Jun 14 02:51:28 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA28410 for cvs-sys-outgoing; Wed, 14 Jun 1995 02:51:28 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id CAA28353 ; Wed, 14 Jun 1995 02:51:02 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id TAA30366; Wed, 14 Jun 1995 19:45:24 +1000 Date: Wed, 14 Jun 1995 19:45:24 +1000 From: Bruce Evans Message-Id: <199506140945.TAA30366@godzilla.zeta.org.au> To: bde@freefall.cdrom.com, rgrimes@gndrsh.aac.dev.com Subject: Re: cvs commit: src/sys/i386/isa isa.h Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Sender: cvs-sys-owner@freebsd.org Precedence: bulk >> Remove bogus comments about com ports having i/o size 4. >What was the reference document for this??? I was the one who sio.c. It accesses the 8 xx(x)50 registers at linear offsets from the base port. >put that comment in there, and it comes from no less than IBM >documents itself. The fact is PS/2 class machines only have 4 >addresses for COM ports, and can have a com port at 0x3fc!! >> The i/o sizes are unreliable because of split address ranges >> for many devices (VGA, wd). >VGA??? Maybe if you consider the fact that the ``syscons'' driver >should be split so that we don't have both the VGA ports and the >Keyboard ports all in one driver (along with a ton of architecual >reasons to split this out). Splitting wouldn't help much. Beeping belongs in the output part of the driver. VGAs have the follow scattered ports according to an old book by Ferraro: PC/AT card Global Enable 46E8 w/o # sometimes decoded as 2E8 PC/AT all Card Enable 102 r/w # I don't remember seeing this Standard VGA 3C0-3CF Standard VGA Feature Control 3BA/3DA # mono/color (nearby ports too?) Standard VGA CRTC 3B4-5/3D4-5 # mono/color (nearby ports too?) ... Then there are individual cards, more modern cards (SVGAs) and older cards (CGAs, HGCs). 3B0-3DF covers most of the addresses (not 102, 46E8, or 4BC4-5 (V7VGA Cache Control)). 3B0-3DF is the best that can be done in isa.h. It only overlaps LPT3. In fact, isa.h already describes this range in 3 pieces of size 16 (MDA/CGA/VGA) but nothing uses the definitions. Config files don't use the definitions because a combined range is wanted and the keyboard and screen addresses can't both be configured. syscons doesn't use them - it prefers its own defines for almost everything. >Pretty much I created the current content of that file from official >IBM documentation for the XT, AT, and PS/2 family. IBM hasn't been setting PC standards since about 1990. This is more clear now than 1993. Bruce From owner-cvs-sys Wed Jun 14 05:28:38 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA15219 for cvs-sys-outgoing; Wed, 14 Jun 1995 05:28:38 -0700 Received: (from amurai@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA15208 ; Wed, 14 Jun 1995 05:28:34 -0700 Date: Wed, 14 Jun 1995 05:28:34 -0700 From: Atsushi Murai Message-Id: <199506141228.FAA15208@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk amurai 95/06/14 05:28:33 Modified: sys/scsi scsiconf.c Log: Bestmatch check for cd-drive always faild due to additional space on manufacture and other items. So it's never probe as MORE_LUNS after frist SONY entry.... From owner-cvs-sys Wed Jun 14 10:22:06 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA13911 for cvs-sys-outgoing; Wed, 14 Jun 1995 10:22:06 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA13897 ; Wed, 14 Jun 1995 10:22:01 -0700 Date: Wed, 14 Jun 1995 10:22:01 -0700 From: David Greenman Message-Id: <199506141722.KAA13897@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_object.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/14 10:22:00 Modified: sys/vm vm_object.c Log: (2.1.0 branch) Added a missing vm_object_unlock(). This is a no-op since we don't use object locking, but it looks like a bug and it's good to be consistent anyway. Reviewed by: John Dyson From owner-cvs-sys Wed Jun 14 12:37:07 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA26754 for cvs-sys-outgoing; Wed, 14 Jun 1995 12:37:07 -0700 Received: (from ache@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA26742 ; Wed, 14 Jun 1995 12:37:03 -0700 Date: Wed, 14 Jun 1995 12:37:03 -0700 From: "Andrey A. Chernov" Message-Id: <199506141937.MAA26742@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa/ic cd180.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk ache 95/06/14 12:37:03 Modified: sys/i386/isa rc.c rcreg.h sys/i386/isa/ic cd180.h Log: Next version, many bugs fixed From owner-cvs-sys Wed Jun 14 17:20:05 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA08184 for cvs-sys-outgoing; Wed, 14 Jun 1995 17:20:05 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA08115 ; Wed, 14 Jun 1995 17:19:58 -0700 Date: Wed, 14 Jun 1995 17:19:58 -0700 From: David Greenman Message-Id: <199506150019.RAA08115@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net if.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/14 17:19:57 Modified: sys/net if.c Log: Took out P2P_LOCALADDR_SHARE option and made it standard. From owner-cvs-sys Thu Jun 15 08:23:52 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA24121 for cvs-sys-outgoing; Thu, 15 Jun 1995 08:23:52 -0700 Received: from dkuug.dk (dkuug.dk [193.88.44.89]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id IAA24101 for ; Thu, 15 Jun 1995 08:23:32 -0700 Received: from kmd-ac.dk by dkuug.dk with UUCP id AA00408 (5.65c8/IDA-1.4.4j for freefall.cdrom.com!cvs-sys); Thu, 15 Jun 1995 17:23:13 +0200 Message-Id: <199506151523.AA00408@dkuug.dk> Subject: Re: cvs commit: src/sys/i386/isa isa.h To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Wed, 14 Jun 1995 11:18:22 +0000 (GMT) From: "Soeren Schmidt" Cc: bde@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199506140821.BAA00829@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Jun 14, 95 01:20:59 am From: sos@freebsd.org (Soren Schmidt) Reply-To: sos@freebsd.org X-Mailer: ELM [version 2.4 PL22] Content-Type: text Content-Length: 1213 X-Charset: ASCII X-Char-Esc: 29 Sender: cvs-sys-owner@freebsd.org Precedence: bulk In reply to Rodney W. Grimes who wrote: > > > > > bde 95/06/14 00:38:32 > > > > The i/o sizes are unreliable because of split address ranges > > for many devices (VGA, wd). > > VGA??? Maybe if you consider the fact that the ``syscons'' driver > should be split so that we don't have both the VGA ports and the > Keyboard ports all in one driver (along with a ton of architecual > reasons to split this out). Hmm, as far as I see it there is no cleancut way to separate this into multible drivers (or maybe I need someone explain it to me :-) Either you have it like it is now, or you will have to have some "interdriver" functionality to allow multiple drivers to muck with the same hardware. A system to send messages between the drivers would also be nessesary (ie user presses key to switch screen, a request for that must be sent to the display driver, etc etc etc) Either way its a mess. The way it is now reflects the way the user see's devices (console, PCMaudio, mouse, whatever). But anyhow, I'm open to suggestions as usual... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org | sos@kmd-ac.dk) FreeBSD Core Team .. From owner-cvs-sys Thu Jun 15 11:11:09 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA04262 for cvs-sys-outgoing; Thu, 15 Jun 1995 11:11:09 -0700 Received: (from pst@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA04250 ; Thu, 15 Jun 1995 11:11:03 -0700 Date: Thu, 15 Jun 1995 11:11:03 -0700 From: Paul Traina Message-Id: <199506151811.LAA04250@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net bpf.c bpf.h bpfdesc.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk pst 95/06/15 11:11:02 Modified: sys/net bpf.c bpf.h bpfdesc.h Log: Give the BPF the ability to generate signals when a packet is available. Reviewed by: pst & wollman Submitted by: grossman@cygnus.com From owner-cvs-sys Thu Jun 15 12:09:49 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA06507 for cvs-sys-outgoing; Thu, 15 Jun 1995 12:09:49 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA06499 ; Thu, 15 Jun 1995 12:09:34 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id MAA03199; Thu, 15 Jun 1995 12:09:28 -0700 From: "Rodney W. Grimes" Message-Id: <199506151909.MAA03199@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/i386/isa isa.h To: sos@freebsd.org Date: Thu, 15 Jun 1995 12:09:28 -0700 (PDT) Cc: bde@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199506151521.AA00358@dkuug.dk> from "Soren Schmidt" at Jun 14, 95 11:18:22 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1448 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > In reply to Rodney W. Grimes who wrote: > > > > > > > > bde 95/06/14 00:38:32 > > > > > > The i/o sizes are unreliable because of split address ranges > > > for many devices (VGA, wd). > > > > VGA??? Maybe if you consider the fact that the ``syscons'' driver > > should be split so that we don't have both the VGA ports and the > > Keyboard ports all in one driver (along with a ton of architecual > > reasons to split this out). > > Hmm, as far as I see it there is no cleancut way to separate this into > multible drivers (or maybe I need someone explain it to me :-) > Either you have it like it is now, or you will have to have some > "interdriver" functionality to allow multiple drivers to muck with the > same hardware. A system to send messages between the drivers would also > be nessesary (ie user presses key to switch screen, a request for that > must be sent to the display driver, etc etc etc) Either way its a mess. > The way it is now reflects the way the user see's devices (console, > PCMaudio, mouse, whatever). > But anyhow, I'm open to suggestions as usual... Terry, please jump in here with that beatifully done architecture drawing that was done on the -console mailling lists you ran a year or two back.... I think that answers this issue... -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Thu Jun 15 15:32:10 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA11026 for cvs-sys-outgoing; Thu, 15 Jun 1995 15:32:10 -0700 Received: (from ache@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA11014 ; Thu, 15 Jun 1995 15:32:06 -0700 Date: Thu, 15 Jun 1995 15:32:06 -0700 From: "Andrey A. Chernov" Message-Id: <199506152232.PAA11014@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk ache 95/06/15 15:32:06 Modified: sys/kern kern_prot.c Log: Optimized and simplified version of setreuid/gid Fixed: lack of crcopy in certain conditions, lack of setting sv[ug]id in certain conditions. Fixes non-critical. From owner-cvs-sys Fri Jun 16 22:02:35 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA07415 for cvs-sys-outgoing; Fri, 16 Jun 1995 22:02:35 -0700 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA07395 ; Fri, 16 Jun 1995 22:02:32 -0700 Date: Fri, 16 Jun 1995 22:02:32 -0700 From: Bill Paul Message-Id: <199506170502.WAA07395@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys lkm.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk wpaul 95/06/16 22:02:31 Modified: sys/sys lkm.h Log: Close out PR #507 (loading LM_MISC pseudo-lkms twice crashes system). For the LKM_E_LOAD case of the DISPATCH() macro, use lkmexists() to make sure we don't have another instance the module we're trying to load already loaded _before_ calling the module's load() function. If lkmexists() returns true, return EEXIST without trying to load the module. For most types of modules, the individual dispatch functions in the kernel check for duplicated modules, but for LM_MISC we can't trust the module to do the checks itself. Currently, the kernel does do an lkmexists() check on LM_MISC modules, but not until after the module's load() function has been called, which is too late for it to do any good. If the load() function does irreversible things to the kernel, the belated lkmexists() check forces an unload() and a crash.