Functions
attach.c File Reference
#include <linux/pci.h>
#include "ath5k.h"
#include "reg.h"
#include "debug.h"
#include "base.h"
Include dependency graph for linux_us/hwi/ath5k_raw/module/attach.c:

Go to the source code of this file.

Functions

int ath5k_hw_attach (struct ath5k_softc *sc)
void ath5k_hw_detach (struct ath5k_hw *ah)
static int ath5k_hw_post (struct ath5k_hw *ah)

Function Documentation

int ath5k_hw_attach ( struct ath5k_softc sc)

ath5k_hw_attach - Check if hw is supported and init the needed structs

: The &struct ath5k_softc we got from the driver's attach function

Check if the device is supported, perform a POST and initialize the needed structs. Returns -ENOMEM if we don't have memory for the needed structs, -ENODEV if the device is not supported or prints an error msg if something else went wrong.

Definition at line 104 of file linux_us/hwi/ath5k_raw/module/attach.c.

void ath5k_hw_detach ( struct ath5k_hw ah)

ath5k_hw_detach - Free the ath5k_hw struct

: The &struct ath5k_hw

Definition at line 346 of file linux_us/hwi/ath5k_raw/module/attach.c.

static int ath5k_hw_post ( struct ath5k_hw ah) [static]

ath5k_hw_post - Power On Self Test helper function

: The &struct ath5k_hw

Definition at line 34 of file linux_us/hwi/ath5k_raw/module/attach.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:56