Daniel Rodrick wrote:
Hi List, I was curious that can we develop a generic disk driver that could handle all the kinds of hard drives - IDE, SCSI, RAID et al? I thought we could use the BIOS interrupt 13H for this purpose, but ran into a LOT of real mode / protected mode issues. Any other ideas?
Aside from the real/protected mode issues (which are pretty much a show-stopper right there), the performance would be horrible. Usually the Interrupt 13 code on especially the more advanced controllers like hardware RAID, etc. is designed solely to function, with little attention to speed, and the performance tends to be horrible - look at versions of Ghost that run into DOS and look how long it takes to image a drive connected to an IBM ServeRAID controller..
-- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@xxxxxxxxxxxxx Home Page: http://www.roberthancock.com/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/