[rt2x00-users] What is GPIO_CTRL_CFG doing for ?

Matt Chen machen at suse.com
Mon Feb 6 12:12:10 EST 2012


Hi list,

What is the GPIO_CTRL_CFG meaning for ? Is it a specific address of
GPIO PIN or something ?
Because recently I found in rt2800lib.c:rt2800_rfkill_poll(), code is as below
rt2800_register_read(rt2x00dev, GPIO_CTRL_CFG, &reg);
rt2x00_get_field32(reg, GPIO_CTRL_CFG_BIT2);

as this is a rfkill polling function, it should be executed when I
press Fn key to enable/disable wifi device, but seems like the reg
from rt2800_register_read is never changed.

Does it have thing to do with GPIO_CTRL_CFG  value, and what is define
GPIO_CTRL_CFG                  0x0228 meaning for ?

Thanks.



More information about the users mailing list