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

Re: [microblaze-uclinux] Questions about the Ethernet interface



Hi Peter,

haven't got the xenet working yet, but close - however have found a bug 
you might like to pass on to montavista.

basically, it's because the irq for the device gets requested in 
xenet_open, however the xenet_ioctl call does an enable_irq(dev->irq).

So, if you haven't opened the device before doing the ioctl, you end up 
enable an interrupt that has no handler installed.  I'm not sure if 
linux is supposed to detect and block this situation, or whether it's up 
to the driver to put an interlock on the request_irq / enable_irq sequence.

not a biggie, but thought I should let you know.

Cheers,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/