]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/ath5k/initvals.c
Fix nfsd truncation of readdir results
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / ath5k / initvals.c
index 2806b21bf90bb6fe03650d62ab1292e1f7d12f5e..ea2e1a20b499d9cb696c7b1ea57c450d428f3f74 100644 (file)
@@ -1,9 +1,9 @@
 /*
  * Initial register settings functions
  *
- * Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org>
- * Copyright (c) 20062007 Nick Kossifidis <mickflemm@gmail.com>
- * Copyright (c) 2007 Jiri Slaby <jirislaby@gmail.com>
+ * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org>
+ * Copyright (c) 2006-2007 Nick Kossifidis <mickflemm@gmail.com>
+ * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  */
 
 #include "ath5k.h"
-#include "base.h"
 #include "reg.h"
-
-/*
- * MAC/PHY REGISTERS
- */
-
+#include "debug.h"
+#include "base.h"
 
 /*
  * Mode-independent initial register writes
@@ -65,10 +61,10 @@ static const struct ath5k_ini ar5210_ini[] = {
        { AR5K_TXCFG,           AR5K_DMASIZE_128B },
        { AR5K_RXCFG,           AR5K_DMASIZE_128B },
        { AR5K_CFG,             AR5K_INIT_CFG },
-       { AR5K_TOPS,            AR5K_INIT_TOPS },
-       { AR5K_RXNOFRM,         AR5K_INIT_RXNOFRM },
-       { AR5K_RPGTO,           AR5K_INIT_RPGTO },
-       { AR5K_TXNOFRM,         AR5K_INIT_TXNOFRM },
+       { AR5K_TOPS,            8 },
+       { AR5K_RXNOFRM,         8 },
+       { AR5K_RPGTO,           0 },
+       { AR5K_TXNOFRM,         0 },
        { AR5K_SFR,             0 },
        { AR5K_MIBC,            0 },
        { AR5K_MISC,            0 },