Commit e0630f60 authored by Jeff Garzik's avatar Jeff Garzik

Merge pobox.com:/garz/repo/netdev-2.6/wan-fixes

into pobox.com:/garz/repo/net-drivers-2.6
parents f1d920a4 9e298463
...@@ -910,10 +910,10 @@ L: linux-scsi@vger.kernel.org ...@@ -910,10 +910,10 @@ L: linux-scsi@vger.kernel.org
W: http://www.icp-vortex.com/ W: http://www.icp-vortex.com/
S: Supported S: Supported
GENERIC HDLC DRIVER, N2 AND C101 DRIVERS GENERIC HDLC DRIVER, N2, C101, PCI200SYN and WANXL DRIVERS
P: Krzysztof Halasa P: Krzysztof Halasa
M: khc@pm.waw.pl M: khc@pm.waw.pl
W: http://hq.pm.waw.pl/hdlc/ W: http://www.kernel.org/pub/linux/utils/net/hdlc/
S: Maintained S: Maintained
HAYES ESP SERIAL DRIVER HAYES ESP SERIAL DRIVER
......
...@@ -155,7 +155,8 @@ config HDLC ...@@ -155,7 +155,8 @@ config HDLC
Network) card supported by this driver and you are planning to Network) card supported by this driver and you are planning to
connect the box to a WAN. connect the box to a WAN.
You will need supporting software from <http://hq.pm.waw.pl/hdlc/>. You will need supporting software from
<http://www.kernel.org/pub/linux/utils/net/hdlc/>.
Generic HDLC driver currently supports raw HDLC, Cisco HDLC, Frame Generic HDLC driver currently supports raw HDLC, Cisco HDLC, Frame
Relay, synchronous Point-to-Point Protocol (PPP) and X.25. Relay, synchronous Point-to-Point Protocol (PPP) and X.25.
...@@ -225,7 +226,7 @@ config PCI200SYN ...@@ -225,7 +226,7 @@ config PCI200SYN
Driver for PCI200SYN cards by Goramo sp. j. Driver for PCI200SYN cards by Goramo sp. j.
If you have such a card, say Y here and see If you have such a card, say Y here and see
<http://hq.pm.waw.pl/hdlc/>. <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
To compile this as a module, choose M here: the To compile this as a module, choose M here: the
module will be called pci200syn. module will be called pci200syn.
...@@ -239,7 +240,7 @@ config WANXL ...@@ -239,7 +240,7 @@ config WANXL
Driver for wanXL PCI cards by SBE Inc. Driver for wanXL PCI cards by SBE Inc.
If you have such a card, say Y here and see If you have such a card, say Y here and see
<http://hq.pm.waw.pl/hdlc/>. <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
To compile this as a module, choose M here: the To compile this as a module, choose M here: the
module will be called wanxl. module will be called wanxl.
...@@ -292,7 +293,7 @@ config N2 ...@@ -292,7 +293,7 @@ config N2
SDL Communications Inc. SDL Communications Inc.
If you have such a card, say Y here and see If you have such a card, say Y here and see
<http://hq.pm.waw.pl/hdlc/>. <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
Note that N2csu and N2dds cards are not supported by this driver. Note that N2csu and N2dds cards are not supported by this driver.
...@@ -308,7 +309,7 @@ config C101 ...@@ -308,7 +309,7 @@ config C101
Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd. Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd.
If you have such a card, say Y here and see If you have such a card, say Y here and see
<http://hq.pm.waw.pl/pub/hdlc/> <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called c101. module will be called c101.
......
...@@ -315,7 +315,7 @@ static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, u1 ...@@ -315,7 +315,7 @@ static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, u1
#endif #endif
stats->rx_packets++; stats->rx_packets++;
stats->rx_bytes += skb->len; stats->rx_bytes += skb->len;
skb->dev->last_rx = jiffies; dev->last_rx = jiffies;
skb->protocol = hdlc_type_trans(skb, dev); skb->protocol = hdlc_type_trans(skb, dev);
netif_rx(skb); netif_rx(skb);
} }
......
...@@ -734,7 +734,7 @@ irqreturn_t z8530_interrupt(int irq, void *dev_id, struct pt_regs *regs) ...@@ -734,7 +734,7 @@ irqreturn_t z8530_interrupt(int irq, void *dev_id, struct pt_regs *regs)
u8 intr; u8 intr;
static volatile int locker=0; static volatile int locker=0;
int work=0; int work=0;
struct z8530_irqhandler *irqs=dev->chanA.irqs; struct z8530_irqhandler *irqs;
if(locker) if(locker)
{ {
...@@ -758,6 +758,8 @@ irqreturn_t z8530_interrupt(int irq, void *dev_id, struct pt_regs *regs) ...@@ -758,6 +758,8 @@ irqreturn_t z8530_interrupt(int irq, void *dev_id, struct pt_regs *regs)
/* Now walk the chip and see what it is wanting - it may be /* Now walk the chip and see what it is wanting - it may be
an IRQ for someone else remember */ an IRQ for someone else remember */
irqs=dev->chanA.irqs;
if(intr & (CHARxIP|CHATxIP|CHAEXT)) if(intr & (CHARxIP|CHATxIP|CHAEXT))
{ {
if(intr&CHARxIP) if(intr&CHARxIP)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment