patch-2.3.43 linux/drivers/atm/uPD98402.c

Next file: linux/drivers/atm/zatm.c
Previous file: linux/drivers/atm/suni.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/atm/uPD98402.c linux/drivers/atm/uPD98402.c
@@ -1,6 +1,6 @@
 /* drivers/atm/uPD98402.c - NEC uPD98402 (PHY) declarations */
  
-/* Written 1995-1998 by Werner Almesberger, EPFL LRC/ICA */
+/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
  
 
 #include <linux/module.h>
@@ -118,7 +118,7 @@
 		case SONET_GETFRSENSE:
 			return get_sense(dev,arg);
 		default:
-		    return -EINVAL;
+		    return -ENOIOCTLCMD;
 	}
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)