]> Pileus Git - ~andy/linux/blobdiff - Documentation/pcmcia/driver-changes.txt
pcmcia: add new CIS access helpers
[~andy/linux] / Documentation / pcmcia / driver-changes.txt
index 059934363cafaf18a15ebff592e167f8c84ee539..adfb83e586752f87717a1cf31bcc8eec8fd27de8 100644 (file)
@@ -1,5 +1,12 @@
 This file details changes in 2.6 which affect PCMCIA card driver authors:
 
+* New CIS tuple access (as of 2.6.33)
+   Instead of pcmcia_get_{first,next}_tuple(), pcmcia_get_tuple_data() and
+   pcmcia_parse_tuple(), a driver shall use "pcmcia_get_tuple()" if it is
+   only interested in one (raw) tuple, or "pcmcia_loop_tuple()" if it is
+   interested in all tuples of one type. To decode the MAC from CISTPL_FUNCE,
+   a new helper "pcmcia_get_mac_from_cis()" was added.
+
 * New configuration loop helper (as of 2.6.28)
    By calling pcmcia_loop_config(), a driver can iterate over all available
    configuration options. During a driver's probe() phase, one doesn't need