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
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])
{
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"