patch-2.1.72 linux/drivers/net/hamradio/soundmodem/sm_sbc.c
Next file: linux/drivers/net/ne.c
Previous file: linux/drivers/net/hamradio/Config.in
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Dec 9 09:49:58 1997
- Orig file:
v2.1.71/linux/drivers/net/hamradio/soundmodem/sm_sbc.c
- Orig date:
Thu Dec 4 14:53:55 1997
diff -u --recursive --new-file v2.1.71/linux/drivers/net/hamradio/soundmodem/sm_sbc.c linux/drivers/net/hamradio/soundmodem/sm_sbc.c
@@ -32,6 +32,7 @@
#include <asm/dma.h>
#include <linux/ioport.h>
#include <linux/soundmodem.h>
+#include <linux/delay.h>
#include "sm.h"
#include "smdma.h"
@@ -144,8 +145,7 @@
int i;
outb(1, DSP_RESET(dev->base_addr));
- for (i = 0; i < 0x100; i++)
- SLOW_DOWN_IO;
+ udelay(300);
outb(0, DSP_RESET(dev->base_addr));
for (i = 0; i < 0xffff; i++)
if (inb(DSP_DATA_AVAIL(dev->base_addr)) & 0x80)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov