atmdev_ops::change_qos() was the hook for renegotiating the traffic parameters of an already-connected VCC, driven from SO_ATMQOS on a connected socket (and previously from the SVC as_modify path, now gone). None of the ATM drivers left in tree implement it - solos-pci only listed change_qos = NULL - so atm_change_qos() always returned -EOPNOTSUPP. Drop the operation and return -EOPNOTSUPP directly.
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -143,7 +143,6 @@ struct atmdev_ops { /* only send is required */ · 142 unmodified lines | |||
| 143 | void (*phy_put)(struct atm_dev *dev,unsigned char value, | 143 | void (*phy_put)(struct atm_dev *dev,unsigned char value, |
| 144 | unsigned long addr); | 144 | unsigned long addr); |
| 145 | unsigned char (*phy_get)(struct atm_dev *dev,unsigned long addr); | 145 | unsigned char (*phy_get)(struct atm_dev *dev,unsigned long addr); |
| 146 | int (*change_qos)(struct atm_vcc *vcc,struct atm_qos *qos,int flags); | ||
| 147 | int (*proc_read)(struct atm_dev *dev,loff_t *pos,char *page); | 146 | int (*proc_read)(struct atm_dev *dev,loff_t *pos,char *page); |
| 148 | struct module *owner; | 147 | struct module *owner; |
| 149 | }; | 148 | }; |