From: Thomas Hood <jdthood@mail.com>
To: linux-kernel@vger.kernel.org
Cc: bunk@fs.tum.de
Subject: Re: Linux 2.4.10-ac10
Date: 09 Oct 2001 19:40:50 -0400 [thread overview]
Message-ID: <1002670852.763.24.camel@thanatos> (raw)
Okay, I've figured out issue #1. There's an error in the
parport_pc.c code such that it prints the irq number as the
dma number ( ... thus DMA 7 instead of DMA 3).
I append a patch that fixes this. I'll submit it again with
a [PATCH] subject heading.
We still need to figure out #2: what is taking up ioport 0x530?
--
Thomas
> Well, the two notable difference in the syslog are:
> 1) Parport now reports that it is going to use DMA 7
> instead of DMA 3;
> 2) On the second boot ioport 0x530 is reported not to be free
> and this prevents ad1816 from loading
>
> Two questions:
> 1) Is the parport actually configured to use DMA7, not DMA3?
> Please check using "lspnp -v 0d" and also by any other
> methods you have access to
> 2) What is using 0x530? What's in /proc/ioports?
The patch:
--- linux-2.4.10-ac10/drivers/parport/parport_pc.c Mon Oct 8 22:41:14 2001
+++ linux-2.4.10-ac10-fix/drivers/parport/parport_pc.c Tue Oct 9 19:36:58 2001
@@ -2826,7 +2826,7 @@
if ( UNSET(dev->irq_resource[0]) ) {
irq = PARPORT_IRQ_NONE;
} else {
- if ( dev->irq_resource[0].start == -1 ) {
+ if ( dev->irq_resource[0].start == (unsigned long)-1 ) {
irq = PARPORT_IRQ_NONE;
printk(", irq disabled");
} else {
@@ -2838,12 +2838,12 @@
if ( UNSET(dev->dma_resource[0]) ) {
dma = PARPORT_DMA_NONE;
} else {
- if ( dev->dma_resource[0].start == -1 ) {
+ if ( dev->dma_resource[0].start == (unsigned long)-1 ) {
dma = PARPORT_DMA_NONE;
printk(", dma disabled");
} else {
dma = dev->dma_resource[0].start;
- printk(", dma %d",irq);
+ printk(", dma %d",dma);
}
}
next reply other threads:[~2001-10-09 23:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-09 23:40 Thomas Hood [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-10 9:20 Linux 2.4.10-ac10 willy tarreau
2001-10-10 9:30 ` Adrian Bunk
2001-10-10 1:15 Thomas Hood
2001-10-10 8:47 ` Adrian Bunk
2001-10-10 9:09 ` Rasmus Andersen
2001-10-10 9:30 ` Adrian Bunk
2001-10-10 10:29 ` Arnaldo Carvalho de Melo
2001-10-09 22:32 Thomas Hood
2001-10-10 1:04 ` Adrian Bunk
2001-10-08 21:57 Alan Cox
2001-10-09 21:39 ` Adrian Bunk
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=1002670852.763.24.camel@thanatos \
--to=jdthood@mail.com \
--cc=bunk@fs.tum.de \
--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