X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Fdrivers%2Fstaging%2Frtl8712%2Frtl8712_gp_regdef.h;fp=kernel%2Fdrivers%2Fstaging%2Frtl8712%2Frtl8712_gp_regdef.h;h=8fc68f6a2c79e05292bd5cfdeb6e9c57bf1f25a4;hb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;hp=0000000000000000000000000000000000000000;hpb=98260f3884f4a202f9ca5eabed40b1354c489b29;p=kvmfornfv.git diff --git a/kernel/drivers/staging/rtl8712/rtl8712_gp_regdef.h b/kernel/drivers/staging/rtl8712/rtl8712_gp_regdef.h new file mode 100644 index 000000000..8fc68f6a2 --- /dev/null +++ b/kernel/drivers/staging/rtl8712/rtl8712_gp_regdef.h @@ -0,0 +1,42 @@ +/****************************************************************************** + * + * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of version 2 of the GNU General Public License as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA + * + * Modifications for inclusion into the Linux staging tree are + * Copyright(c) 2010 Larry Finger. All rights reserved. + * + * Contact information: + * WLAN FAE + * Larry Finger + * + ******************************************************************************/ +#ifndef __RTL8712_GP_REGDEF_H__ +#define __RTL8712_GP_REGDEF_H__ + +#define PSTIMER (RTL8712_GP_ + 0x00) +#define TIMER1 (RTL8712_GP_ + 0x04) +#define TIMER2 (RTL8712_GP_ + 0x08) +#define GPIO_CTRL (RTL8712_GP_ + 0x0C) +#define GPIO_IO_SEL (RTL8712_GP_ + 0x0E) +#define GPIO_INTCTRL (RTL8712_GP_ + 0x10) +#define MAC_PINMUX_CTRL (RTL8712_GP_ + 0x11) +#define LEDCFG (RTL8712_GP_ + 0x12) +#define PHY_REG_RPT (RTL8712_GP_ + 0x13) +#define PHY_REG_DATA (RTL8712_GP_ + 0x14) + + +#endif /*__RTL8712_GP_REGDEF_H__ */ +