linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Remove obsoleted "idex=noprobe" kernel parameter
@ 2008-03-12  2:47 Rus V. Brushkoff
  2008-03-12 10:31 ` Alan Cox
  2008-03-12 13:35 ` Bartlomiej Zolnierkiewicz
  0 siblings, 2 replies; 4+ messages in thread
From: Rus V. Brushkoff @ 2008-03-12  2:47 UTC (permalink / raw)
  To: linux-ide; +Cc: bzolnier


 	Hi,

  Why this option is obsoleted ? It can be used on many systems when Linux 
still tries to detect disabled in the BIOS IDE controller - you may 
significantly reduce boot time, without bunch of the "ide reset succeed" 
messages.
  So embedded people use IDE as hardware interface to different 
controlling systems - how they can tell Linux, now without "idex=noprobe" 
option, not to probe _this_ IDE controller ?
  So can be said about "obsoleted "idex=base[,ctl[,irq]]" kernel 
parameters" - now nobody, who make simple custom hardware, can tell legacy 
IDE driver about different hardware resources, which is normal for other 
Linux subsystems - see for example LPT or most network cards kernel boot 
parameters.
  Its pitifully, especial for embedded people, that Linux becoming less 
configurable system ;(


 		Rus

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

* Re: Remove obsoleted "idex=noprobe" kernel parameter
  2008-03-12  2:47 Remove obsoleted "idex=noprobe" kernel parameter Rus V. Brushkoff
@ 2008-03-12 10:31 ` Alan Cox
  2008-03-12 13:35 ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Cox @ 2008-03-12 10:31 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: linux-ide, bzolnier

On Wed, 12 Mar 2008 04:47:59 +0200 (EET)
"Rus V. Brushkoff" <rus@SoyuzKT.Od.UA> wrote:

> 
>  	Hi,
> 
>   Why this option is obsoleted ? It can be used on many systems when Linux 
> still tries to detect disabled in the BIOS IDE controller - you may 
> significantly reduce boot time, without bunch of the "ide reset succeed" 

It's still needed on some PC systems as well. Just use libata instead,
and for the cases we need to fix up probing let the libata team know and
we'll do our best to make it automated. Even for old IDE automating this
sort of stuff is better when possible.

>   Its pitifully, especial for embedded people, that Linux becoming less 
> configurable system ;(

drivers/ide - not Linux
 

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

* Re: Remove obsoleted "idex=noprobe" kernel parameter
  2008-03-12  2:47 Remove obsoleted "idex=noprobe" kernel parameter Rus V. Brushkoff
  2008-03-12 10:31 ` Alan Cox
@ 2008-03-12 13:35 ` Bartlomiej Zolnierkiewicz
  2008-03-12 13:54   ` Rus V. Brushkoff
  1 sibling, 1 reply; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-03-12 13:35 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: linux-ide


Hi,

On Wednesday 12 March 2008, Rus V. Brushkoff wrote:
> 
>  	Hi,
> 
>   Why this option is obsoleted ? It can be used on many systems when Linux 
> still tries to detect disabled in the BIOS IDE controller - you may 
> significantly reduce boot time, without bunch of the "ide reset succeed" 
> messages.
>   So embedded people use IDE as hardware interface to different 
> controlling systems - how they can tell Linux, now without "idex=noprobe" 
> option, not to probe _this_ IDE controller ?

"hdx=noprobe" skips probing given IDE device, if given for all devices
on the contoller, the controller will be not probed at all

[ "hdx=noprobe" will be converted soon to "ide_core.noprobe=" parameter
  as we _need_ to re-do parameters handling because the old interface
  ("hdx=" / "idex=") is not compatible with the IDE warm-plug support ]

>   So can be said about "obsoleted "idex=base[,ctl[,irq]]" kernel 
> parameters" - now nobody, who make simple custom hardware, can tell legacy 
> IDE driver about different hardware resources, which is normal for other 
> Linux subsystems - see for example LPT or most network cards kernel boot 
> parameters.

It still can be done - just they way of doing it will change:

/*
 * For special cases new interfaces may be added using sysfs, i.e.
 *
 *      echo -n "0x168:0x36e:10" > /sys/class/ide_generic/add
 *
 * will add an interface using I/O ports 0x168-0x16f/0x36e and IRQ 10.
 */

[ however the preferred solution is to add resources for your custom IDE as
  a platform resources so ide_platform host driver can use it automatically ]

Thanks,
Bart

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

* Re: Remove obsoleted "idex=noprobe" kernel parameter
  2008-03-12 13:35 ` Bartlomiej Zolnierkiewicz
@ 2008-03-12 13:54   ` Rus V. Brushkoff
  0 siblings, 0 replies; 4+ messages in thread
From: Rus V. Brushkoff @ 2008-03-12 13:54 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide

On Wed, 12 Mar 2008, Bartlomiej Zolnierkiewicz wrote:

Hi,

:>   Why this option is obsoleted ? It can be used on many systems when Linux 
:"hdx=noprobe" skips probing given IDE device, if given for all devices
:on the contoller, the controller will be not probed at all
:[ "hdx=noprobe" will be converted soon to "ide_core.noprobe=" parameter
:  as we _need_ to re-do parameters handling because the old interface
:  ("hdx=" / "idex=") is not compatible with the IDE warm-plug support ]

Oh, thats good, some chance is left ;)

:It still can be done - just they way of doing it will change:
: *      echo -n "0x168:0x36e:10" > /sys/class/ide_generic/add

Thanks for clarifying.

:
:

		Rus

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

end of thread, other threads:[~2008-03-12 13:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-12  2:47 Remove obsoleted "idex=noprobe" kernel parameter Rus V. Brushkoff
2008-03-12 10:31 ` Alan Cox
2008-03-12 13:35 ` Bartlomiej Zolnierkiewicz
2008-03-12 13:54   ` Rus V. Brushkoff

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).