Commit 8d252906 authored by Martin H. VanLeeuwen's avatar Martin H. VanLeeuwen Committed by Linus Torvalds

[PATCH] 2.5.56, isapnp cards not found

This patch allows isapnp cards to be detected now.  Seems around 2.5.54,
a change in isapnp_build_device_list changed:

	card->protocol = &isapnp_protocol;
	 to
	card->protocol = &isapnp_card_protocol;

This patch adapts isapnp_init to the above change.
parent b68fcd13
...@@ -1117,7 +1117,7 @@ int __init isapnp_init(void) ...@@ -1117,7 +1117,7 @@ int __init isapnp_init(void)
isapnp_build_device_list(); isapnp_build_device_list();
cards = 0; cards = 0;
protocol_for_each_card(&isapnp_protocol,card) { protocol_for_each_card(&isapnp_card_protocol,card) {
cards++; cards++;
if (isapnp_verbose) { if (isapnp_verbose) {
printk(KERN_INFO "isapnp: Card '%s'\n", card->name[0]?card->name:"Unknown"); printk(KERN_INFO "isapnp: Card '%s'\n", card->name[0]?card->name:"Unknown");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment