Fix V.110 on HiSax HFC_PCI.
PATCH 1/1 Fix V.110 on HiSax HFC_PCI.
This patch fixes V.110 dialin to HFC_PCI ISDN adapters, which weren't sending V.110 idle frames correctly before due to missing wakeups from the low-level driver.
This is for 2.4 only -- 2.5 with ISDN doesn't even boot for me at the moment.
isdn/hisax/hfc_pci.c renamed from isdn/hisax/hfc_pci.c.orig +4 -0
@@ -687,6 +687,10 @@debugl1 (cs,"hfcpci_fill_fifo_trans %d frame length %d discarded" , bcs->channel, bcs->tx_skb->len); +if (bcs->st->lli.l1writewakeup && + (PACKET_NOACK != bcs->tx_skb->pkt_type)) + bcs->st->lli.l1writewakeup (bcs->st, bcs->tx_skb->len); +dev_kfree_skb_any (bcs->tx_skb);cli (); bcs->tx_skb =skb_dequeue (&bcs->squeue);/* fetch next data */
Signature · 1 line
dwmw2
Quoted 10 lines · David Woodhouse
This patch fixes V.110 dialin to
HFC_PCIISDN adapters, which weren't sending V.110 idle frames correctly before due to missing wakeups from the low-level driver.This is for 2.4 only -- 2.5 with ISDN doesn't even boot for me at the moment.
isdn/hisax/hfc_pci.c line 696
Quoted 10 lines
isdn/hisax/hfc_pci.c renamed from isdn/hisax/hfc_pci.c.orig +4
-0@@ -687,6 +687,10 @@debugl1 (cs,"hfcpci_fill_fifo_trans %d frame length %d discarded" , bcs->channel, bcs->tx_skb->len); +if (bcs->st->lli.l1writewakeup && + (PACKET_NOACK != bcs->tx_skb->pkt_type)) + bcs->st->lli.l1writewakeup (bcs->st, bcs->tx_skb->len); +dev_kfree_skb_any (bcs->tx_skb);cli (); bcs->tx_skb =skb_dequeue (&bcs->squeue);/* fetch next data */
Thanks, this looks fine. I'll merge it if Marcelo doesn't take it right away (please do ;)
--Kai
Quoted 14 lines · Kai Germaschewski
Quoted 12 lines · David Woodhouse
This patch fixes V.110 dialin to
HFC_PCIISDN adapters, which weren't sending V.110 idle frames correctly before due to missing wakeups from the low-level driver.This is for 2.4 only -- 2.5 with ISDN doesn't even boot for me at the moment.
isdn/hisax/hfc_pci.c renamed from isdn/hisax/hfc_pci.c.orig +0
-0@@ -687,6 +687,10 @@debugl1 (cs,"hfcpci_fill_fifo_trans %d frame length %d discarded" , bcs->channel, bcs->tx_skb->len);
Quoted 11 lines
isdn/hisax/hfc_pci.c line 696
Quoted 8 lines
isdn/hisax/hfc_pci.c renamed from isdn/hisax/hfc_pci.c.orig +4
-0+if (bcs->st->lli.l1writewakeup && + (PACKET_NOACK != bcs->tx_skb->pkt_type)) + bcs->st->lli.l1writewakeup (bcs->st, bcs->tx_skb->len); +dev_kfree_skb_any (bcs->tx_skb);cli (); bcs->tx_skb =skb_dequeue (&bcs->squeue);/* fetch next data */ Thanks, this looks fine. I'll merge it if Marcelo doesn't take it right away (please do ;)
Done.
Thanks.