Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 1997 16:06:48 -0700 (PDT)
From:      mdean <mdean@best.com>
To:        freebsd-hackers@freebsd.org
Subject:   Opinions wanted.
Message-ID:  <Pine.SGI.3.95.971018160306.9841A-100000@shellx.best.com>

next in thread | raw e-mail | index | archive | help

If an 8255 (digital I/O) 8-bit port is opened via open() call by the user
as O_RDWR then it becomes an output, should I make all lines high, or all
lines low by default. I noticed that the 8255 seems to use low (but i have
set them high in my driver because the equipment I use outputs for is
activated by active low signal so I don't want it to all be turned on just
by opening the device file), what may I ask is more general all high, or
all low (in your opinion ofcourse)?






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.95.971018160306.9841A-100000>