diff options
Diffstat (limited to 'sys/dev/ic/rtwphyio.c')
-rw-r--r-- | sys/dev/ic/rtwphyio.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/ic/rtwphyio.c b/sys/dev/ic/rtwphyio.c index 0b4cf15dbc4..2090d62441f 100644 --- a/sys/dev/ic/rtwphyio.c +++ b/sys/dev/ic/rtwphyio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtwphyio.c,v 1.1 2004/12/29 01:02:31 jsg Exp $ */ +/* $OpenBSD: rtwphyio.c,v 1.2 2005/01/19 11:07:33 jsg Exp $ */ /* $NetBSD: rtwphyio.c,v 1.4 2004/12/25 06:58:37 dyoung Exp $ */ /*- * Copyright (c) 2004, 2005 David Young. All rights reserved. @@ -63,6 +63,9 @@ u_int32_t rtw_grf5101_host_crypt(u_int, u_int32_t); u_int32_t rtw_maxim_swizzle(u_int, uint32_t); u_int32_t rtw_grf5101_mac_crypt(u_int, u_int32_t); +void rtw_rf_hostbangbits(struct rtw_regs *, u_int32_t, int, u_int); +int rtw_rf_macbangbits(struct rtw_regs *, u_int32_t); +const char *rtw_rfchipid_string(enum rtw_rfchipid); static int rtw_macbangbits_timeout = 100; @@ -121,7 +124,7 @@ rtw_bbp_write(struct rtw_regs *regs, u_int addr, u_int val) } /* Help rtw_rf_hostwrite bang bits to RF over 3-wire interface. */ -static __inline void +__inline void rtw_rf_hostbangbits(struct rtw_regs *regs, u_int32_t bits, int lo_to_hi, u_int nbits) { @@ -178,7 +181,7 @@ rtw_rf_hostbangbits(struct rtw_regs *regs, u_int32_t bits, int lo_to_hi, /* Help rtw_rf_macwrite: tell MAC to bang bits to RF over the 3-wire * interface. */ -static __inline int +__inline int rtw_rf_macbangbits(struct rtw_regs *regs, u_int32_t reg) { int i; @@ -231,7 +234,7 @@ rtw_grf5101_mac_crypt(u_int addr, u_int32_t val) #undef EXTRACT_NIBBLE } -static __inline const char * +__inline const char * rtw_rfchipid_string(enum rtw_rfchipid rfchipid) { switch (rfchipid) { |