Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
cardbus.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <pcmcia/ss.h>

Go to the source code of this file.

Functions

int __ref cb_alloc (struct pcmcia_socket *s)
 
void cb_free (struct pcmcia_socket *s)
 

Function Documentation

int __ref cb_alloc ( struct pcmcia_socket s)

cb_alloc() - add CardBus device : the pcmcia_socket where the CardBus device is located

cb_alloc() allocates the kernel data structures for a Cardbus device and handles the lowest level PCI device setup issues.

Definition at line 67 of file cardbus.c.

void cb_free ( struct pcmcia_socket s)

cb_free() - remove CardBus device : the pcmcia_socket where the CardBus device was located

cb_free() handles the lowest level PCI device cleanup.

Definition at line 106 of file cardbus.c.