Am Samstag 09 Februar 2008 schrieb Michael Buesch:
> +static void b43_print_driverinfo(void)
> +{
> +     const char *feat_pci = "", *feat_pcmcia = "", *feat_nphy = "",
> +                *feat_leds = "", *feat_rfkill = "";
> +
> +#ifdef CONFIG_B43_PCI_AUTOSELECT
> +     feat_pci = "P";
> +#endif
> +#ifdef CONFIG_B43_PCMCIA
> +     feat_pcmcia = "M";
> +#endif
> +#ifdef CONFIG_B43_NPHY
> +     feat_nphy = "N";
> +#endif
> +#ifdef CONFIG_B43_LEDS
> +     feat_leds = "L";
> +#endif
> +#ifdef CONFIG_B43_RFKILL
> +     feat_rfkill = "R";
> +#endif
> +     printk(KERN_INFO "Broadcom 43xx driver loaded "
> +            "[ Features: %s%s%s%s%s, Firmware-ID: "
> +            B43_SUPPORTED_FIRMWARE_ID " ]\n",
> +            feat_pci, feat_pcmcia, feat_nphy,
> +            feat_leds, feat_rfkill);

This has the disadvantage that you have to load the driver to see that it 
fails, then unload it, boot a working kernel (if WLAN is the only connection 
method), download the right firmware, reboot the wanted kernel.

This would be shorter if this information can be presented in the output 
of 'modinfo /lib/modules/2.6.??/kernel/drivers/net/wireless/b43/b43.ko'

HS
_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to