Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964899AbVIOMSf (ORCPT ); Thu, 15 Sep 2005 08:18:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751179AbVIOMSf (ORCPT ); Thu, 15 Sep 2005 08:18:35 -0400 Received: from qproxy.gmail.com ([72.14.204.194]:21797 "EHLO qproxy.gmail.com") by vger.kernel.org with ESMTP id S1751176AbVIOMSe convert rfc822-to-8bit (ORCPT ); Thu, 15 Sep 2005 08:18:34 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tz1t+fcVNoFlkJxVwqNdYNkr2WSYdjolZYR9cxM2hjQWt5LGOzrRMBrzUHzFwHQRrdXlKFDaNcydcHqFzcj3kMu/PFkTFl/HoyRPh0sx17iv2UcXhGUq7gml+XCMM1fzaHB6TxZ6IddCfXMKdA5ymKyUdnP+vtIsFEHYfv6eFA4= Message-ID: Date: Thu, 15 Sep 2005 14:18:31 +0200 From: Ivan Korzakow Reply-To: ivan.korzakow@gmail.com To: fawadlateef@gmail.com Subject: Re: best way to access device driver functions Cc: linux-kernel@vger.kernel.org In-Reply-To: <1e62d137050915010361d10139@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <1e62d137050915010361d10139@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 625 Lines: 20 > > Adding ioctl in driver is not a good idea especially for 2.6.x series > kernel, rather use sysfs which is in kernel 2.6.x to support > user/kernel interaction too with other usage ..... > Thanks for your answer. I started looking in sysfs and driver model. Could you explain me why ioctl should be avoided ? Is it going to be deprecated in future kernel ? Regards, Ivan - 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/