Re: 2.5.57 missing isapnp_card_protocol

Ruslan U. Zakirov (cubic@miee.ru)
Tue, 14 Jan 2003 02:10:41 +0300 (MSK)


On Mon, 13 Jan 2003, Jeff Garzik wrote:

> On Mon, Jan 13, 2003 at 02:09:49PM -0800, Adam J. Richter wrote:
> > 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/