Re: [CFT] Ralink RT2860, RT2870, RT3060, RT3090 support
--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
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
--Boundary-00=_QbXrPgU7xlAtFRa--
討論串 (同標題文章)
完整討論串 (本文為第 16 之 19 篇):