2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 00:26:39 +08:00
linux-next/include/pcmcia
Dominik Brodowski 91284224da pcmcia: add new CIS access helpers
As a replacement to pcmcia_get_{first,next}_tuple() and
pcmcia_get_tuple_data(), three new -- and easier to use --
functions are added:

- pcmcia_get_tuple() to get the very first CIS entry of one
  type.

- pcmcia_loop_tuple() to loop over all CIS entries of one type.

- pcmcia_get_mac_from_cis() to read out the hardware MAC address
  from CISTPL_FUNCE.

Only a handful of drivers need these functions anyway, as most
CIS access is already handled by pcmcia_loop_config(), which
now shares the same backed (pccard_loop_tuple()) with
pcmcia_loop_tuple().

A pcmcia_get_mac_from_cis() bug noted by Komuro
<komurojun-mbn@nifty.com> has been fixed in this revision.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2009-11-08 18:06:54 +01:00
..
ciscode.h pcmcia: cleanup device driver header file 2008-08-29 09:28:47 +02:00
cisreg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cistpl.h pcmcia: ioctl-internal definitions 2008-08-31 16:00:42 +02:00
cs_types.h pcmcia: encapsulate ioaddr_t 2008-08-29 09:43:14 +02:00
cs.h pcmcia: ioctl-internal definitions 2008-08-31 16:00:42 +02:00
device_id.h pcmcia: device_id header cleanup 2008-08-29 09:43:18 +02:00
ds.h pcmcia: add new CIS access helpers 2009-11-08 18:06:54 +01:00
mem_op.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ss.h PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00