Date: Wed, 21 Sep 2011 06:35:05 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r225711 - user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5416 Message-ID: <201109210635.p8L6Z5dh062677@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Wed Sep 21 06:35:05 2011 New Revision: 225711 URL: http://svn.freebsd.org/changeset/base/225711 Log: Undo an autosleep hack that I never finished porting. I'll revisit this when it's time to do autosleep. Modified: user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c Modified: user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c ============================================================================== --- user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c Wed Sep 21 03:37:12 2011 (r225710) +++ user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c Wed Sep 21 06:35:05 2011 (r225711) @@ -107,10 +107,10 @@ ar5416SetupRxDesc(struct ath_hal *ah, st uint32_t size, u_int flags) { struct ar5416_desc *ads = AR5416DESC(ds); - HAL_CAPABILITIES *pCap = &AH_PRIVATE(ah)->ah_caps; HALASSERT((size &~ AR_BufLen) == 0); + ads->ds_ctl0 = 0; /* XXX just to be sure? -adrian */ ads->ds_ctl1 = size & AR_BufLen; if (flags & HAL_RXDESC_INTREQ) ads->ds_ctl1 |= AR_RxIntrReq; @@ -119,8 +119,7 @@ ar5416SetupRxDesc(struct ath_hal *ah, st ads->ds_rxstatus8 &= ~AR_RxDone; /* clear the rest of the status fields */ - if (! pCap->halAutoSleepSupport) - OS_MEMZERO(&(ads->u), sizeof(ads->u)); + OS_MEMZERO(&(ads->u), sizeof(ads->u)); return AH_TRUE; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109210635.p8L6Z5dh062677>