[etherlab-users] [PATCH] Allow master to work with kernels >= 2.6.27

Florian Pose fp at igh-essen.com
Mon Mar 9 10:24:13 CET 2009


Hi Uwe,

On Fri, Mar 06, 2009 at 07:40:20PM +0100, Uwe Hermann wrote:
> I'm currently porting the r8169 driver to 2.6.28 (which builds fine by
> now, but not sure if it works properly yet). After a few hours of
> debugging I found a problem in the Ethercat master code, which is due to
> an API change in the 2.6.27 kernels.
> 
> The device_create() call has received another argument in >= 2.6.27.

the prototype of this function changes every 2 kernel releases... ;-)

> Attached is a patch which should fix the issue.

Thanks, I applied it a minute ago. It will be part of the next release.

> I'll post more patches and test results of r8169 on 2.6.28 later next
> week or so.

This would be great, I'm really keen on getting some feedback on how the
driver runs.

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list