From owner-freebsd-current Sat Apr 24 8:37:15 1999 Delivered-To: freebsd-current@freebsd.org Received: from gneiss.eps.nagoya-u.ac.jp (gneiss.eps.nagoya-u.ac.jp [133.6.124.148]) by hub.freebsd.org (Postfix) with ESMTP id 2C4AC14F74 for ; Sat, 24 Apr 1999 08:37:12 -0700 (PDT) (envelope-from kato@ganko.eps.nagoya-u.ac.jp) Received: from localhost (localhost [127.0.0.1]) by gneiss.eps.nagoya-u.ac.jp (8.9.3/3.7W) with ESMTP id AAA00882; Sun, 25 Apr 1999 00:36:53 +0900 (JST) To: dfr@nlsystems.com, peter@netplex.com.au Cc: current@freebsd.org Subject: Re: singed short to unsigned long conversion problem in isa.c From: KATO Takenori In-Reply-To: Your message of "Sat, 24 Apr 1999 15:30:26 +0100 (BST)" References: X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) X-PGP-Fingerprint: 03 72 85 36 62 46 23 03 52 B1 10 22 44 10 0D 9E Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990425003653V.kato@gneiss.eps.nagoya-u.ac.jp> Date: Sun, 25 Apr 1999 00:36:53 +0900 X-Dispatcher: imput version 980905(IM100) Lines: 18 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Rabson wrote: > It needs to be signed since the value -1 is used to indicate no port > resources. Perhaps it would be better to change it to 'int' instead of > 'u_short'. Oops, I didn't realize this case. The assumption that an I/O port address is lower than 0x8000 is OK for IBM-PC's ISA-bus, but PC98 can use hiher addresses for ISA-bus like bus. -----------------------------------------------+--------------------------+ KATO Takenori | FreeBSD | Dept. Earth Planet. Sci, Nagoya Univ. | The power to serve! | Nagoya, 464-8602, Japan | http://www.FreeBSD.org/ | ++++ FreeBSD(98) 3.1: Rev. 01 available! |http://www.jp.FreeBSD.org/| ++++ FreeBSD(98) 2.2.8: Rev. 01 available! +==========================+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message