Date: Sun, 25 Apr 1999 00:36:53 +0900 From: KATO Takenori <kato@ganko.eps.nagoya-u.ac.jp> To: dfr@nlsystems.com, peter@netplex.com.au Cc: current@freebsd.org Subject: Re: singed short to unsigned long conversion problem in isa.c Message-ID: <19990425003653V.kato@gneiss.eps.nagoya-u.ac.jp> In-Reply-To: Your message of "Sat, 24 Apr 1999 15:30:26 %2B0100 (BST)" <Pine.BSF.4.05.9904241528531.28665-100000@herring.nlsystems.com> References: <Pine.BSF.4.05.9904241528531.28665-100000@herring.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson <dfr@nlsystems.com> 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 <kato@ganko.eps.nagoya-u.ac.jp> | 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990425003653V.kato>