[patch] Enhancements for deblob-2.6.30

Rubén Rodríguez Pérez ruben at gnu.org
Tue Sep 22 08:42:53 UTC 2009

> > BNXII or e100, that the 2.6.24 deblobber was just removing.
> Err...  BNX2 is indeed disabled, but e100 is fixed properly by
> deblob-2.6.24.

Sure, I recalled it wrong. It was the older 2.6.24 deblobber the one
removing those drivers. It is still the one used by gNS, I think.

> Please post the additional changes you made to avoid broken code in
> 2.6.24, maybe that will ease the remaining work I have for a
> latest-generation 2.6.26, .25, .24 and earlier.

The attached piece of code was added to the end of the 2.6.30 deblobber,
including the proper paths for the related 2.6.24 files. I think it is
not needed in our current version of the deblobber (the second patch I
sent), because that one already deals with wrong paths.
-------------- next part --------------
announce DRM_MGA - "Matrox g200/g400"
clean_blob drivers/char/drm/mga_ucode.h
clean_blob drivers/char/drm/mga_warp.c
clean_kconfig -f drivers/char/drm/Kconfig 'DRM_MGA'
clean_mk CONFIG_DRM_MGA drivers/char/drm/Makefile

announce DRM_R128 - "ATI Rage 128"
clean_sed '
/^static int r128_do_init_cce([^;]*$/,/^}$/{
  /^    r128_cce_load_microcode(dev_priv);$/{
        DRM_ERROR("Missing Free microcode!\\n");\
        dev->dev_private = (void *)dev_priv;\
        return -EINVAL;
}' drivers/char/drm/r128_cce.c 'report missing Free microcode'
clean_blob drivers/char/drm/r128_cce.c
clean_kconfig -f drivers/char/drm/Kconfig 'DRM_R128'
clean_mk CONFIG_DRM_R128 drivers/char/drm/Makefile

announce DRM_RADEON - "ATI Radeon"
clean_sed '
/^static int radeon_do_init_cp([^;]*$/,/^}$/{
  /^    radeon_cp_load_microcode(dev_priv);$/{
        DRM_ERROR("Missing Free microcode!\\n");\
        return -EINVAL;
}' drivers/char/drm/radeon_cp.c 'report missing Free microcode on init'
clean_sed '
/^static int radeon_do_resume_cp([^;]*$/,/^}$/{
  /^    radeon_cp_load_microcode(dev_priv);$/{
        DRM_ERROR("Missing Free microcode!\\n");\
        return -EINVAL;
}' drivers/char/drm/radeon_cp.c 'report missing Free microcode on resume'
clean_blob drivers/char/drm/radeon_cp.c
clean_blob drivers/char/drm/radeon_microcode.h
clean_sed '
/^int r600_do_init_cp([^;]*$/,/^}$/{
  /^            r[67]00_cp_load_microcode(dev_priv);$/{
                do {\
                        DRM_ERROR("Missing Free microcode!\\n");\
                        return -EINVAL;\
                } while (0);
}' drivers/char/drm/r600_cp.c 'report missing Free microcode on init'
clean_sed '
/^int r600_do_resume_cp([^;]*$/,/^}$/{
  /^            r[67]00_cp_load_microcode(dev_priv);$/{
                DRM_ERROR("Missing Free microcode!\\n");\
                return -EINVAL;
}' drivers/char/drm/r600_cp.c 'report missing Free microcode on resume'
clean_blob drivers/char/drm/r600_cp.c
clean_blob drivers/char/drm/r600_microcode.h
clean_kconfig -f drivers/char/drm/Kconfig 'DRM_RADEON'
clean_mk CONFIG_DRM_RADEON drivers/char/drm/Makefile

announce IPW2100 - "Intel PRO/Wireless 2100 Network Connection"
reject_firmware drivers/net/wireless/ipw2100.c
clean_blob drivers/net/wireless/ipw2100.c
clean_kconfig drivers/net/wireless/Kconfig 'IPW2100'
clean_mk CONFIG_IPW2100 drivers/net/wireless/ipw2x00/Makefile

announce IPW2200 - "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
reject_firmware drivers/net/wireless/ipw2200.c
clean_blob drivers/net/wireless/ipw2200.c
clean_kconfig drivers/net/wireless/Kconfig 'IPW2200'
clean_mk CONFIG_IPW2200 drivers/net/wireless/ipw2x00/Makefile

announce P54_PCI - "Prism54 PCI support"
reject_firmware drivers/net/wireless/p54pci.c
clean_blob drivers/net/wireless/p54pci.c
clean_kconfig drivers/net/wireless/Kconfig 'P54_PCI'
clean_mk CONFIG_P54_PCI drivers/net/wireless/Makefile

announce SND_MSND_PINNACLE - "Support for Turtle Beach MultiSound Pinnacle"
clean_blob sound/oss/msnd_pinnacle.h
reject_firmware sound/oss/msnd_pinnacle.c
clean_blob sound/oss/msnd_pinnacle.c
clean_kconfig sound/oss/Kconfig 'SND_MSND_PINNACLE'
clean_mk CONFIG_SND_MSND_PINNACLE sound/oss/Makefile

reject_firmware ubuntu/sound/alsa-driver/isa/wavefront/wavefront_fx.patch
reject_firmware ubuntu/sound/alsa-driver/isa/sb/sb16_csp.patch
reject_firmware ubuntu/sound/alsa-driver/pci/emu10k1/emu10k1_main.patch
reject_firmware ubuntu/sound/alsa-driver/pci/riptide/riptide.patch

More information about the linux-libre mailing list