From owner-freebsd-hackers Sat Oct 18 16:07:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA08208 for hackers-outgoing; Sat, 18 Oct 1997 16:07:40 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from proxy3.ba.best.com (root@proxy3.ba.best.com [206.184.139.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA08202 for ; Sat, 18 Oct 1997 16:07:37 -0700 (PDT) (envelope-from mdean@shellx.best.com) Received: from shellx.best.com (shellx.best.com [206.86.0.11]) by proxy3.ba.best.com (8.8.7/8.8.BEST) with ESMTP id QAA15828 for ; Sat, 18 Oct 1997 16:06:49 -0700 (PDT) Received: from localhost (mdean@localhost) by shellx.best.com (8.8.6/8.8.3) with SMTP id QAA22774 for ; Sat, 18 Oct 1997 16:06:48 -0700 (PDT) Date: Sat, 18 Oct 1997 16:06:48 -0700 (PDT) From: mdean To: freebsd-hackers@freebsd.org Subject: Opinions wanted. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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)?