From: Richard E. <ric...@br...> - 2004-01-25 17:18:47
|
>There are pros for each side. Presenting two levels is more the Linux >way, while linearizing the interrupts is easier for driver developers >and has no real disadvantages. I tend to prefer the Linux way, tmbinc >seems to prefer the GameCube SDK way. I really prefer the two-level Linux way of doing it, simply because I think it's more clean. I my opinion the first level should not be aware of the different interrupts for the different devices. This should be up to the specific driver to deal with. Isn't it quite obvious that it's up to the second level dvd driver (or whatever driver) to find out if it's a dvd_transfer_complete or a dvd_transfer_error interrupt? This is just my point of view anyway.... Richard Eng |