can you show me a rudimentary hardware driver in linux?

@melta101 or @32bitSaviour can either of you show me a rudimentary hardware driver in linux? How much of it is config and how much of it is code?
Was this page helpful?