On Wed, Jun 05, 2002 at 12:57:45AM -0700, Brad Hines wrote: > And be aware that you'll have to spend a lot of time grepping through the > Linux kernel sources to figure out what's really going on, in many > cases. And be aware that what's really going on changes with every major > kernel release (e.g., from 2.2 to 2.4). ;)
My preference is to write RTLinux drivers that use "human assisted" discovery. If you have a Linux driver or system, then it is not so hard. Use /sbin/lspci -v and /sbin/lspci -b to get the important data. Put this in a header file. Write a simple RTLinux driver that does not use complex Linux interfaces. If you need to run it on another system, use lspci again. The Linux PCI driver is designed to work on every possible machine configuration and requires dynamic discovery: RTLinux drivers often do not need this. > > > At 01:34 PM 6/4/2002 -0500, [EMAIL PROTECTED] wrote: > >Does anyone have any advice or (more preferably) examples > >of a PCI device driver written for RTLinux? I'm writing a device > >driver for a PCI framegrabber and I'm not sure I'm heading in > >the right direction. Not only is this my first experience with > >RTLinux, but it's also my first experience writing a device > >driver. Thanks for any help! > > > >Brian Rivers > > > >-- [rtl] --- > >To unsubscribe: > >echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR > >echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] > >-- > >For more information on Real-Time Linux see: > >http://www.rtlinux.org/ > > > > = = = = = = = = = = = = = = = = > > Brad Hines > Practical Instruments, Inc. > 10321 Quill Ave. > Sunland, CA 91040-3023 > 818-352-7099 > Fax: 818-293-0141 > > > -- [rtl] --- > To unsubscribe: > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] > -- > For more information on Real-Time Linux see: > http://www.rtlinux.org/ -- --------------------------------------------------------- Victor Yodaiken Finite State Machine Labs: The RTLinux Company. www.fsmlabs.com www.rtlinux.com -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/