ale
DRIVER_MODULE(ale, pci, ale_driver, NULL, NULL);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ale, ale_devs,
DRIVER_MODULE(miibus, ale, miibus_driver, NULL, NULL);
MODULE_DEPEND(ale, pci, 1, 1, 1);
MODULE_DEPEND(ale, ether, 1, 1, 1);
MODULE_DEPEND(ale, miibus, 1, 1, 1);
static struct ale *
struct ale *ale;
ale = alq_get(ath_hal_alq, ALQ_NOWAIT);
if (ale) {
(struct athregrec *) ale->ae_data;
alq_post(ath_hal_alq, ale);
ale = alq_get(ath_hal_alq, ALQ_NOWAIT);
if (!ale)
return ale;
struct ale *ale = ath_hal_alq_get(ah);
if (ale) {
struct athregrec *r = (struct athregrec *) ale->ae_data;
alq_post(ath_hal_alq, ale);
struct ale *ale = ath_hal_alq_get(ah);
if (ale) {
struct athregrec *r = (struct athregrec *) ale->ae_data;
alq_post(ath_hal_alq, ale);
struct ale *ale = ath_hal_alq_get(ah);
if (ale) {
struct athregrec *r = (struct athregrec *) ale->ae_data;
alq_post(ath_hal_alq, ale);
struct ale *ale;
ale = if_ath_alq_get(alq, len + sizeof(struct if_ath_alq_hdr));
if (ale == NULL)
ap = (struct if_ath_alq_hdr *) ale->ae_data;
alq_post(alq->sc_alq_alq, ale);
static struct ale *
struct ale *ale;
ale = alq_getn(alq->sc_alq_alq, len, ALQ_NOWAIT);
if (! ale)
return (ale);
struct ale *
struct ale aq_getpost; /* ALE for use by get/post */
struct ale *
alq_post_flags(struct alq *alq, struct ale *ale, int flags)
if (ale->ae_bytesused > 0) {
alq->aq_writehead += ale->ae_bytesused;
alq->aq_freebytes -= ale->ae_bytesused;
struct ale *ale = NULL;
if ((ale = alq_get(ktr_alq, ALQ_NOWAIT)) == NULL) {
entry = (struct ktr_entry *)ale->ae_data;
if (ktr_alq_enabled && ale)
alq_post(ktr_alq, ale);
static struct ale *
struct ale *ale;
ale = alq_getn(ieee80211_alq, len + sizeof(struct ieee80211_alq_rec),
if (!ale)
return ale;
struct ale *ale;
ale = ieee80211_alq_get(len);
if (! ale)
r = (struct ieee80211_alq_rec *) ale->ae_data;
alq_post(ieee80211_alq, ale);
struct ale *log_buf;
struct ale *alq_getn(struct alq *alq, int len, int flags);
struct ale *alq_get(struct alq *alq, int flags);
void alq_post_flags(struct alq *alq, struct ale *ale, int flags);
alq_post(struct alq *alq, struct ale *ale)
alq_post_flags(alq, ale, 0);