From owner-freebsd-hackers Thu Feb 11 14:07:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25538 for freebsd-hackers-outgoing; Thu, 11 Feb 1999 14:07:51 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from reliam.teaser.fr (reliam.teaser.fr [194.51.80.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA25526; Thu, 11 Feb 1999 14:07:45 -0800 (PST) (envelope-from son@teaser.fr) Received: from teaser.fr (ppp1087-ft.teaser.fr [194.206.156.40]) by reliam.teaser.fr (8.9.1a/8.9.1a) with ESMTP id XAA30399; Thu, 11 Feb 1999 23:07:17 +0100 (MET) Received: (from son@localhost) by teaser.fr (8.9.2/8.9.1) id WAA01533; Thu, 11 Feb 1999 22:50:37 +0100 (CET) (envelope-from son) Message-ID: <19990211225037.40571@breizh.prism.uvsq.fr> Date: Thu, 11 Feb 1999 22:50:37 +0100 From: Nicolas Souchu To: Dag-Erling Smorgrav Cc: Mike Smith , Bill Fenner , hackers@FreeBSD.ORG, wpaul@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: Regarding tcpdump and plip References: <199902080148.RAA09054@dingo.cdrom.com> <19990208195855.56187@breizh.prism.uvsq.fr> <19990208222829.53422@breizh.prism.uvsq.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Dag-Erling Smorgrav on Mon, Feb 08, 1999 at 10:59:57PM +0100 X-Operating-System: FreeBSD breizh 4.0-CURRENT FreeBSD 4.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Feb 08, 1999 at 10:59:57PM +0100, Dag-Erling Smorgrav wrote: > >Nicolas Souchu writes: >> On Mon, Feb 08, 1999 at 09:25:26PM +0100, Dag-Erling Smorgrav wrote: >> > Better yet, let's rip it out of -current (I have an lpt-less src/sys >> > tree just waiting to be committed), and stick an #error in -stable's >> > lpt.c saying "This driver is deprecated, use ppbus instead". That way, >> > we give everybody advance warning without risking a botched commit >> > and/or people complaining that their kernel has inexplicably failed to >> > build. >> Ok. Is UPDATING only a -current resource or may it be updated in 3.1? > >I don't know, I was planning to just notify Warner Losh and let him >fix src/UPDATING. > >> > In any case, does anybody mind if I go ahead and remove the lpt driver >> > from -current, say, tomorrow? >> Don't forget GENERIC.. this patch or whatelse. > >Don't worry, I've patched GENERIC, LINT, files.i386 and the PicoBSD >kernels, and removed lpt.c and lpt.4. I'll still have to track down >references to the driver in the documentation though. lpt.4 also? nlpt.4 refers to it. I'll have to complete nlpt.4. Shouldn't we have moved nlpt to lpt to keep the ages dated tags? > >> "This supposes slip/ppp is statically configured for plip", would add Bruce. > >What are the consequences of just setting the interrupt mask to net in >all cases? Does one still need slip? Is it wrong to do so when plip is >not compiled in? So, you choosed 'net'. But it won't work better than 'tty' if ppp is not statically configured. And for a basic configuration, printer may not work with interrupts :( Or we should add the ppp trick as in net/ppp_tty.c. I was waiting for some new stuff for interrupt configuration to update ppc.c. -wollman was working on it in the past. I don't know if it's terminated. /* * Make sure that the soft net "engine" cannot run while spltty code is * active. The if_ppp.c code can walk down into b_to_q etc, and it is * bad if the tty system was in the middle of another b_to_q... */ tty_imask |= softnet_imask; /* spltty() block spl[soft]net() */ net_imask |= softtty_imask; /* splimp() block splsofttty() */ net_imask |= tty_imask; /* splimp() block spltty() */ update_intr_masks(); Enclosed with splhigh(). > >DES >-- >Dag-Erling Smorgrav - des@flood.ping.uio.no > -- nsouch@teaser.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message