Home
last modified time | relevance | path

Searched refs:serialno (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/message/i2o/
Di2o_proc.c1720 static int print_serial_number(char *buff, int pos, u8 *serialno, int max_len) in print_serial_number() argument
1734 switch(serialno[0]) in print_serial_number()
1738 for(i = 0; i < serialno[1]; i++) in print_serial_number()
1740 pos += sprintf(buff+pos, "%02X", serialno[2+i]); in print_serial_number()
1745 if ( serialno[1] < ' ' ) /* printable or SNLen? */ in print_serial_number()
1748 max_len = (max_len < serialno[1]) ? max_len : serialno[1]; in print_serial_number()
1749 serialno[1+max_len] = '\0'; in print_serial_number()
1752 pos += sprintf(buff+pos, "%s", &serialno[2]); in print_serial_number()
1757 for(i = 0; i < serialno[1]; i++) in print_serial_number()
1759 pos += sprintf(buff+pos, "%c", serialno[2+i]); in print_serial_number()
[all …]
/linux-2.4.37.9/drivers/atm/
Dlanai.c302 u32 serialno, magicno; member
1013 lanai->serialno = 0; in eeprom_validate()
1143 lanai->serialno = eeprom_be4(lanai, EEPROM_SERIAL); in eeprom_validate()
1145 if ((lanai->serialno ^ v) != 0xFFFFFFFF) { in eeprom_validate()
1148 lanai->serialno, v); in eeprom_validate()
1151 DPRINTK("eeprom: Serial number = %d\n", lanai->serialno); in eeprom_validate()
2428 lanai->type==lanai2 ? "2" : "HB", lanai->serialno, in lanai_dev_open()
2429 lanai->serialno, lanai->board_rev); in lanai_dev_open()
2735 lanai->serialno, lanai->magicno, lanai->num_vci); in lanai_proc_read()