Lines Matching refs:device
114 int fw_readfw(struct devicelist *device, char *filename);
115 int fw_writefw(struct devicelist *device);
123 static int sd_idtfy_custmz(struct devicelist *device, char *sp);
134 "%s: not writing firmware for device %s to file %s\n",
174 gettext("%s: unable to open device %s\n"),
232 * The fw_identify() function walks the device
237 * to give the device when we add it to the fw_devices list.
263 /* Just in case we've got an FC-attached device on sparc */
286 logmsg(MSG_INFO, "unable to get device path for "
291 * We check if this is removable device, in which case
297 "%s: not interested in removable media device\n"
307 "to allocate space for device entry\n"),
357 "%s: unable to open device %s\n",
513 "for device %s\n",
519 "%s: no guid property for device %s\n",
713 sd_idtfy_custmz(struct devicelist *device, char *sp)
718 if ((device->ident->vid = strdup("SEAGATE")) == NULL) {
723 if ((device->ident->vid = strdup("INTEL")) == NULL) {
728 if ((device->ident->vid = strdup("ATA")) == NULL) {
734 if ((device->ident->pid = calloc(1, strlen(sp) + 1)) == NULL) {
737 free(device->ident->vid);
740 strlcpy(device->ident->pid, sp, strlen(sp) + 1);