putting /dev/lpt in polling mode in boot time.

Terry Lambert tlambert2 at mindspring.com
Mon Jul 21 11:04:56 PDT 2003


Evan Dower wrote:
> >From: "Andrew Lankford" <arlankfo at 141.com>
> >Reply-To: arlankfo at 141.com
> >To: <current at freebsd.org>
> >Subject: Re:  putting /dev/lpt in polling mode in boot time.
> >Date: Sun, 20 Jul 2003 15:40:21 -0600
> >
> >Before anyone corrects me, yes, the man page says bit 5 controls polling,
> >0x20.  My question stands.
> 
> I may be smoking crack, but isn't it:
> bit 5 = 0001 0000 = 0x10 ?
> bit 6 = 0010 0000 = 0x20 ?
> E

Not if you start counting at 0.

8-).

-- Terry


More information about the freebsd-current mailing list