Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Dec 2001 03:33:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Dec 2001 03:33:47 -0500 Received: from netfinity.realnet.co.sz ([196.28.7.2]:6040 "HELO netfinity.realnet.co.sz") by vger.kernel.org with SMTP id ; Fri, 7 Dec 2001 03:33:37 -0500 Date: Fri, 7 Dec 2001 10:36:51 +0200 (SAST) From: Zwane Mwaikambo X-X-Sender: To: Cc: Linux Kernel Subject: Stupid PCI Bit-naming convention question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Most things in computers start from 0, so an 8bit variable starts at bit0-7. With 2^x determining the highest value an x bit variable can hold. Cheers, Zwane Mwaikambo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/