diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c index 67e175e22dc1..e936b4177b8f 100644 --- a/sys/i386/isa/if_le.c +++ b/sys/i386/isa/if_le.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_le.c,v 1.44 1998/03/28 13:24:17 bde Exp $ + * $Id: if_le.c,v 1.45 1998/06/07 17:10:35 dfr Exp $ */ /* @@ -286,13 +286,13 @@ static unsigned le_intrs[NLE]; || ((u_short *)a1)[2] == 0xFFFFU) #define LE_INL(sc, reg) \ -({ u_long data; \ +({ u_int data; \ __asm __volatile("inl %1, %0": "=a" (data): "d" ((u_short)((sc)->le_iobase + (reg)))); \ data; }) #define LE_OUTL(sc, reg, data) \ - ({__asm __volatile("outl %0, %1"::"a" ((u_long)(data)), "d" ((u_short)((sc)->le_iobase + (reg))));}) + ({__asm __volatile("outl %0, %1"::"a" ((u_int)(data)), "d" ((u_short)((sc)->le_iobase + (reg))));}) #define LE_INW(sc, reg) \ ({ u_short data; \ diff --git a/sys/i386/isa/seagate.c b/sys/i386/isa/seagate.c index 3d962e7b82a9..ab640742eb9f 100644 --- a/sys/i386/isa/seagate.c +++ b/sys/i386/isa/seagate.c @@ -60,7 +60,7 @@ * that category, with the possible exception of scanners and * some of the older MO drives. * - * $Id: seagate.c,v 1.28 1998/04/15 17:26:17 bde Exp $ + * $Id: seagate.c,v 1.29 1998/06/21 18:02:40 bde Exp $ */ /* @@ -1065,7 +1065,7 @@ int sea_poll (adapter_t *z, scb_t *scb) void sea_data_output (adapter_t *z, u_char **pdata, u_long *plen) { volatile u_char *data = *pdata; - volatile u_long len = *plen; + volatile u_int len = *plen; #ifdef SEA_BLINDTRANSFER if (len && !(len % BLOCK_SIZE)) { @@ -1112,7 +1112,7 @@ void sea_data_output (adapter_t *z, u_char **pdata, u_long *plen) void sea_data_input (adapter_t *z, u_char **pdata, u_long *plen) { volatile u_char *data = *pdata; - volatile u_long len = *plen; + volatile u_int len = *plen; #ifdef SEA_BLINDTRANSFER if (len && !(len % BLOCK_SIZE)) {