Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 1999 08:59:15 +0100 (MET)
From:      hm@hcs.de (Hellmuth Michaelis)
To:        heinig@hdz-ima.rwth-aachen.de (Gerald Heinig)
Cc:        freebsd-isdn@freebsd.org
Subject:   Re: I/O base address for ISAC/HSCX
Message-ID:  <m10NXhz-0000bRC@hcswork.hcs.de>
In-Reply-To: <36F01A36.8EB476A8@hdz-ima.rwth-aachen.de> from Gerald Heinig at "Mar 17, 99 10:10:14 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




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