Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2000 20:07:11 +0100 (MET)
From:      Martin Husemann <martin@rumolt.teuto.de>
To:        arg@arg1.demon.co.uk (Andrew Gordon)
Cc:        hm@kts.org (Hellmuth Michaelis), dfr@nlsystems.com (Doug Rabson), current@FreeBSD.ORG, freebsd-isdn@FreeBSD.ORG
Subject:   Re: Big ATA problems
Message-ID:  <200002201907.UAA02117@rumolt.teuto.de>
In-Reply-To: <Pine.BSF.4.21.0002201751190.20100-100000@server.arg.sj.co.uk> from Andrew Gordon at "Feb 20, 2000 06:17:29 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002201907.UAA02117>