More API changes in 2.6.16
Posted Aug 4, 2006 19:32 UTC (Fri) by smurf
Parent article: API changes in the 2.6 kernel series
An email address to report new (or missing) missing entries would be nice...
- 2.6.16: network device drivers'
ioctl() methods cannot call
dev_ioctl() any more; they need to return -ENOIOCTLCMD instead, and the upper layer will do it for them.
Accordingly, dev_ioctl() is no longer exported to modules.
- 2.6.16: tty buffering layer revamp.
The interface is now
len = tty_request_buffer_room(tty, amount_hardware_says);
tty_insert_flip_string(tty, buffer_from_card, len);
There are also a
int tty_prepare_flip_string(tty, strptr, len);
so that on can copy large blocks directly from I/O space to the flip buffer.
to post comments)