From owner-freebsd-isdn Sun Feb 20 11: 5:44 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from widukind.bi.teuto.net (widukind.bi.teuto.net [212.8.197.28]) by hub.freebsd.org (Postfix) with ESMTP id 282DB37BF4F; Sun, 20 Feb 2000 11:05:38 -0800 (PST) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (IDENT:root@rumolt.teuto.de [212.8.203.81]) by widukind.bi.teuto.net (8.9.3/8.9.3) with ESMTP id UAA11429; Sun, 20 Feb 2000 20:05:35 +0100 Received: (from martin@localhost) by rumolt.teuto.de (8.9.3/8.8.8) id UAA02117; Sun, 20 Feb 2000 20:07:11 +0100 (MET) From: Martin Husemann Message-Id: <200002201907.UAA02117@rumolt.teuto.de> Subject: Re: Big ATA problems In-Reply-To: from Andrew Gordon at "Feb 20, 2000 06:17:29 pm" To: arg@arg1.demon.co.uk (Andrew Gordon) Date: Sun, 20 Feb 2000 20:07:11 +0100 (MET) Cc: hm@kts.org (Hellmuth Michaelis), dfr@nlsystems.com (Doug Rabson), current@FreeBSD.ORG, freebsd-isdn@FreeBSD.ORG Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > But in the case of the teles16.3, it does _not_ use offsets 0x00-0x3b in > the HSCX or ISAC: the ASIC on the card has 'folded' the address space so > that the fifo appears at an address 3 bytes after the last register (0x3e > with the current scheme - see tels0163_read_fifo()). Ah, then the driver should map the region the correct way and access it without offsets. This kind of stuff is why the NetBSD port uses an extra "offset" field in its private map/region array, so it can map something offset from the expected range and map the generic register offsets to the mapped-region-offsets efficiently. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message