diff options
author | phk <phk@FreeBSD.org> | 2009-09-08 13:16:55 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2009-09-08 13:16:55 +0000 |
commit | 2314521104388ada19392a3b2cdaca4ba6f82243 (patch) | |
tree | 861cbfaa866bcf3864607e709a7f079f8e0b8b88 /sys/dev/usb/wlan/if_rum.c | |
parent | 3f6c5f153b139d0086f063e076f19f4f76da1927 (diff) | |
download | FreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.zip FreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.tar.gz |
Add necessary include.
Diffstat (limited to 'sys/dev/usb/wlan/if_rum.c')
-rw-r--r-- | sys/dev/usb/wlan/if_rum.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/wlan/if_rum.c b/sys/dev/usb/wlan/if_rum.c index 7abd104..6af6ec2 100644 --- a/sys/dev/usb/wlan/if_rum.c +++ b/sys/dev/usb/wlan/if_rum.c @@ -42,12 +42,9 @@ __FBSDID("$FreeBSD$"); #include <sys/kdb.h> #include <machine/bus.h> -#include <machine/resource.h> -#include <sys/rman.h> #include <net/bpf.h> #include <net/if.h> -#include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> #include <net/if_media.h> @@ -1489,7 +1486,7 @@ rum_rf_write(struct rum_softc *sc, uint8_t reg, uint32_t val) return; } - tmp = RT2573_RF_BUSY | RT2573_RF_20BIT | (val & 0xfffff) << 2 | + tmp = RT2573_RF_BUSY | RT2573_RF_20BIT | ((val & 0xfffff) << 2) | (reg & 3); rum_write(sc, RT2573_PHY_CSR4, tmp); |