From owner-freebsd-current Sat Oct 16 2:57:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from maulwurf.franken.de (maulwurf.franken.de [193.141.110.9]) by hub.freebsd.org (Postfix) with ESMTP id F14701543D for ; Sat, 16 Oct 1999 02:57:45 -0700 (PDT) (envelope-from gaspode.franken.de!tanis@maulwurf.franken.de) Received: by maulwurf.franken.de via rmail with stdio id for freebsd-current@freebsd.org; Sat, 16 Oct 1999 11:57:44 +0200 (MET DST) (Smail-3.2 1996-Jul-4 #1 built DST-May-30) Received: (from tanis@localhost) by gaspode.franken.de (8.9.3/8.9.3) id LAA01409 for freebsd-current@freebsd.org; Sat, 16 Oct 1999 11:55:11 +0200 (CEST) (envelope-from tanis) Date: Sat, 16 Oct 1999 11:55:11 +0200 From: German Tischler To: freebsd-current@freebsd.org Subject: negative offset for bus_space_read ? Message-ID: <19991016115511.A1156@gaspode.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I'm in the processing of converting i4b to use newbus calls. The Teles S0/16.3 card has strange way to spread it's io adresses. For example if it is configured for 0xd80 it will use adresses at 0x960, 0x160 and 0x560. So using for example bus_space_read_1 to read from adress 0x160 will not work because the offset parameter is unsigned. Is there a more elegant way than to get the real adress and use inb ? -- German Tischler tanis@gaspode.franken.de tanis@cip.informatik.uni-wuerzburg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message