Hello,


I prepared a patch for the mpu401_uart driver, with proposed changes. The fundamental "higlights":

-No API change needed. snd_mpu_uart401_new() can be maintained as is.
Drivers that use some other means of io, just overwrite mpu->write and mpu->read after calling snd_mpu_uart401_new() with driver specific code, just as the command port offset is handled. This lets keep Hardware dependent and hardware indepedent code separated.

-Build in support for PORT I/O (default) and MMIO (MPU401_HW_MMIO).

I would like to know your thoughts, if you accept it, reject it, or want
to send it to hell, etc :-)

Best Regards

Manuel Jander.

Attachment: patch-mpu401.bz2
Description: Binary data



Reply via email to