CAMUS Benoit wrote:
> Hello all,
> I want to use rtnet with xenomai on a custom board (based on
> pxa255 with smc91x ethernet chip).
> Was glad to see this chip was supported, but a bit less when i tried to=
> use it.
> Loading it failed at probing even with the right physical address of th=
> chip. I'm on the way to solve this refering to standart driver (probabl=
> an ioremap missing).
> I saw too that smc_tx and smc_phy_interrupt were commented, that's
> So as i need a fully fonctionnal driver to test rtnet, i'd like to have=
> a statement of the driver, from that i'll can try to do what's missing
> or correct bugs.
The driver was once hacked for demo purposes to run on a fairly low-end
x86 embedded board (DIL/NetPC by SSV) which had a fairly slow I/O
interface. For that reasons, a hack like re-enabling IRQs inside the IRQ
handler of that device exists. I bet you have a better interface,
something like DMA...
Well, I would say go wild with an updated version that targets
up-to-date hardware. We could then look at both versions, either merge
them (maybe via CONFIG-magic) or simply move the old variant into a
different file. The problem is anyway that I will likely not be able to
dig out the DIL/NetPC and do regression testing. But I don't think there
are real users of this driver out there.