From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Januszewski Subject: [PATCH 2/4] fbdev: add connector entries for uvesafb Date: Sat, 23 Jun 2007 12:51:46 +0200 Message-ID: <20070623105146.GC12623@spock.one.pl> Reply-To: spock@gentoo.org, linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I23Dd-0005lf-9R for linux-fbdev-devel@lists.sourceforge.net; Sat, 23 Jun 2007 03:51:53 -0700 Received: from ipn26-148.piekary.net ([83.238.26.148]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I23DZ-0003G3-Vz for linux-fbdev-devel@lists.sourceforge.net; Sat, 23 Jun 2007 03:51:52 -0700 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: linux-fbdev-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org 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 --- 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 ------------------------------------------------------------------------- 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/