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) |
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_ks/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_ks/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_ks/hwi/ath5k_raw/module/attach.c.