patch-2.2.11 linux/drivers/net/hostess_sv11.c
Next file: linux/drivers/net/irda/toshoboe.c
Previous file: linux/drivers/net/hamradio/yam9600.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Aug 9 12:04:39 1999
- Orig file:
v2.2.10/linux/drivers/net/hostess_sv11.c
- Orig date:
Thu Feb 18 16:28:49 1999
diff -u --recursive --new-file v2.2.10/linux/drivers/net/hostess_sv11.c linux/drivers/net/hostess_sv11.c
@@ -389,7 +389,8 @@
free_irq(dev->sync.irq, dev);
if(dma)
{
- free_dma(dev->sync.chanA.rxdma);
+ if(dma==1)
+ free_dma(dev->sync.chanA.rxdma);
free_dma(dev->sync.chanA.txdma);
}
release_region(dev->sync.chanA.ctrlio-1, 8);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)