Motorola Coldfire MCF52xx I2C device driver

uwe.kindler@cetoni.de uwe.kindler@cetoni.de
Tue Oct 25 06:58:00 GMT 2005


Hello Andrew,

here is a new patch that contains all your changes.

About using is_loaded() in the CDL option CYGNUM_DEVS_I2C_MCF52xx_ISR_PRIORITY_MODULE:

I work with the eCos Pro starterkit for SSV DilNet PC. The ethernet driver supplied with this starter kit also uses is_loaded() for checking if the platform HAL provides a valid default interrupt priority.

Here is the part of the platform CDL file that defines the interrupt priority:

cdl_option CYGNUM_HAL_M68K_MCF52xx_ISR_DEFAULT_PRIORITY_I2C {
display "Default priority for I2C interrupts"
flavor data
calculated 45
description "
This configuration value provides a suitable default value for
the I2C interrupt priority."
}

So I thought it would be a good idea to do it the same way like the supplied drivers in eCos Pro starterkit.

Regards, Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c_mcf52xx.patch
Type: application/octet-stream
Size: 34346 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20051025/e5159c13/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecos_db.patch
Type: application/octet-stream
Size: 628 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20051025/e5159c13/attachment-0001.obj>


More information about the Ecos-patches mailing list