From adbed1542809658436934572d2f76fd8e3b3ad72 Mon Sep 17 00:00:00 2001 From: reinoud Date: Tue, 20 Mar 2001 12:52:03 +0000 Subject: [PATCH] Replace `bitsperpixel' by `log2_bpp' for thats the value that is in it and not the number of bits per pixel ! --- sys/arch/arm32/include/vidc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/arm32/include/vidc.h b/sys/arch/arm32/include/vidc.h index 24941d07dd0f..7e4a1cbc9978 100644 --- a/sys/arch/arm32/include/vidc.h +++ b/sys/arch/arm32/include/vidc.h @@ -1,4 +1,4 @@ -/* $NetBSD: vidc.h,v 1.10 2001/02/25 17:17:55 reinoud Exp $ */ +/* $NetBSD: vidc.h,v 1.11 2001/03/20 12:52:03 reinoud Exp $ */ /* * Copyright (c) 1994,1995 Mark Brinicombe. @@ -220,7 +220,7 @@ struct vidc_mode { int pixel_rate; int hswr, hbsr, hdsr, hder, hber, hcr; int vswr, vbsr, vdsr, vder, vber, vcr; - int bitsperpixel; + int log2_bpp; int sync_pol; int frame_rate; }; @@ -240,7 +240,7 @@ typedef struct #define XRES mode.hder #define YRES mode.vder -#define BITSPERPIXEL mode.bitsperpixel +#define NUMCOLOURS (1 << mode.log2_bpp) struct vidc_info {