summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrpaulo <rpaulo@NetBSD.org>2006-06-08 13:00:35 +0000
committerrpaulo <rpaulo@NetBSD.org>2006-06-08 13:00:35 +0000
commit24ba5ad5fd8f8b3427376abe90b69fa8f89fac50 (patch)
tree2c7f43c92d3348eb5f0dd5faf96e67975a8a97e0 /sys/dev
parenta7484bfcf02e8d60bc4f1da2dc8820a6831a99d9 (diff)
Rename sta variable. Pointed out by Havard Eidnes and Juergen Hannken-Illjes.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/rt2661.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c
index 491eb6416ba..6b50d9dc34a 100644
--- a/sys/dev/ic/rt2661.c
+++ b/sys/dev/ic/rt2661.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rt2661.c,v 1.4 2006/06/06 01:18:25 rpaulo Exp $ */
+/* $NetBSD: rt2661.c,v 1.5 2006/06/08 13:00:35 rpaulo Exp $ */
/* $OpenBSD: rt2661.c,v 1.17 2006/05/01 08:41:11 damien Exp $ */
/* $FreeBSD: rt2560.c,v 1.5 2006/06/02 19:59:31 csjp Exp $ */
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rt2661.c,v 1.4 2006/06/06 01:18:25 rpaulo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rt2661.c,v 1.5 2006/06/08 13:00:35 rpaulo Exp $");
#include "bpfilter.h"
@@ -2629,7 +2629,7 @@ rt2661_init(struct ifnet *ifp)
const char *name = NULL; /* make lint happy */
uint8_t *ucode;
size_t size;
- uint32_t tmp, sta[3];
+ uint32_t tmp, star[3];
int i, ntries;
firmware_handle_t fh;
@@ -2783,7 +2783,7 @@ rt2661_init(struct ifnet *ifp)
RAL_WRITE(sc, RT2661_TXRX_CSR0, tmp);
/* clear STA registers */
- RAL_READ_REGION_4(sc, RT2661_STA_CSR0, sta, N(sta));
+ RAL_READ_REGION_4(sc, RT2661_STA_CSR0, star, N(star));
/* initialize ASIC */
RAL_WRITE(sc, RT2661_MAC_CSR1, 4);