Writing a device driver can be quite simple or can be almost arbitrarily complex. For example, I participated in a project where it took six of us almost three years to solve the ONE problem in a device driver. Of course, we cleared up dozens of other errors looking for it ... the code has improved significantly. The fix turned out to be an eight-line patch, which cost conservatively about a million dollars.
But, as a side project, I wrote the ethernet driver from the chip data sheet a week later and took another week to debug it. No need to touch him since.
You canβt even say how much the driver will work; A GPU driver can cost hundreds of millions, a driver for a single LED costs several hours of work most.
Andrew McGregor Feb 08 '10 at 10:01 2010-02-08 22:01
source share