mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: marcelo@conectiva.com.br
Cc: kkeil@suse.de, kai.germaschewski@gmx.de, linux-kernel@vger.kernel.org
Subject: [PATCH]  Fix V.110 on HiSax HFC_PCI.
Date: Tue, 29 Apr 2003 10:28:40 +0100	[thread overview]
Message-ID: <1051608519.18316.118.camel@passion.cambridge.redhat.com> (raw)

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.

--- drivers/isdn/hisax/hfc_pci.c.orig	2003-04-26 00:19:36.000000000 +0100
+++ drivers/isdn/hisax/hfc_pci.c	2003-04-26 00:19:43.000000000 +0100
@@ -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 */








-- 
dwmw2


             reply	other threads:[~2003-04-29  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29  9:28 David Woodhouse [this message]
2003-04-29 14:19 ` Kai Germaschewski
2003-04-29 21:16   ` Marcelo Tosatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1051608519.18316.118.camel@passion.cambridge.redhat.com \
    --to=dwmw2@infradead.org \
    --cc=kai.germaschewski@gmx.de \
    --cc=kkeil@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®