Controlblock addresses set from enumerator skript for eide P

How can I add the control block address for PCMCIA eide devices
if I want to start it from an enumerator?
The line:
driver (devb-eide, “port=$(port):???,irq=$(irq),noslave”)

doesn’t work because the dynamically alloced and assigned address in
ioport must be recalculated for the control block address (ioport+12).
Adding 0xC to the ioport automatically would be fine but how can I
calculate this in the enum-skript?
cheers,peter

Hello Peter,

try this:

driver (devb-eide, “port=$(port):$(port)+12,irq=$(irq),noslave”)

Regards,
Maurizio Rossi


“Peter Weber” <pw@dolphin.de> ha scritto nel messaggio
news:c85sfi$m7v$1@inn.qnx.com

How can I add the control block address for PCMCIA eide devices
if I want to start it from an enumerator?
The line:
driver (devb-eide, “port=$(port):???,irq=$(irq),noslave”)

doesn’t work because the dynamically alloced and assigned address in
ioport must be recalculated for the control block address (ioport+12).
Adding 0xC to the ioport automatically would be fine but how can I
calculate this in the enum-skript?
cheers,peter