Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932413AbWB1Syr (ORCPT ); Tue, 28 Feb 2006 13:54:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932412AbWB1Syr (ORCPT ); Tue, 28 Feb 2006 13:54:47 -0500 Received: from gate.cs.rochester.edu ([192.5.53.207]:12515 "EHLO gate.cs.rochester.edu") by vger.kernel.org with ESMTP id S932413AbWB1Syq (ORCPT ); Tue, 28 Feb 2006 13:54:46 -0500 Date: Tue, 28 Feb 2006 13:54:45 -0500 (EST) From: Keith Parkins To: linux-kernel@vger.kernel.org Subject: newbie -- looking for 2.4->2.6 PCI example 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 Content-Length: 923 Lines: 24 Hey, I am about to port a small PCI module (~500 lines) from a 2.4 to a 2.6 kernel. I browsed Jonathon Corbet's articles on lwn.net but didn't notice any discussion on the pci differences. Could somebody point me to a small straightforward driver in the 2.4 tree that has an equally straightforward source in the 2.6 tree? The existing driver has poll, ioctl, open, release, probe, and remove callbacks and that's it. It also uses a mutex and spin_lock for polling and ioctl when calling copy_from_user/copy_to_user. Thanks! Keith -- Keith Parkins U of R Computer Science kparkins@cs.rochester.edu Computer Science Building, Room 606 (585) 275-1118 - 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/