fix a couple of signed->unsigned warnings lint found
This commit is contained in:
parent
ddf09edfc0
commit
82540eeaca
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mii_bitbang.c,v 1.3 2001/08/25 18:04:01 thorpej Exp $ */
|
||||
/* $NetBSD: mii_bitbang.c,v 1.4 2001/11/11 00:25:23 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
@ -73,7 +73,8 @@ do { \
|
||||
void
|
||||
mii_bitbang_sync(struct device *sc, mii_bitbang_ops_t ops)
|
||||
{
|
||||
int i, v;
|
||||
int i;
|
||||
u_int32_t v;
|
||||
|
||||
v = MDIRPHY | MDO;
|
||||
|
||||
@ -93,7 +94,8 @@ void
|
||||
mii_bitbang_sendbits(struct device *sc, mii_bitbang_ops_t ops, uint32_t data,
|
||||
int nbits)
|
||||
{
|
||||
int i, v;
|
||||
int i;
|
||||
u_int32_t v;
|
||||
|
||||
v = MDIRPHY;
|
||||
WRITE(v);
|
||||
|
Loading…
Reference in New Issue
Block a user