Re: [BK PATCH] pcibios_* removals for 2.5.40

From: Jeff Garzik (jgarzik@pobox.com)
Date: Fri Oct 04 2002 - 16:36:47 EST


Greg KH wrote:
> diff -Nru a/drivers/net/aironet4500_card.c b/drivers/net/aironet4500_card.c
> --- a/drivers/net/aironet4500_card.c Fri Oct 4 13:47:26 2002
> +++ b/drivers/net/aironet4500_card.c Fri Oct 4 13:47:26 2002
> @@ -80,38 +77,29 @@
> int awc4500_pci_probe(struct net_device *dev)
> {
> int cards_found = 0;
> - static int pci_index; /* Static, for multiple probe calls. */
> u8 pci_irq_line = 0;
> // int p;
> -
> - unsigned char awc_pci_dev, awc_pci_bus;
> -
> + struct pci_dev *pdev = NULL;
> +
> if (!pci_present())
> return -1;

pci_present can be eliminated

-
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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:47 EST