|
Linux Kernel
3.7.1
|
#include <linux/pci.h>#include <linux/slab.h>#include "ath5k.h"#include "reg.h"#include "debug.h"Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
Functions | |
| int | ath5k_hw_init (struct ath5k_hw *ah) |
| void | ath5k_hw_deinit (struct ath5k_hw *ah) |
ath5k_hw_init() - Check if hw is supported and init the needed structs : The &struct ath5k_hw associated with the device
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.
1.8.2