newbie -- looking for 2.4->2.6 PCI example
- From: Keith Parkins <kparkins@xxxxxxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 13:54:45 -0500 (EST)
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@xxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: newbie -- looking for 2.4->2.6 PCI example
- From: Jiri Slaby
- Re: newbie -- looking for 2.4->2.6 PCI example
- Prev by Date: Re: Drastic Slowdown of 'fseek()' Calls From 2.4 to 2.6 -- VMM Change?
- Next by Date: Re: [slightly OT] dvdrecord 0.3.1 -- and yes, dev=/dev/cdrom works ;)
- Previous by thread: [WATCHDOG] pcwd.c git patches
- Next by thread: Re: newbie -- looking for 2.4->2.6 PCI example
- Index(es):
Relevant Pages
- Re: newbie -- looking for 2.4->2.6 PCI example
... I am about to port a small PCI module from a 2.4 to a 2.6 ... straightforward
driver in the 2.4 tree that has an equally straightforward ... The existing driver has
poll, ioctl, open, ... Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
... (Linux-Kernel) - device not equipped message
... I am trying to write a driver for a PCI module on an SGI platform. ...
my first IRIX driver and it is very much a skeleton driver at the moment I ... install
it as per devece drivers development guide but when I run autoconfig ... (comp.sys.sgi.misc)