Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 1999 19:02:15 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        KATO Takenori <kato@ganko.eps.nagoya-u.ac.jp>
Cc:        peter@netplex.com.au, current@freebsd.org
Subject:   Re: singed short to unsigned long conversion problem in isa.c
Message-ID:  <Pine.BSF.4.05.9904241900410.28665-100000@herring.nlsystems.com>
In-Reply-To: <19990425003653V.kato@gneiss.eps.nagoya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Apr 1999, KATO Takenori wrote:

> 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.

I understand. I think the best thing is to store the port address as an
int. I don't think there is a need to fork the file into a pc98 version.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




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?Pine.BSF.4.05.9904241900410.28665-100000>