> +#ifndef CONFIG_PPC
>       if (pdev->class != 0x020000) {
>               printk(KERN_ERR"NetXen function %d, class %x will not"
>                               "be enabled.\n",pci_func_id, pdev->class);
>               return -ENODEV;
>       }
> +#endif

This looks rather wrong.   Why would you require everyone to have
the class set to PCI_CLASS_NETWORK_ETHERNET, just not powerpc based
systems?

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to