Re: Kernel oops on XXS1500 in au1000eth.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pete Popov <ppopov@mvista.com> writes:

> On Tue, 2004-01-13 at 10:07, Goswin von Brederlow wrote:
> > Hi,
> > 
> > when compiling a kernel for my XXS1500 I allways ended up with a
> > kernel oops in the network driver (au1000eth.c).
> > 
> > Finaly I checked the actual kernel source the running kernel was build
> > from and found "CONFIG_BCM5222_DUAL_PHY" was set. Setting that solves
> > the oops.
> > 
> > Maybe that could be caught in some way and prevented.
> 
> Well, the kernel shouldn't be crashing but as far as the BCM dual phy
> thing -- I'm not sure how to detect it at run time without knowing ahead
> of time that we've got one.  I admittedly haven't spent too much time
> thinking about this problem but I didn't see an easy way to handle it.
> 
> Pete

Maybe some

if (mach == MACH_XXS1500) ...

construct? The MACH_XXS1500 must be good for something.

Hopefully MyCable will change the name when they design a new board
with a different network thing.

MfG
        Goswin


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux