linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: spock@gentoo.org
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>,
	linux-fbdev-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/4] fbdev: add connector entries for uvesafb
Date: Sat, 23 Jun 2007 11:06:27 -0700	[thread overview]
Message-ID: <20070623110627.c911373c.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070623105146.GC12623@spock.one.pl>

On Sat, 23 Jun 2007 12:51:46 +0200 Michal Januszewski <spock@gentoo.org> wrote:

> Add connector's idx and val constants for v86d and uvesafb.
> 
> Also change the maximum message size to 4k to allow transfers of VBE
> data blocks from userspace.
> 
> Signed-off-by: Michal Januszewski <spock@gentoo.org>
> ---
> include/linux/connector.h |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/include/linux/connector.h b/include/linux/connector.h
> index 10eb56b..46b2aba 100644
> --- a/include/linux/connector.h
> +++ b/include/linux/connector.h
> @@ -36,14 +36,15 @@
>  #define CN_VAL_CIFS                     0x1
>  #define CN_W1_IDX			0x3	/* w1 communication */
>  #define CN_W1_VAL			0x1
> +#define CN_IDX_V86D			0x4
> +#define CN_VAL_V86D_UVESAFB		0x1
>  
> -
> -#define CN_NETLINK_USERS		4
> +#define CN_NETLINK_USERS		5
>  
>  /*
>   * Maximum connector's message size.
>   */
> -#define CONNECTOR_MAX_MSG_SIZE 	1024
> +#define CONNECTOR_MAX_MSG_SIZE 	4096
>  
>  /*
>   * idx and val are unique identifiers which 
> 
> 

Evgeniy, could you please review this?

The need to add these enumerations for unrelated subsystems to connector.h
may get a bit ugly as time passes, but I guess it's OK for now.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  reply	other threads:[~2007-06-23 18:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-23 10:51 [PATCH 2/4] fbdev: add connector entries for uvesafb Michal Januszewski
2007-06-23 18:06 ` Andrew Morton [this message]
2007-06-23 20:05   ` Evgeniy Polyakov

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=20070623110627.c911373c.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=spock@gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).