Subject: Re: ISAPNP interrupt double assignement
To: Martin Husemann <martin@rumolt.teuto.de>
From: Martin Husemann <martin@rumolt.teuto.de>
List: current-users
Date: 08/28/1999 18:10:13
Following up my own post:

> Since I wrote the the ISA PnP attachment for the "isic" driver it's probably
> my fault. But what am I doing wrong? Or is interrupt sharing allowed for
> this cards? (Don't think so, and I'm not getting interrupts from the ISDN
> card...)

Of course: after removing the sb0 attachement from the config file I do get
interrupts from the ISDN card, so this is obviously wrong. I recompiled with
DEBUG_ISAPNP and get the below output. I think the isapnp should not use the
prefered configuration in this case.


Martin


isapnp0: Trying port 203isapnp0: read port 0x203
PnP version 1.0, Vendor version 0.0
ANSI Ident: ELSA QuickStep 1000
Logical device id ELS0133
>>> Start dependent function config: acceptable
8 IO Ports: 10 address bits, alignment 8 min 0x160, max 0x360
IRQ's supported: 3 4 5 7 10 11 12 15 E+
 config: acceptable
8 IO Ports: 10 address bits, alignment 8 min 0x160, max 0x360
IRQ's supported: 3 4 5 7 10 11 12 15 E+
Register configuration:
io[0]: 0x160/0
irq[0]: 5
isapnp0: configuring <ELSA QuickStep 1000, ELS0133, , >
isic0 at isapnp0 port 0x160/8 irq 5: Elsa QuickStep 1000 (ISA)
isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2)
isic0: HSCX 82525 or 21525 Version 2.1
PnP version 1.0, Vendor version 1.0
ANSI Ident: Creative ViBRA16X PnP
Logical device id CTL0043
ANSI Ident: Audio
>>> Start dependent function config: preferred
IRQ's supported: 5 E+
DRQ's supported: 1 Width: 8-bit Speed: compat Attributes: incr 8 
DRQ's supported: 3 Width: 8-bit Speed: compat Attributes: incr 8 
16 IO Ports: 16 address bits, alignment 1 min 0x220, max 0x220
2 IO Ports: 16 address bits, alignment 1 min 0x330, max 0x330
4 IO Ports: 16 address bits, alignment 1 min 0x388, max 0x388
>>> Start dependent function config: acceptable
IRQ's supported: 5 7 9 10 E+
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
16 IO Ports: 16 address bits, alignment 32 min 0x220, max 0x280
2 IO Ports: 16 address bits, alignment 48 min 0x300, max 0x330
4 IO Ports: 16 address bits, alignment 1 min 0x388, max 0x388
>>> Start dependent function config: acceptable
IRQ's supported: 5 7 9 10 E+
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
16 IO Ports: 16 address bits, alignment 32 min 0x220, max 0x280
2 IO Ports: 16 address bits, alignment 48 min 0x300, max 0x330
>>> Start dependent function config: acceptable
IRQ's supported: 5 7 9 10 E+
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
16 IO Ports: 16 address bits, alignment 32 min 0x220, max 0x280
>>> Start dependent function config: functional
IRQ's supported: 5 7 9 10 E+
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
16 IO Ports: 16 address bits, alignment 32 min 0x220, max 0x280
2 IO Ports: 16 address bits, alignment 16 min 0x300, max 0x330
4 IO Ports: 16 address bits, alignment 4 min 0x388, max 0x394
>>> Start dependent function config: functional
IRQ's supported: 5 7 9 10 E+
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
16 IO Ports: 16 address bits, alignment 32 min 0x220, max 0x280
>> Start dependent function config: preferred
1 IO Ports: 16 address bits, alignment 1 min 0x201, max 0x201
>>> Start dependent function config: acceptable
1 IO Ports: 16 address bits, alignment 1 min 0x200, max 0x20f
 config: preferred
16 IO Ports: 16 address bits, alignment 1 min 0x220, max 0x220
2 IO Ports: 16 address bits, alignment 1 min 0x330, max 0x330
4 IO Ports: 16 address bits, alignment 1 min 0x388, max 0x388
IRQ's supported: 5 E+
DRQ's supported: 1 Width: 8-bit Speed: compat Attributes: incr 8 
DRQ's supported: 3 Width: 8-bit Speed: compat Attributes: incr 8 
Register configuration:
io[0]: 0x220/0
io[1]: 0x330/0
io[2]: 0x388/0
irq[0]: 5
drq[0]: 1
drq[1]: 3
isapnp0: configuring <Creative ViBRA16X PnP, CTL0043, , Audio>
isapnp0: <Creative ViBRA16X PnP, CTL0043, , Audio> port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,3 not configured
Found <Creative ViBRA16X PnP, CTL7005, PNPB02F, Game> config: preferred
1 IO Ports: 16 address bits, alignment 1 min 0x201, max 0x201
Register configuration:
io[0]: 0x201/0
isapnp0: configuring <Creative ViBRA16X PnP, CTL7005, PNPB02F, Game>
joy0 at isapnp0 port 0x201/1
Found <Creative ViBRA16X PnP, CTL7005, PNPB02F, Game> config: preferred
1 IO Ports: 16 address bits, alignment 1 min 0x201, max 0x201
joy0: Creative ViBRA16X PnP Game
joy0: joystick not connected