All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: PATA programming
PostPosted: March 14th, 2007, 6:21 
Offline

Joined: March 14th, 2007, 6:12
Posts: 3
Hi ,
i'would like to write a program that can talk to PATA devices .
I'm a newby and i need some help on that .
I've read s lot of documents about this argument , so in short this is what i understood .
First of all you must scan the PCI but searching for ATA devices .
What i've not completely understood is how to find such a device .
Do u have to look at device class in PCI config header ?

After you've found the device ,you have to map I/O addresses reading them from PCI config header of the device is it right ?

Once you've got the base I/O addresses you can send commands to the selected device .

Can somebody tell me is these steps are right and if other steps are needed on order to send commands to the device ?

Thanks .


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group