patch-2.3.10 linux/drivers/net/hostess_sv11.c
Next file: linux/drivers/net/hp-plus.c
Previous file: linux/drivers/net/hamradio/soundmodem/sm.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Jul 5 20:09:40 1999
- Orig file:
v2.3.9/linux/drivers/net/hostess_sv11.c
- Orig date:
Thu Feb 18 16:28:49 1999
diff -u --recursive --new-file v2.3.9/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)