diff options
Diffstat (limited to 'drivers/net/wireless/ath5k/initvals.c')
-rw-r--r-- | drivers/net/wireless/ath5k/initvals.c | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/drivers/net/wireless/ath5k/initvals.c b/drivers/net/wireless/ath5k/initvals.c index 2806b21bf90..ea2e1a20b49 100644 --- a/drivers/net/wireless/ath5k/initvals.c +++ b/drivers/net/wireless/ath5k/initvals.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Initial register settings functions | 2 | * Initial register settings functions |
3 | * | 3 | * |
4 | * Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org> | 4 | * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> |
5 | * Copyright (c) 2006, 2007 Nick Kossifidis <mickflemm@gmail.com> | 5 | * Copyright (c) 2006-2007 Nick Kossifidis <mickflemm@gmail.com> |
6 | * Copyright (c) 2007 Jiri Slaby <jirislaby@gmail.com> | 6 | * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> |
7 | * | 7 | * |
8 | * Permission to use, copy, modify, and distribute this software for any | 8 | * Permission to use, copy, modify, and distribute this software for any |
9 | * purpose with or without fee is hereby granted, provided that the above | 9 | * purpose with or without fee is hereby granted, provided that the above |
@@ -20,13 +20,9 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "ath5k.h" | 22 | #include "ath5k.h" |
23 | #include "base.h" | ||
24 | #include "reg.h" | 23 | #include "reg.h" |
25 | 24 | #include "debug.h" | |
26 | /* | 25 | #include "base.h" |
27 | * MAC/PHY REGISTERS | ||
28 | */ | ||
29 | |||
30 | 26 | ||
31 | /* | 27 | /* |
32 | * Mode-independent initial register writes | 28 | * Mode-independent initial register writes |
@@ -65,10 +61,10 @@ static const struct ath5k_ini ar5210_ini[] = { | |||
65 | { AR5K_TXCFG, AR5K_DMASIZE_128B }, | 61 | { AR5K_TXCFG, AR5K_DMASIZE_128B }, |
66 | { AR5K_RXCFG, AR5K_DMASIZE_128B }, | 62 | { AR5K_RXCFG, AR5K_DMASIZE_128B }, |
67 | { AR5K_CFG, AR5K_INIT_CFG }, | 63 | { AR5K_CFG, AR5K_INIT_CFG }, |
68 | { AR5K_TOPS, AR5K_INIT_TOPS }, | 64 | { AR5K_TOPS, 8 }, |
69 | { AR5K_RXNOFRM, AR5K_INIT_RXNOFRM }, | 65 | { AR5K_RXNOFRM, 8 }, |
70 | { AR5K_RPGTO, AR5K_INIT_RPGTO }, | 66 | { AR5K_RPGTO, 0 }, |
71 | { AR5K_TXNOFRM, AR5K_INIT_TXNOFRM }, | 67 | { AR5K_TXNOFRM, 0 }, |
72 | { AR5K_SFR, 0 }, | 68 | { AR5K_SFR, 0 }, |
73 | { AR5K_MIBC, 0 }, | 69 | { AR5K_MIBC, 0 }, |
74 | { AR5K_MISC, 0 }, | 70 | { AR5K_MISC, 0 }, |