From owner-freebsd-isdn Wed Mar 17 23:59:42 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from hcsext.hcs.de (hcsext.hcs.de [194.123.40.2]) by hub.freebsd.org (Postfix) with SMTP id 8B03214C2E for ; Wed, 17 Mar 1999 23:59:34 -0800 (PST) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (2171 bytes) by hcsext.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Thu, 18 Mar 1999 08:59:15 +0100 (CET) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-11) Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m10NXhz-0000bRC; Thu, 18 Mar 99 08:59 MET Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: Re: I/O base address for ISAC/HSCX In-Reply-To: <36F01A36.8EB476A8@hdz-ima.rwth-aachen.de> from Gerald Heinig at "Mar 17, 99 10:10:14 pm" To: heinig@hdz-ima.rwth-aachen.de (Gerald Heinig) Date: Thu, 18 Mar 1999 08:59:15 +0100 (MET) Cc: freebsd-isdn@freebsd.org Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1314 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From the keyboard of Gerald Heinig: > I've finally found the time again to have a look at the i4b internals > and I have a question which has been bugging me for a while now: why do > you do all that I/O address translation ie. base + offset - somethingelse base is the configured base address (0x200/0x240/0x300/0x340) offset is an offset for a specific register from the base +/-somethingelse is a magic constant the manufacturer choosed for his hardware > the lines > > #define AVM_CONF_REG 0x1800 /* base offset for config register */ > #define AVM_CONF_IRQ 0x1801 /* base offset for IRQ register */ > /* config register write */ > > in i4b_avm_a1.c are a source of puzzlement. Where do you get the 0x1800 > from? They were gotten from dissassembling the hardware and/or MSDOS drivers (as were the information for many other cards :-((( ), for details for this one, see: http://www.arg1.demon.co.uk/avm.html hellmuth -- Hellmuth Michaelis Tel +49 40 559747-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de 22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message