public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* newbie -- looking for 2.4->2.6 PCI example
@ 2006-02-28 18:54 Keith Parkins
  2006-02-28 20:12 ` Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Parkins @ 2006-02-28 18:54 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: newbie -- looking for 2.4->2.6 PCI example
  2006-02-28 18:54 newbie -- looking for 2.4->2.6 PCI example Keith Parkins
@ 2006-02-28 20:12 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2006-02-28 20:12 UTC (permalink / raw)
  To: Keith Parkins; +Cc: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Keith Parkins napsal(a):
> 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.
only guessing...
scull from ldd2 and ldd3?

regards,
- --
Jiri Slaby         www.fi.muni.cz/~xslaby
~\-/~      jirislaby@gmail.com      ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEBK63MsxVwznUen4RAgKPAJ4ziiJjJ1q9yVDnsy4wh8zGnmDugQCfbS33
DwYjUIn75X9U4Q5lIyH+aEo=
=jXdK
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-28 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28 18:54 newbie -- looking for 2.4->2.6 PCI example Keith Parkins
2006-02-28 20:12 ` Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox