equal
deleted
inserted
replaced
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
19 * |
19 * |
20 * CDDL HEADER END |
20 * CDDL HEADER END |
21 */ |
21 */ |
22 /* |
22 /* |
23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. |
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
24 * Use is subject to license terms. |
24 * Use is subject to license terms. |
25 */ |
25 */ |
26 |
26 |
27 #pragma ident "%Z%%M% %I% %E% SMI" |
27 #pragma ident "%Z%%M% %I% %E% SMI" |
28 |
28 |
976 /* not a "CD-ROM" or Floppy */ |
976 /* not a "CD-ROM" or Floppy */ |
977 |
977 |
978 diskp->removable = get_prop(REMOVABLE_PROP, args->node); |
978 diskp->removable = get_prop(REMOVABLE_PROP, args->node); |
979 if (diskp->removable == -1) { |
979 if (diskp->removable == -1) { |
980 diskp->removable = 0; |
980 diskp->removable = 0; |
981 #ifdef i386 |
981 #if defined(i386) || defined(__amd64) |
982 /* |
982 /* |
983 * x86 does not have removable property. Check for common |
983 * x86 does not have removable property. Check for common |
984 * removable drives, zip & jaz, and mark those correctly. |
984 * removable drives, zip & jaz, and mark those correctly. |
985 */ |
985 */ |
986 if (vendor_id != NULL && prod_id != NULL) { |
986 if (vendor_id != NULL && prod_id != NULL) { |