> 
> Not much different from doing it under Linux.  Your module initialization 
> function where you do all the PCI init will look pretty much identical to a 
> Linux driver, except that you'll call rtl_request_irq instead of 
> request_irq, if you install an interrupt handler.  And the RTLinux 
> interrupt handler has a different function prototype, and requires that you 
> call rtl_hard_enable_irq at the end of the irq.  Also, in the case of a 
> shared PCI interrupt, Linux figures out which device interrupted prior to 
> calling the IRQ.  In the case of RTLinux, they just give you the IRQ and 
> leave it up to you whether you want to poll or whatever else you need to do 
> to determine which device interrupted.
> 
> Since this is your first device driver work, if you don't already have a 
> copy, run, don't walk, to the bookstore and buy "Linux Device Drivers", by 
> Rubini.  I believe it's now in the second edition.

you also can find it online at

  http://www.xml.com/ldd/chapter/book/index.html

hofrat
-- [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/

Reply via email to