From owner-freebsd-current@FreeBSD.ORG Fri May 11 20:29:46 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDFF3106566C for ; Fri, 11 May 2012 20:29:46 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 085E08FC0C for ; Fri, 11 May 2012 20:29:45 +0000 (UTC) Received: by bkvi18 with SMTP id i18so2219263bkv.13 for ; Fri, 11 May 2012 13:29:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:message-id:x-gm-message-state; bh=rbidFd7cM8OdPU7NuD8IXwAi9x36fCJtdadrgVXHgGc=; b=BWoERPM1VBb/uAnoryeWIYdV9XlHrY4veWj5F8UQRM/m5dpPQNHPRYNXnC+y20BSJK TdHw1wrqj66qb+NqY9DTl7ppdmKh7NyQP7TgPSyMNIZaAseEwP0oZEmECADcrVAHq8Qc Bh56uVv8BZW0bWDqjuNkPBwx0/5APMykGGQJuMVUfNl9E+0blnpwNY3i0wkdD/qWdn6X yAQkcGK9SuZJXe/W+xzhRc1vlZ4sA3NisHkw0ZnSUoAEcw2Nu5xsk8U3s7pciXbZ0uzC v0yO0XMl/uGG7w2SzkHosriRjA3lwzSM86cTbZaF84qUeLAwCGXIvB/V455I4/LxMQla xzug== Received: by 10.204.141.9 with SMTP id k9mr843492bku.138.1336768183941; Fri, 11 May 2012 13:29:43 -0700 (PDT) Received: from amy.lab.techwires.net (dslb-088-067-192-198.pools.arcor-ip.net. [88.67.192.198]) by mx.google.com with ESMTPS id n17sm20488440bkw.5.2012.05.11.13.29.42 (version=SSLv3 cipher=OTHER); Fri, 11 May 2012 13:29:43 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: hopto Date: Fri, 11 May 2012 22:30:08 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201205031853.53102.bschmidt@freebsd.org> <1336751823791-5703401.post@n5.nabble.com> In-Reply-To: <1336751823791-5703401.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_QbXrPgU7xlAtFRa" Message-Id: <201205112230.08633.bschmidt@freebsd.org> X-Gm-Message-State: ALoCoQnlrlmKYda6xUqCb4c/mQgdxR7w/7rN1dsnd1U1Ne711AMpzD9KqowTGMA4RAEqo/jz0QZo Cc: freebsd-current@freebsd.org Subject: Re: [CFT] Ralink RT2860, RT2870, RT3060, RT3090 support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2012 20:29:46 -0000 --Boundary-00=_QbXrPgU7xlAtFRa Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Friday 11 May 2012 17:57:03 hopto wrote: > FreeBSD 9 amd64 > > cc1: warnings being treated as errors > /usr/src/sys/modules/ral/../../dev/ral/rt2860.c: In function > 'rt2860_attach': > /usr/src/sys/modules/ral/../../dev/ral/rt2860.c:349: warning: assignment > from incompatible pointer type > *** Error code 1 > > Stop in /usr/src/sys/modules/ral. > > what? 9.0? Try attached patch Though, you are better of updating to stable/9, the patches should apply/build cleanly there. -- Bernhard --Boundary-00=_QbXrPgU7xlAtFRa Content-Type: text/x-patch; charset="UTF-8"; name="1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="1.diff" Index: sys/dev/ral/rt2860.c =================================================================== --- sys/dev/ral/rt2860.c (revision 235233) +++ sys/dev/ral/rt2860.c (working copy) @@ -76,7 +76,7 @@ #endif static struct ieee80211vap *rt2860_vap_create(struct ieee80211com *, - const char [IFNAMSIZ], int, enum ieee80211_opmode, + const char [IFNAMSIZ], int, int, int, const uint8_t [IEEE80211_ADDR_LEN], const uint8_t [IEEE80211_ADDR_LEN]); static void rt2860_vap_delete(struct ieee80211vap *); @@ -428,7 +428,7 @@ static struct ieee80211vap * rt2860_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, - enum ieee80211_opmode opmode, int flags, + int opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) { --Boundary-00=_QbXrPgU7xlAtFRa--