Skip to contentSkip to conversation

2.5.57 missing isapnp_card_protocol

DISCUSSION Adam J. Richter 4 participants 4 messages Jan 13, 2003

lore
Share & tools
lore
#0 lore raw

Linux-2.5.57 deletes the definition of isapnp_card_protocol
and then adds some references to it. So, the kernel does not link if you have enabled ISA PnP support. I'm not sure whether isapnp_card_protocol is supposed to be removed or not.

Adam J. Richter     __     ______________   575 Oroville Road
[email protected]     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America

"Free Software For The Rest Of Us."

#1 lore raw
Quoted 4 lines · Adam J. Richter

Linux-2.5.57 deletes the definition of isapnp_card_protocol
and then adds some references to it. So, the kernel does not link if you have enabled ISA PnP support. I'm not sure whether isapnp_card_protocol is supposed to be removed or not.

That's the fault of some random driver that hasn't been updated to the new isapnp API yet...

#2 lore raw
Quoted 8 lines · Jeff Garzik
Quoted 4 lines · Adam J. Richter

Linux-2.5.57 deletes the definition of isapnp_card_protocol
and then adds some references to it. So, the kernel does not link if you have enabled ISA PnP support. I'm not sure whether isapnp_card_protocol is supposed to be removed or not.

That's the fault of some random driver that hasn't been updated to the new isapnp API yet...

Hello.
It's not right.
It's wrong changes in drivers/pnp/isapnp/core.c and could be fixed with changing of two lines:
drop
protocol_for_each_card(&isapnp_card_protocol,card)
and change
protocol_for_each_card(&isapnp_card_protocol,card)
back to
protocol_for_each_card(&isapnp_protocol,card)
This changes fix compilation problems, but may be it wrong do it in this way.

Best regards.
Ruslan.

#3 lore raw
Quoted 24 lines · Ruslan U. Zakirov
Quoted 8 lines · Jeff Garzik
Quoted 4 lines · Adam J. Richter

Linux-2.5.57 deletes the definition of isapnp_card_protocol
and then adds some references to it. So, the kernel does not link if you have enabled ISA PnP support. I'm not sure whether isapnp_card_protocol is supposed to be removed or not.

That's the fault of some random driver that hasn't been updated to the new isapnp API yet...

Hello.
It's not right.
It's wrong changes in drivers/pnp/isapnp/core.c and could be fixed with changing of two lines:
drop
protocol_for_each_card(&isapnp_card_protocol,card)
and change
protocol_for_each_card(&isapnp_card_protocol,card)
back to
protocol_for_each_card(&isapnp_protocol,card)
This changes fix compilation problems, but may be it wrong do it in this way.

Quoted 3 lines

Best regards.
Ruslan.

Hi Ruslan,

This is indeed a correct fix for this problem. This bug was not introduced by me but I appreciate your input.

Thanks,
Adam