lkml.org 
[lkml]   [2010]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[GIT] IDE
From

Thanks to the excellent detective work and patch written by
Wolfram Sang, we have a fix for along standing issue in IDE.

The procfs directory for devices underneath an IDE controller
instance is not created before we try to makes nodes in that
directory.

The problem doesn't happen if, for example, you build everything
IDE statically into your kernel. This is because the individual
host controller drivers initialize first and probe the IDE
controllers. But the CDROM, disk, et al. driver's haven't
setup yet. They do so later, and at that point is when the
nodes in the procfs directory get created. And this works in
this case because the procfs directory is setup by the time
those device type drivers initialize.

But if we register an IDE controller device after the CDROM,
disk, et al. IDE modules have setup, we hit the problem.

Please pull, thanks a lot!

The following changes since commit 03a7ab083e4d619136d6f07ce70fa9de0bc436fc:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (2010-09-16 12:59:11 -0700)

are available in the git repository at:

master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6.git master

Wolfram Sang (1):
ide: Fix ordering of procfs registry.

drivers/ide/ide-probe.c | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)


\
 
 \ /
  Last update: 2010-09-18 06:21    [W:0.026 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site