@freddix
Quote:
freddix wrote:
@All:
Generally, when someone adapt a Linux drivers to Amiga, are there several or few changes to do ?
Usually you can only use the Linux driver as a way to see what other people do. There are some part of code you can lift directly if you want to but it's rarely worth it. The best idea is to rip out the fundamentals, put them into your own harness, and then build on that, using the Linux source to see how they do it, and the datasheet to see
why they do it like that.
That's what I did with my TV card drivers, anyway. I made frequent reference to the Linux drivers, but there's no code in my program that's used from it, as I've done it in a much cleaner (in my opinion) and more Amiga-like system
It's not
massively difficult, but you'll need to persevere when things get complicated. It is a great way to learn about drivers though, and can be quite fun and very rewarding. The sense of satisfaction gleaned from seeing the first successful output is very strong!
Good luck if you decide to give it a go yourself, there's plenty of people here who'll be more than happy to help (myself included)!