]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: fix id number for second eth device on 5275 ColdFire
authorGreg Ungerer <gerg@uclinux.org>
Tue, 17 Apr 2012 06:58:35 +0000 (16:58 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 17 Apr 2012 06:58:35 +0000 (16:58 +1000)
commit341fae989d839a4c483b0475d6578dff391fa418
tree73d0bd876b1239a46cac30316f988d548eddd61b
parentfa2e063062e100a2fe9b25a045287c3a3af79fa7
m68knommu: fix id number for second eth device on 5275 ColdFire

The second ColdFire FEC ethernet device should have an id number of 1,
not 0. Otherwise it clashes with the first FEC ethernet device.

On booting a kernel on a 5275 based board you will get messages out of
the kernel like this:

    <4>------------[ cut here ]------------
    <4>WARNING: at fs/sysfs/dir.c:508 0x0a8b50()
    <4>sysfs: cannot create duplicate filename 'fec.0'

And likely you won't be able to completely boot up after this at all.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/coldfire/device.c