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

Next file: linux/drivers/atm/idt77105.c
Previous file: linux/drivers/atm/eni.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/atm/horizon.c linux/drivers/atm/horizon.c
@@ -2623,12 +2623,10 @@
   switch (level) {
     case SOL_SOCKET:
       switch (optname) {
-	case SO_BCTXOPT:
-	  // return the right thing
-	  break;
-	case SO_BCRXOPT:
-	  // return the right thing
-	  break;
+//	case SO_BCTXOPT:
+//	  break;
+//	case SO_BCRXOPT:
+//	  break;
 	default:
 	  return -ENOPROTOOPT;
 	  break;
@@ -2645,12 +2643,10 @@
   switch (level) {
     case SOL_SOCKET:
       switch (optname) {
-	case SO_BCTXOPT:
-	  // not settable
-	  break;
-	case SO_BCRXOPT:
-	  // not settable
-	  break;
+//	case SO_BCTXOPT:
+//	  break;
+//	case SO_BCRXOPT:
+//	  break;
 	default:
 	  return -ENOPROTOOPT;
 	  break;
@@ -2743,21 +2739,11 @@
 }
 
 static const struct atmdev_ops hrz_ops = {
-  NULL,          // no hrz_dev_close
-  hrz_open,
-  hrz_close,
-  NULL,          // no hrz_ioctl
-  NULL,          // hrz_getsockopt,
-  NULL,          // hrz_setsockopt,
-  hrz_send,
-  hrz_sg_send,
-  NULL,          // no send_oam    - not in fact used yet
-  NULL,          // no hrz_phy_put - not needed in this driver 
-  NULL,          // no hrz_phy_get - not needed in this driver 
-  NULL,          // no feedback    - feedback to the driver!
-  NULL,          // no hrz_change_qos
-  NULL,          // no free_rx_skb
-  hrz_proc_read
+  open:		hrz_open,
+  close:	hrz_close,
+  send:		hrz_send,
+  sg_send:	hrz_sg_send,
+  proc_read:	hrz_proc_read
 };
 
 static int __init hrz_probe (void) {

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