All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hauke Mehrtens <hauke@hauke-m.de>
To: "Ozan Çağlayan" <ozancag@gmail.com>
Cc: backports@vger.kernel.org, mcgrof@kernel.org
Subject: Re: Regarding compat_autoconf.h generation
Date: Sun, 28 Oct 2012 13:50:05 +0100	[thread overview]
Message-ID: <508D29FD.2020704@hauke-m.de> (raw)
In-Reply-To: <CAFub=KSQ3xq1j8=dHqezh4NY05S7t0p4dSWdp=xa2HM74wL=Og@mail.gmail.com>

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

  parent reply	other threads:[~2012-10-28 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-27 14:25 Regarding compat_autoconf.h generation Ozan Çağlayan
2012-10-27 15:01 ` Luis R. Rodriguez
2012-10-28 12:50 ` Hauke Mehrtens [this message]
2012-10-28 14:50   ` Ozan Çağlayan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=508D29FD.2020704@hauke-m.de \
    --to=hauke@hauke-m.de \
    --cc=backports@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=ozancag@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.