setting priority in devb-eide

Hi all

I would like to set the priority of the devb-eide driver when starting up
the system.

I tried to do this in

:/etc/system/enum/devices/

with

device(pci, class=$(PCI_CLASS_MASS), .subclass=$(PCI_MASS_IDE))
requires(devb-eide $(DEVB_OPTIONS), “eide
dma,ioport=$(ioport),priority=9”)


but this is ignored. The priority after the startup is 21 (default).
Is this the wrong place for setting the prio. And where is the right
place?


Best regards
Dieter

Hi Dieter,

I am assuming that the machine that you are describing is self-hosted
x86 QNX6. The self-hosted setup has a special application called
diskboot which is run from within the boot file. For more information
on diskboot; run “use /sbin/diskboot”.

You will need to modify your build file with your new options, rebuild
your image and copy it to /.boot Don’t forget to copy /.boot to
/.altboot first, so you have a guaranteed working backup.

Cheers,
James

D.Bittner@pilz.de wrote:

Hi all

I would like to set the priority of the devb-eide driver when starting
up the system.

I tried to do this in

:/etc/system/enum/devices/

with

device(pci, class=$(PCI_CLASS_MASS), .subclass=$(PCI_MASS_IDE))
requires(devb-eide $(DEVB_OPTIONS), “eide
dma,ioport=$(ioport),priority=9”)


but this is ignored. The priority after the startup is 21 (default).
Is this the wrong place for setting the prio. And where is the right place?


Best regards
Dieter

I would recommend using an own build file and start devb-eide explicitly
from the boot script. You can specify prios for all things you start in the
boot script with the [prio=xx] tag. (at least I think that’s its name -
refer to the mkifs docs if uncertain).

With an own boot script / build file you have much more control on what is
started and how and when.

Cheers,

Malte

<D.Bittner@pilz.de> schrieb im Newsbeitrag news:dnbhhd$6ot$1@inn.qnx.com

Hi all

I would like to set the priority of the devb-eide driver when starting up
the system.

I tried to do this in

:/etc/system/enum/devices/

with

device(pci, class=$(PCI_CLASS_MASS), .subclass=$(PCI_MASS_IDE))
requires(devb-eide $(DEVB_OPTIONS), “eide
dma,ioport=$(ioport),priority=9”)


but this is ignored. The priority after the startup is 21 (default).
Is this the wrong place for setting the prio. And where is the right
place?


Best regards
Dieter