From owner-freebsd-current Wed Oct 7 09:06:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA19533 for freebsd-current-outgoing; Wed, 7 Oct 1998 09:06:01 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA19521 for ; Wed, 7 Oct 1998 09:05:57 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id JAA00645; Wed, 7 Oct 1998 09:09:43 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810071609.JAA00645@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mark Murray cc: current@FreeBSD.ORG Subject: Re: Broken PLIP code? In-reply-to: Your message of "Wed, 07 Oct 1998 08:51:24 +0200." <199810070651.IAA22465@gratis.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Oct 1998 09:09:42 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi > > I put the new parallel port drivers into my kernel: > > > controller ppc0 at isa? port ? tty irq 7 vector ppcintr > controller ppbus0 > device nlpt0 at ppbus? > device plip0 at ppbus? > > ... and the PLIP device acts funny: > > # ifconfig -a > : > lp0: flags=8810 mtu 1500 > : > Oct 7 08:49:33 greenpeace /kernel: LP:ioctl(0xc0286938) That's SIOCGIFMEDIA, and the lp interface doesn't (yet) have switchable media support. The diagnostic is (should be) harmless, although the error return should perhaps be ENOTTY not EINVAL. Does the interface actually work? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message