Searched refs:drive_type (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 335 char *drive_type; local 361 if ((drive_type = getenv ("HAL_PROP_STORAGE_DRIVE_TYPE")) == NULL) 373 is_cdrom = (strcmp (drive_type, "cdrom") == 0); 374 is_floppy = (strcmp (drive_type, "floppy") == 0); 385 HAL_DEBUG (("Doing probe-storage for %s (drive_type %s) (udi=%s) (--only-check-for-media==%d)", 386 device_file, drive_type, udi, only_check_for_media)); 394 if (strcmp (drive_type, "cdrom") == 0) { 396 } else if (strcmp (drive_type, "disk") == 0) {
|
/illumos-gate/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 212 LibHalDriveType drive_type; local 220 drive_type = libhal_drive_get_type (drive); 246 if (drive_type==LIBHAL_DRIVE_TYPE_CDROM) { 308 } else if (drive_type==LIBHAL_DRIVE_TYPE_FLOPPY) { 316 } else if (drive_type==LIBHAL_DRIVE_TYPE_DISK && !drive_is_removable) { 358 LibHalDriveType drive_type; local 367 drive_type = libhal_drive_get_type (drive); 384 if (drive_type==LIBHAL_DRIVE_TYPE_CDROM) { 522 LibHalDriveType drive_type; local 525 drive_type 552 LibHalDriveType drive_type; local [all...] |
/illumos-gate/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 319 char *drive_type; local 333 if ((drive_type = getenv ("HAL_PROP_STORAGE_DRIVE_TYPE")) == NULL) 362 printf ("Doing addon-storage for %s (bus %s) (drive_type %s) (udi %s)\n", device_file, bus, drive_type, udi);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fd.c | 260 int drive_type; local 289 cmos = drive_type = (int)inb(CMOS_DATA); 295 drive_type = drive_type >> 4; 298 if (cmos && (drive_type & 0x0F)) { 343 int drive_num, drive_size, drive_type; local 365 cmos = drive_type = (int)inb(CMOS_DATA); 371 drive_type = drive_type >> 4; 374 drive_type [all...] |
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_storage.c | 227 hal_device_property_set_string (d, "storage.drive_type", "disk"); 324 hal_device_property_set_string (d, "storage.drive_type", s); 428 hal_device_property_set_string (d, "storage.drive_type", "disk"); 499 hal_device_property_set_string (d, "storage.drive_type", "floppy"); 688 hal_device_property_set_string (d, "storage.drive_type", "disk"); 1022 if (strcmp (hal_device_property_get_string (parent, "storage.drive_type"), "cdrom") == 0) { 1146 const char *drive_type; local 1166 drive_type = hal_device_property_get_string (d, "storage.drive_type"); 1167 if ((drive_type ! 1315 const char *drive_type; local 1638 const char *drive_type; local [all...] |
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_lib.c | 1020 char *drive_type; local 1056 drive_type = ndmpd_get_prop(NDMP_DRIVE_TYPE); 1058 if ((strcasecmp(drive_type, "sysv") != 0) && 1059 (strcasecmp(drive_type, "bsd") != 0)) { 1078 if (strcasecmp(drive_type, "sysv") == 0) { 1081 } else if (strcasecmp(drive_type, "bsd") == 0) {
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 773 int drive_type; local 807 drive_type = ATA_DEV_ATAPI; 809 drive_type = ATA_DEV_DISK; 818 (target_type != drive_type)) 821 target_type = drive_type; 823 if (drive_type == ATA_DEV_ATAPI) { 847 if (target_type != drive_type) 1172 int drive_type; local 1210 drive_type = ata_drive_type(ata_drvp->ad_drive_bits, 1217 switch (drive_type) { 3548 int drive_type; local [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-mount.c | 488 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));
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 328 static int conv_drive_type(uint_t drive_type); 691 conv_drive_type(uint_t drive_type) argument 693 switch (drive_type) {
|
Completed in 99 milliseconds