Searched refs:chk1 (Results 1 - 3 of 3) sorted by relevance

/drivers/net/tokenring/
H A Dproteon.c92 unsigned char chk1, chk2; local
99 chk1 = inb(ioaddr + 0x1f); /* Get Proteon ID reg 1 */
100 if (chk1 != 0x1f)
103 chk1 = inb(ioaddr + 0x1e) & 0x07; /* Get Proteon ID reg 0 */
106 if (((chk1 + 1) & 0x07) != chk2)
108 chk1 = chk2;
H A Dskisa.c99 unsigned char old, chk1, chk2; local
106 chk1 = 0; /* Begin with check value 0 */
109 outb(chk1, ioaddr + SIFADR);
120 if(chk1 != chk2) {
125 chk1 -= 2;
126 } while(chk1 != 0); /* Repeat 128 times (all byte values) */
H A Dtms380tr.c196 unsigned char old, chk1, chk2;
200 chk1 = 0; /* Begin with check value 0 */
204 SIFWRITEB(chk1, SIFADR);
206 if (chk2 != chk1)
212 if (chk2 != chk1)
225 if(chk1 != chk2)
227 chk1 -= 2;
228 } while(chk1 != 0); /* Repeat 128 times (all byte values) */

Completed in 73 milliseconds