*/
static void dgap_cleanup_module(void)
{
- int i;
+ unsigned int i;
ulong lock_flags;
spin_lock_irqsave(&dgap_poll_lock, lock_flags);
*/
static void dgap_cleanup_board(struct board_t *brd)
{
- int i;
+ unsigned int i;
if (!brd || brd->magic != DGAP_BOARD_MAGIC)
return;
static void dgap_poll_handler(ulong dummy)
{
- int i;
+ unsigned int i;
struct board_t *brd;
unsigned long lock_flags;
ulong new_time;
*/
static void dgap_init_globals(void)
{
- int i;
+ unsigned int i;
for (i = 0; i < MAXBOARDS; i++)
dgap_board[i] = NULL;
static void dgap_cleanup_tty(struct board_t *brd)
{
struct device *dev;
- int i;
+ unsigned int i;
dgap_boards_by_major[brd->serial_driver->major] = NULL;
brd->dgap_serial_major = 0;
{
u8 __iomem *addr;
uint offset;
- int i;
+ unsigned int i;
if (!brd || (brd->magic != DGAP_BOARD_MAGIC) || !brd->re_map_membase)
return;
u8 string[100];
u8 __iomem *config;
u8 *xconfig;
- int i = 0;
+ unsigned int i = 0;
xconfig = dgap_create_config_string(brd, string);
u8 check;
u32 check1;
u32 check2;
- int i;
+ unsigned int i;
if (!brd || (brd->magic != DGAP_BOARD_MAGIC) ||
!brd->re_map_membase || !brd->re_map_port)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)
{
struct board_t *bd;
int count = 0;
- int i;
+ unsigned int i;
bd = dgap_verify_board(p);
if (!bd)