From: Ivo van Doorn <ivdoorn@gmail.com>
To: Mateusz Berezecki <mateuszb@gmail.com>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
kernel-mentors@selenic.com
Subject: Re: NIC irq nobody cared ? virtual to physical and DMA questions
Date: Tue, 29 Nov 2005 22:05:58 +0100 [thread overview]
Message-ID: <200511292206.02147.IvDoorn@gmail.com> (raw)
In-Reply-To: <745843498.20051129212851@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
Hi,
> This time the questions are different.
>
> Given the following output could anyone please tell me what is wrong ?
> In explicit what does that mysterious "nobody cared" message mean?
> And another stupid question: should DMA for a network card be enabled before or maybe
> _after_ interrupts get enabled? And... how to convert virtual address
> to physical one?
The nobody cared error message is reported when a device is raising interrupts while
the actual driver has not yet registered the interrupt handler.
The best way to handle this for network drivers (done in rt2x00, which works fine) would be:
1 - Allocate DMA
2 - Registers interrupt handler
3 - Enable device interrupts.
IvD
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-11-29 21:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-29 20:28 NIC irq nobody cared ? virtual to physical and DMA questions Mateusz Berezecki
2005-11-29 21:05 ` Ivo van Doorn [this message]
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=200511292206.02147.IvDoorn@gmail.com \
--to=ivdoorn@gmail.com \
--cc=kernel-mentors@selenic.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mateuszb@gmail.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).