From: Luiz Carlos Ramos <lramos.prof@yahoo.com.br>
To: linux-ide@vger.kernel.org
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
David Miller <davem@davemloft.net>,
petkovbb@gmail.com
Subject: [PATCH 2/2] ide-generic: added messages in case of PCI IDE devices
Date: Tue, 21 Feb 2017 11:22:49 -0300 [thread overview]
Message-ID: <20170221142249.GC11234@giustizia> (raw)
Two messages are now displayed (at "warn" level) to make sure the user
is aware that PCI IDE devices were detected at common addresses (0x1f0
and 0x170) and that they will not be managed by ide-generic, but rather
delegated to its specific driver.
Signed-off-by: Luiz Carlos Ramos <lramos.prof@yahoo.com.br>
---
drivers/ide/ide-generic.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/ide/ide-generic.c b/drivers/ide/ide-generic.c
index ee11edcdba3170c077381d603918498d79ffa3bb..2204819ef73612deed4ebfe58c69cdadb40fa53b 100644
--- a/drivers/ide/ide-generic.c
+++ b/drivers/ide/ide-generic.c
@@ -125,9 +125,19 @@ static int __init ide_generic_init(void)
if (primary == 0)
probe_mask |= 0x1;
+ else {
+ printk(KERN_WARN DRV_NAME ": PCI IDE device detected at 0x%4.4x."
+ " ide-generic will not grab this device, delegating it to"
+ " the driver of its specific chipset\n", 0x1f0);
+ }
if (secondary == 0)
probe_mask |= 0x2;
+ else {
+ printk(KERN_WARN DRV_NAME ": PCI IDE device detected at 0x%4.4x."
+ " ide-generic will not grab this device, delegating it to"
+ " the driver of its specific chipset\n", 0x170);
+ }
} else
printk(KERN_INFO DRV_NAME ": enforcing probing of I/O ports "
"upon user request\n");
--
2.8.2
next reply other threads:[~2017-02-21 14:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-21 14:22 Luiz Carlos Ramos [this message]
2017-02-21 15:31 ` [PATCH 2/2] ide-generic: added messages in case of PCI IDE devices Sergei Shtylyov
2017-02-21 15:52 ` Sergei Shtylyov
2017-02-22 0:38 ` Luiz Carlos Ramos
2017-02-28 12:32 ` Bartlomiej Zolnierkiewicz
2017-02-28 17:25 ` Sergei Shtylyov
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=20170221142249.GC11234@giustizia \
--to=lramos.prof@yahoo.com.br \
--cc=b.zolnierkie@samsung.com \
--cc=davem@davemloft.net \
--cc=linux-ide@vger.kernel.org \
--cc=petkovbb@gmail.com \
/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