kernel 2.6.12 pci.h has made obsolete any reference to struct pci_dev's slot_name. pdev->slot_name needs to be replaced with pci_name(pdev). the bcm4400 module will no longer compile. i am attaching a new ebuild and a patch file. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 61530 [details] bcm4400-3.0.8-r1.ebuild
Created attachment 61531 [details] files/bcm4400-3.0.8-pci_name.patch
i have made Broadcom aware of this problem and given them the patch. They have acknowledged it and are planning to patch their driver (upstream).
Can you please attach a unified diff when you make changes to an ebuild instead of the full ebuild? Otherwise the changes are ok, thanks, fixed.
Out of interest, why do you use this driver? Isn't there an in-kernel version?
Daniel, At the time I began using it, there were issues with b44, the in-kernel module. I have no preference now either way, just force of habit. Is b44 > bcm4400 now? Phil
It's just easier and nicer for the drivers to be included in the kernel. Would avoid running into problems like this for a start. It would be worth testing b44 on 2.6.12 and filing bugs at http://bugzilla.kernel.org if you have the time.
*** Bug 116294 has been marked as a duplicate of this bug. ***