All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] /proc/ide/hdx/settings with ide-default pseudo-driver is a 2.6/2.7 show-stopper
@ 2003-08-28 14:46 Bartlomiej Zolnierkiewicz
  2003-08-28 15:13 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-08-28 14:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox, Andre Hedrick


Hi,

Some background first: we need ide-default driver (set as a device driver
for all driver-less ide devices) mainly because we allow changing devices
settings through /proc/ide/hdX/settings and some of them (current_speed,
pio_mode) are processed via request queue (we are currently preallocating
gendisk and queue structs for all possible ide devices).  The next problem
is that ide-default doesn't register itself with ide and driverfs.
If it does it will "steal" devices meaned to be used by other drivers.

If we want dynamic hwifs/devices, moving gendisks/queues allocation
to device drivers and ide integration with driverfs we need to:

(a) kill /proc/ide/hdX/settings for driver-less devices and kill ide-default

or

(b) add much more shit to ide-default and deal with driver ordering madness
    when integrating with driverfs

Any important reasons why we cant chose solution (a)?

--bartlomiej


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-08-29  9:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-28 14:46 [RFC] /proc/ide/hdx/settings with ide-default pseudo-driver is a 2.6/2.7 show-stopper Bartlomiej Zolnierkiewicz
2003-08-28 15:13 ` Alan Cox
2003-08-28 15:47   ` Bartlomiej Zolnierkiewicz
2003-08-28 18:06     ` Alan Cox
2003-08-28 18:39       ` Bartlomiej Zolnierkiewicz
2003-08-28 19:42         ` Alan Cox
2003-08-29  1:19     ` Erik Andersen
2003-08-29  9:51       ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.