patch-2.1.42 linux/drivers/isdn/pcbit/drv.c
Next file: linux/drivers/isdn/sc/Makefile
Previous file: linux/drivers/isdn/isdn_tty.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed May 28 10:49:10 1997
- Orig file:
v2.1.41/linux/drivers/isdn/pcbit/drv.c
- Orig date:
Thu Feb 27 10:57:30 1997
diff -u --recursive --new-file v2.1.41/linux/drivers/isdn/pcbit/drv.c linux/drivers/isdn/pcbit/drv.c
@@ -449,14 +449,8 @@
for (i=0; i < len; i++)
{
for(j=0; j < LOAD_RETRY; j++)
- {
- __volatile__ unsigned char * ptr;
-
- ptr = dev->sh_mem + dev->loadptr;
- if (*ptr == 0)
+ if (!(readb(dev->sh_mem + dev->loadptr)))
break;
-
- }
if (j == LOAD_RETRY)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov