Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 26 Jul 2002 04:56:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 26 Jul 2002 04:56:15 -0400 Received: from pc2-cwma1-5-cust12.swa.cable.ntl.com ([80.5.121.12]:13812 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Fri, 26 Jul 2002 04:56:15 -0400 Subject: Re: [PATCH] IDE 104 From: Alan Cox To: martin@dalecki.de Cc: Linus Torvalds , Kernel Mailing List In-Reply-To: <3D40F8F9.1050507@evision.ag> References: <3D40F8F9.1050507@evision.ag> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 26 Jul 2002 11:13:31 +0100 Message-Id: <1027678411.13428.3.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 18 On Fri, 2002-07-26 at 08:23, Marcin Dalecki wrote: > - Make the bit-sliced data types in hdreg.h use the bit-slice data types > instead of the generic ones. This makes clear that those are supposed > to be register masks. Because its an external API it needs to remain constant. Swapping uchar/uint looks fine and the structure is off the drive anyway. However they should be __u16 __u8 __u32 so that C libraries and apps can still use the header (its __u16 because 'u16' cannot be exposed to user space directly or via libc) Alan - 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/