On Friday 18 November 2005 16:21, Rico -mc- Gloeckner wrote:
> Hi,
>
> after installing visdn kernelmodules and running visdn_configurator, i
> get this rather odd results:
>
> [...]
> [ 2146.921526] hfc-pci: pci-0000:00:0c.0: hfc-pci: Stuck in busy state...

Ohhhh... I would have never thought I would have seen that message. It would 
signal faulty hardware, however, looking at the code I'm seeing that I may 
not be waiting for enough time.

You may try changing hfc_wait_busy routine as follows:

static inline void hfc_wait_busy(struct hfc_card *card)
{
        int i;
        for (i=0; i<100; i++) {
                if (!(hfc_inb(card, hfc_STATUS) & hfc_STATUS_BUSY))
                        return;

-               udelay(5);
+               udelay(100);
        }

It will not hurt and 10ms will be enough for the card to initialize.

Let me know if it fixes your problem.

Bye,

-- 
  Daniele Orlandi
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to