mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Tomasz Sterna" <smoku@jaszczur.org>
To: linux-kernel@vger.kernel.org
Subject: standard_io_resources[]
Date: Tue, 20 Mar 2001 10:16:36 +0100	[thread overview]
Message-ID: <20010320101636.A4226@plwawtl0.pl.ccbeverages.com> (raw)

I couldn't find a maintainer of the code, so I'm writing here.

In kernel 2.4.1 in arch/i386/kernel/setup.c there is:

--- arch/i386/kernel/setup.c
struct resource standard_io_resources[] = {
        { "dma1", 0x00, 0x1f, IORESOURCE_BUSY },
        { "pic1", 0x20, 0x3f, IORESOURCE_BUSY },
        { "timer", 0x40, 0x5f, IORESOURCE_BUSY },
        { "keyboard", 0x60, 0x6f, IORESOURCE_BUSY },
        { "dma page reg", 0x80, 0x8f, IORESOURCE_BUSY },
        { "pic2", 0xa0, 0xbf, IORESOURCE_BUSY },
        { "dma2", 0xc0, 0xdf, IORESOURCE_BUSY },
        { "fpu", 0xf0, 0xff, IORESOURCE_BUSY }
};
---

which fix-allocate some io-resources.
What is the reason for that?
Isn't that a job of the device drivers?

In KGI we have our own keyboard driver which tries to allocate the 
kayboard I/O range for itself, and when it does io_check_region() it 
fails. What should I do?


-- 
http://www.jaszczur.org/~smoku/

             reply	other threads:[~2001-03-20  9:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-20  9:16 Tomasz Sterna [this message]
2001-03-20  9:56 ` standard_io_resources[] Andrzej Krzysztofowicz
2001-03-21 17:13 James Simmons
2001-03-22  8:41 ` standard_io_resources[] Tomasz Sterna
2001-03-22 10:38   ` standard_io_resources[] Jeff Garzik
2001-03-22  7:40 standard_io_resources[] James Simmons
2001-03-22  7:41 standard_io_resources[] James Simmons

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=20010320101636.A4226@plwawtl0.pl.ccbeverages.com \
    --to=smoku@jaszczur.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®