Home
last modified time | relevance | path

Searched refs:drive_type (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c335 char *drive_type; in main() local
361 if ((drive_type = getenv ("HAL_PROP_STORAGE_DRIVE_TYPE")) == NULL) in main()
373 is_cdrom = (strcmp (drive_type, "cdrom") == 0); in main()
374 is_floppy = (strcmp (drive_type, "floppy") == 0); in main()
386 device_file, drive_type, udi, only_check_for_media)); in main()
394 if (strcmp (drive_type, "cdrom") == 0) { in main()
396 } else if (strcmp (drive_type, "disk") == 0) { in main()
/titanic_41/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c212 LibHalDriveType drive_type; in libhal_drive_policy_compute_display_name() local
220 drive_type = libhal_drive_get_type (drive); in libhal_drive_policy_compute_display_name()
246 if (drive_type==LIBHAL_DRIVE_TYPE_CDROM) { in libhal_drive_policy_compute_display_name()
308 } else if (drive_type==LIBHAL_DRIVE_TYPE_FLOPPY) { in libhal_drive_policy_compute_display_name()
316 } else if (drive_type==LIBHAL_DRIVE_TYPE_DISK && !drive_is_removable) { in libhal_drive_policy_compute_display_name()
358 LibHalDriveType drive_type; in libhal_volume_policy_compute_display_name() local
367 drive_type = libhal_drive_get_type (drive); in libhal_volume_policy_compute_display_name()
384 if (drive_type==LIBHAL_DRIVE_TYPE_CDROM) { in libhal_volume_policy_compute_display_name()
522 LibHalDriveType drive_type; in libhal_drive_policy_compute_icon_name() local
525 drive_type = libhal_drive_get_type (drive); in libhal_drive_policy_compute_icon_name()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dfd.c260 int drive_type; in fd_probe() local
289 cmos = drive_type = (int)inb(CMOS_DATA); in fd_probe()
295 drive_type = drive_type >> 4; in fd_probe()
298 if (cmos && (drive_type & 0x0F)) { in fd_probe()
343 int drive_num, drive_size, drive_type; in fd_attach() local
365 cmos = drive_type = (int)inb(CMOS_DATA); in fd_attach()
371 drive_type = drive_type >> 4; in fd_attach()
374 drive_type = drive_type & 0x0F; in fd_attach()
385 drive_type = 0; in fd_attach()
398 drive_type = 1; in fd_attach()
[all …]
/titanic_41/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c319 char *drive_type; in main() local
333 if ((drive_type = getenv ("HAL_PROP_STORAGE_DRIVE_TYPE")) == NULL) in main()
362 …oing addon-storage for %s (bus %s) (drive_type %s) (udi %s)\n", device_file, bus, drive_type, udi); in main()
/titanic_41/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c1146 const char *drive_type; in devinfo_storage_hotplug_begin_add() local
1166 drive_type = hal_device_property_get_string (d, "storage.drive_type"); in devinfo_storage_hotplug_begin_add()
1167 if ((drive_type != NULL) && (strcmp (drive_type, "floppy") == 0)) { in devinfo_storage_hotplug_begin_add()
1315 const char *drive_type; in devinfo_storage_device_rescan() local
1326 drive_type = hal_device_property_get_string (d, "storage.drive_type"); in devinfo_storage_device_rescan()
1327 is_floppy = (drive_type != NULL) && (strcmp (drive_type, "floppy") == 0); in devinfo_storage_device_rescan()
1638 const char *drive_type; in devinfo_storage_get_legacy_media() local
1642 } else if (((drive_type = hal_device_property_get_string (d, in devinfo_storage_get_legacy_media()
1643 "storage.drive_type")) != NULL) && (strcmp (drive_type, "floppy") == 0)) { in devinfo_storage_get_legacy_media()
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c1020 char *drive_type; in probe_scsi() local
1056 drive_type = ndmpd_get_prop(NDMP_DRIVE_TYPE); in probe_scsi()
1058 if ((strcasecmp(drive_type, "sysv") != 0) && in probe_scsi()
1059 (strcasecmp(drive_type, "bsd") != 0)) { in probe_scsi()
1078 if (strcasecmp(drive_type, "sysv") == 0) { in probe_scsi()
1081 } else if (strcasecmp(drive_type, "bsd") == 0) { in probe_scsi()
/titanic_41/usr/src/cmd/hal/tools/
H A Dhal-storage-mount.c488 const char *drive_type; local
641 drive_type = libhal_drive_get_type_textual (drive);
649 } else if ((drive_type != NULL) && (strlen (drive_type) > 0)) {
650 g_strlcpy (mount_point, drive_type, sizeof (mount_point));
/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_common.c773 int drive_type; in ata_bus_ctl() local
807 drive_type = ATA_DEV_ATAPI; in ata_bus_ctl()
809 drive_type = ATA_DEV_DISK; in ata_bus_ctl()
818 (target_type != drive_type)) in ata_bus_ctl()
821 target_type = drive_type; in ata_bus_ctl()
823 if (drive_type == ATA_DEV_ATAPI) { in ata_bus_ctl()
847 if (target_type != drive_type) in ata_bus_ctl()
1172 int drive_type; in ata_init_drive() local
1210 drive_type = ata_drive_type(ata_drvp->ad_drive_bits, in ata_init_drive()
1217 switch (drive_type) { in ata_init_drive()
[all …]
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Ddrive.c328 static int conv_drive_type(uint_t drive_type);
691 conv_drive_type(uint_t drive_type) in conv_drive_type() argument
693 switch (drive_type) { in conv_drive_type()