All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert Wörle" <robert.woerle-y2s3ugBAdl9BDgjK7y7TUQ@public.gmane.org>
To: "Randy.Dunlap" <rddunlap-3NddpPZAyC0@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Tablet PC + 2.4.18 + acpi 20020726 + swsup11 working !
Date: Wed, 07 Aug 2002 08:48:08 +0200	[thread overview]
Message-ID: <3D50C2A8.5070702@symplon.com> (raw)
In-Reply-To: Pine.LNX.4.33L2.0208060734290.10089-100000@dragon.pdx.osdl.net

Randy.Dunlap schrieb:

>On Tue, 6 Aug 2002, Robert Wörle wrote:
>
>| Ducrot Bruno schrieb:
>|
>| >On Tue, Aug 06, 2002 at 03:28:27PM +0200, Jörg Sonnenberger wrote:
>| >
>| >
>| >>Am Dienstag, 6. August 2002 14:04 schrieb Robert Wörle:
>| >>
>| >>
>| >>>So what is this pci1 and pic2 thing ??? and why is it residing at my
>| >>>wanted IO ???
>| >>>
>| >>>
>| >>Let me guess: PIC = Programmable Interrupt Controller,
>| >>so I think you don't wanna mess with it! The interesting question is, why is
>| >>your device in this range? This ports are reserved since the days of IBM's
>| >>good old AT.
>| >>
>| >>
>| >>
>| >
>| >Well, not all those ports are used by the original 8259A.  And the PIC 2, is
>| >'only' at range A0-AF, according to Ralf Brown list.  Linux extend it a little,
>| >but I don't know why.
>| >
>| >
>| >
>| Tell me guys , what driver is this pic2 .. where can i found the
>| according **.c to have some try`S and modify it
>| so if it doesnt need these ports then i can use them for my purposes ...
>
>The IO space for PIC1 and PIC2 is reserved in
>linux/arch/i386/kernel/setup.c, around line 330 in 2.4.18/2.4.19,
>in the array standard_io_resources[].
>You might be able to make the granularity of that definition
>finer so that some of the IO addresses aren't reserved.
>  
>
Thank you , i found it at setup.c ... and i ll now try to free my needed 
area with something like this:
{"pic2",0xa0,0xb0,IORESOURCE_BUSY},
("pic2",0xb3,0xbf,IORESOURCE_BUSY},----
after that i should (=?!) have 0xb1-0xb2 free to be mapped by my driver ...

>Regarding someone else's email about Linux using only addresses
>0xa0 and 0xa1 for PIC2:
>That's probably correct.  The PIC internal registers are addressed
>by ICWn and OCWn, which are dependent on the data values written.
>The other IO addresses that are reserved (like 0xa4-5, 0xa8-9,
>0xac-d, 0xb0-1, 0xb4-5, 0xb8-9, 0xbc-d) are ghosts (duplicates)
>of the base IO addresses (0xa0-0xa1), due to incomplete IO address
>line decoding.
>
>  
>


-- 
 
_____________________________________
*Robert Wörle
 Linux | Embedded Device*
*
Symplon AG*

*...touch the internet*

phone: +49 89 552 999 35
fax: +49 89 552 999 10
email: robert.woerle-y2s3ugBAdl9BDgjK7y7TUQ@public.gmane.org <mailto:robert.woerle@symplon.com>
web: www.symplon.com <http://www.symplon.com/>

_____________________________________
 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2002-08-07  6:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-06  7:30 Tablet PC + 2.4.18 + acpi 20020726 + swsup11 working ! Robert Wörle
     [not found] ` <3D4F7B2A.2090602-y2s3ugBAdl9BDgjK7y7TUQ@public.gmane.org>
2002-08-06  9:13   ` Ducrot Bruno
2002-08-06 12:04     ` Robert Wörle
     [not found]       ` <3D4FBB33.8070501-y2s3ugBAdl9BDgjK7y7TUQ@public.gmane.org>
2002-08-06 13:28         ` Jörg Sonnenberger
     [not found]           ` <200208061528.27394.joerg.sonnenberger-S0/GAf8tV78@public.gmane.org>
2002-08-06 14:00             ` Ducrot Bruno
     [not found]               ` <20020806140043.GB16571-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-08-06 14:24                 ` Randy.Dunlap
     [not found]                   ` <Pine.LNX.4.33L2.0208060721141.10089-100000-cVaRcJ4+mXYyyg0EjBt7GtHuzzzSOjJt@public.gmane.org>
2002-08-08  6:23                     ` ACPI on Compaq Presario 1720US Prabhakar Reddy Gudla Venkata Siva
2002-08-06 14:32               ` Tablet PC + 2.4.18 + acpi 20020726 + swsup11 working ! Robert Wörle
     [not found]                 ` <3D4FDE0B.4020600-y2s3ugBAdl9BDgjK7y7TUQ@public.gmane.org>
2002-08-06 14:30                   ` Jörg Sonnenberger
2002-08-06 14:38                   ` Randy.Dunlap
2002-08-07  6:48                     ` Robert Wörle [this message]
     [not found]                       ` <3D50C2A8.5070702-y2s3ugBAdl9BDgjK7y7TUQ@public.gmane.org>
2002-08-07  8:09                         ` Ducrot Bruno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D50C2A8.5070702@symplon.com \
    --to=robert.woerle-y2s3ugbadl9bdgjk7y7tuq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=rddunlap-3NddpPZAyC0@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.