if_wl.h (26003) | if_wl.h (41616) |
---|---|
1/* 2 * Redistribution and use in source and binary forms, with or without 3 * modification, are permitted provided that the following conditions 4 * are met: 5 * 1. Redistributions of source code must retain all copyright 6 * notices, this list of conditions and the following disclaimer. 7 * 2. The names of the authors may not be used to endorse or promote products 8 * derived from this software withough specific prior written permission --- 102 unchanged lines hidden (view full) --- 111 } 112 113 114#define MMC_WRITE(cmd,val) \ 115 while(inw(HASR(WLSOFTC(unit)->base)) & HASR_MMC_BUSY) ; \ 116 outw(MMCR(WLSOFTC(unit)->base), \ 117 (u_short)(((u_short)(val) << 8) | ((cmd) << 1) | 1)) 118 | 1/* 2 * Redistribution and use in source and binary forms, with or without 3 * modification, are permitted provided that the following conditions 4 * are met: 5 * 1. Redistributions of source code must retain all copyright 6 * notices, this list of conditions and the following disclaimer. 7 * 2. The names of the authors may not be used to endorse or promote products 8 * derived from this software withough specific prior written permission --- 102 unchanged lines hidden (view full) --- 111 } 112 113 114#define MMC_WRITE(cmd,val) \ 115 while(inw(HASR(WLSOFTC(unit)->base)) & HASR_MMC_BUSY) ; \ 116 outw(MMCR(WLSOFTC(unit)->base), \ 117 (u_short)(((u_short)(val) << 8) | ((cmd) << 1) | 1)) 118 |
119#endif _IF_WL_H | 119#endif /* _IF_WL_H */ |
120 | 120 |