From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 1 21:20:23 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FCC2106566C for ; Wed, 1 Jul 2009 21:20:23 +0000 (UTC) (envelope-from frederic.praca@freebsd-fr.org) Received: from smtpfb1-g21.free.fr (smtpfb1-g21.free.fr [212.27.42.9]) by mx1.freebsd.org (Postfix) with ESMTP id 859388FC20 for ; Wed, 1 Jul 2009 21:20:20 +0000 (UTC) (envelope-from frederic.praca@freebsd-fr.org) Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by smtpfb1-g21.free.fr (Postfix) with ESMTP id 28D0477C7C7 for ; Wed, 1 Jul 2009 23:01:16 +0200 (CEST) Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 81D2EE080E9 for ; Wed, 1 Jul 2009 23:01:10 +0200 (CEST) Received: from tatooine (coruscant.dnsalias.net [88.169.125.217]) by smtp6-g21.free.fr (Postfix) with ESMTP id 4EC4EE08092 for ; Wed, 1 Jul 2009 23:01:08 +0200 (CEST) Date: Wed, 1 Jul 2009 23:01:01 +0200 From: =?UTF-8?B?RnLDqWTDqXJpYw==?= Praca To: freebsd-hackers@freebsd.org Message-ID: <20090701230101.5d50741c@tatooine> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problem compiling kernel with ath device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 21:20:23 -0000 Hello guys, I got the following compilation error in if_ath.c when compiling the RELENG_7 today : ../../../dev/ath/if_ath.c: In function 'ath_rx_tap': ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' ../../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags' *** Error code 1 After investigating, this part appears only when HAL_ABI_VERSION is greater than 0x07050400 The current value seems to be 0x08112800 as specified in ath_hal/hal.h. The problem is that for rs_flags to be present in the ath_rx_status structure, defined in ath_hal/ah_desc.h, AH_SUPPORT_AR5416 has to be defined. Do I need something more than the three following lines in my kernel configuration especially the AH_SUPPORT_AR5416 option even if my PCI card is a 5212 chipset powered ? device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) device ath_rate_sample # SampleRate tx rate control for ath Well, in fact, I already know the answer as I compiled my kernel by adding AH_SUPPORT_AR5416 option but isn't it a problem there ? Regards Fred