From: Andrey Borzenkov <arvidjaar@mail.ru>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: [PATCH][2.6.3-mm2] /proc/ide/HWIF for modular IDE
Date: Sun, 22 Feb 2004 12:36:44 +0300 [thread overview]
Message-ID: <20040222093644.GB4873@localhost.localdomain> (raw)
In-Reply-To: <200402042255.33476.bzolnier@elka.pw.edu.pl>
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
On Wed, Feb 04, 2004 at 10:55:33PM +0100, Bartlomiej Zolnierkiewicz wrote:
>
> > > ide_setup_pci_device()+ide_setup_pci_devices() are correct places
> > > to add registering of /proc/ide/<chipset> and /proc/ide/<hwif>.
> >
> > this patch does it for <hwif>
> >
2.6.3-mm2 now makes /proc/ide/CHIPSET appear but /proc/ide/HWIF are
still missing.
Updated patch attached.
-andrey
[-- Attachment #2: 2.6.3-mm2-modular_proc_ide.patch --]
[-- Type: text/plain, Size: 806 bytes --]
--- linux-2.6.2-mm1/drivers/ide/setup-pci.c.modular 2004-02-05 22:59:48.000000000 +0300
+++ linux-2.6.2-mm1/drivers/ide/setup-pci.c 2004-02-05 22:59:54.000000000 +0300
@@ -746,6 +746,10 @@ void ide_setup_pci_device (struct pci_de
probe_hwif_init(&ide_hwifs[index_list.b.low]);
if ((index_list.b.high & 0xf0) != 0xf0)
probe_hwif_init(&ide_hwifs[index_list.b.high]);
+
+#ifdef CONFIG_PROC_FS
+ create_proc_ide_interfaces();
+#endif
}
EXPORT_SYMBOL_GPL(ide_setup_pci_device);
@@ -763,6 +767,10 @@ void ide_setup_pci_devices (struct pci_d
probe_hwif_init(&ide_hwifs[index_list2.b.low]);
if ((index_list2.b.high & 0xf0) != 0xf0)
probe_hwif_init(&ide_hwifs[index_list2.b.high]);
+
+#ifdef CONFIG_PROC_FS
+ create_proc_ide_interfaces();
+#endif
}
EXPORT_SYMBOL_GPL(ide_setup_pci_devices);
prev parent reply other threads:[~2004-02-22 9:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-03 19:48 [PATCH] rc3-mm1 - " Andrey Borzenkov
2004-02-03 20:39 ` Bartlomiej Zolnierkiewicz
2004-02-04 19:44 ` Andrey Borzenkov
2004-02-04 21:55 ` Bartlomiej Zolnierkiewicz
2004-02-05 20:41 ` Andrey Borzenkov
2004-02-22 9:36 ` Andrey Borzenkov [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=20040222093644.GB4873@localhost.localdomain \
--to=arvidjaar@mail.ru \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=akpm@osdl.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®