Re: Regarding compat_autoconf.h generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/27/2012 04:25 PM, Ozan Çağlayan wrote:
Hi,

In the nouveau DRM driver there is a CONFIG_NOUVEAU_DEBUG which has to
be an integer between 0 and 7 with the default as 3.
Currently gen-compat-autoconf.sh defines this as a string by default:

            *) # Assume string
  61                 # XXX: add better checks to make sure what was on
  62                 # the right was indeed a string
  63                 echo "#ifndef $VAR"
  64                 echo "#define $VAR \"$VALUE\""
  65                 echo "#endif /* $VAR */ "
  66                 ;;

Is it OK to modify the script to allow defining integers? Also, it
seems that there is no difference with =m and =y:

               y)
  51                 echo "#ifndef $VAR"
  52                 echo "#define $VAR 1"
  53                 echo "#endif /* $VAR */ "
  54                 ;;
  55         m)
  56                 echo "#ifndef $VAR"
  57                 echo "#define $VAR 1"
  58                 echo "#endif /* $VAR */ "
  59                 ;;

How come this doesn't break things? Both =y and =m exist in config.mk.

Thanks!


Hi,

are you working o making nouveau work with compat-drivers? I just noticed that i915 is only activated driver and I have some problems with my nvidia card running nouveau and wanted to try out a new version.

Hauke
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux