Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Oct 1998 09:09:42 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Mark Murray <mark@grondar.za>
Cc:        current@FreeBSD.ORG
Subject:   Re: Broken PLIP code? 
Message-ID:  <199810071609.JAA00645@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 07 Oct 1998 08:51:24 %2B0200." <199810070651.IAA22465@gratis.grondar.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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<POINTOPOINT,SIMPLEX,MULTICAST> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810071609.JAA00645>