Re: Patch for isapnp OOPS

From: Nicholas Dronen (ndronen@frii.com)
Date: Mon Jan 10 2000 - 21:14:14 EST


On Mon, Jan 10, 2000 at 05:16:48AM +0000, Bill Crawford wrote:

This works just perfectly for me.

Regards,

Nicholas Dronen
ndronen@frii.com

>
> This appears to fix the oops in isapnp_create_device at boot:
>
> --- linus-2.3.38/drivers/pnp/isapnp.c Mon Jan 10 02:50:24 2000
> +++ linux/drivers/pnp/isapnp.c Mon Jan 10 04:13:13 2000
> @@ -991,6 +991,7 @@
> continue;
> if ((card = isapnp_alloc(sizeof(struct pci_bus))) == NULL)
> continue;
> + INIT_LIST_HEAD(&card->devices);
> card->number = csn;
> card->vendor = (header[1] << 8) | header[0];
> card->device = (header[3] << 8) | header[2];

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



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:17 EST