A doubt/advice on writing a device driver
Posted: Fri Sep 14, 2012 6:17 am
Hello,
I want to write a device driver for hard disk / floppy drive . I already wrote a floppy one. But I am trying to learn how everything works together.
I did give ATA PIO mode and IDE a look. But they do not talk about a set of steps to follow. They already assume we know PCI and DMA and stuff. Which again , I did read. My english is bad , so maybe I missed or could not understand the entire article. Like what is the configuration space and related how do we program them(What are they doing there). What is the ISA.
Can someone give me pointers to writing a device driver (For a hard disk )
Where to start.
I have implemented an OS upto floppy drive controller.
Regards
I want to write a device driver for hard disk / floppy drive . I already wrote a floppy one. But I am trying to learn how everything works together.
I did give ATA PIO mode and IDE a look. But they do not talk about a set of steps to follow. They already assume we know PCI and DMA and stuff. Which again , I did read. My english is bad , so maybe I missed or could not understand the entire article. Like what is the configuration space and related how do we program them(What are they doing there). What is the ISA.
Can someone give me pointers to writing a device driver (For a hard disk )
Where to start.
I have implemented an OS upto floppy drive controller.
Regards