Is there any way the sgen driver can attach to a device connected on 1394? The changer shows up in prtconf -D with no driver attached (thanks go to Juergen Keil for helping me get this far). prtconf -vD output is at the end of this long message.
pci, instance #1 (driver name: pci) pci1022,7450, instance #3 (driver name: pci_pci) pci17c2,20 pci1022,7450, instance #4 (driver name: pci_pci) pciee4,3884, instance #0 (driver name: hci1394) unit, instance #0 (driver name: scsa1394) disk, instance #16 (driver name: sd) changer # grep -v "^#" /kernel/drv/sgen.conf sgen-diag=3; #sgen-diag=3 does nothing as far as I can tell device-type-config-list="changer", "sequential"; name="sgen" class="scsi" target=0 lun=1; I would like to use mtx to control the changer. (I originally posted this question on the sol x86 list when asking about Sol 10 u1 - "Solaris x86 U1 on a sun v20z vs Sony VGP-XL1B - Firewire enumeration") Is it as simple as changing line 678 from NULL to "sgen"? http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/io/1394/targets/scs\ a1394/hba.c#678 663 void 664 scsa1394_dtype2name(int dtype, char **node_name, char **driver_name) 665 { 666 static struct { 667 char *node_name; 668 char *driver_name; 669 } dtype2name[] = { 670 { "disk", "sd" }, /* DTYPE_DIRECT 0x00 */ 671 { "tape", "st" }, /* DTYPE_SEQUENTIAL 0x01 */ 672 { "printer", NULL }, /* DTYPE_PRINTER 0x02 */ 673 { "processor", NULL }, /* DTYPE_PROCESSOR 0x03 */ 674 { "worm", NULL }, /* DTYPE_WORM 0x04 */ 675 { "disk", "sd" }, /* DTYPE_RODIRECT 0x05 */ 676 { "scanner", NULL }, /* DTYPE_SCANNER 0x06 */ 677 { "disk", "sd" }, /* DTYPE_OPTICAL 0x07 */ 678 { "changer", NULL }, /* DTYPE_CHANGER 0x08 */ 679 { "comm", NULL }, /* DTYPE_COMM 0x09 */ 680 { "generic", NULL }, /* DTYPE_??? 0x0A */ 681 { "generic", NULL }, /* DTYPE_??? 0x0B */ 682 { "array_ctrl", NULL }, /* DTYPE_ARRAY_CTRL 0x0C */ 683 { "esi", "ses" }, /* DTYPE_ESI 0x0D */ 684 { "disk", "sd" } /* DTYPE_RBC 0x0E */ prtconf -vD pciee4,3884, instance #0 (driver name: hci1394) System software properties: name='reserved-addresses' type=int items=9 value=0000ffff.f0000b00.00000200.0000ffff.f0000d00.00000200.0000ffff.f0000234.00000004 name='ddi-forceattach' type=int items=1 value=00000001 name='active-dma-flush' type=int items=1 value=00000001 name='interrupt-priorities' type=int items=1 value=00000009 Hardware properties: name='assigned-addresses' type=int items=10 value=82250810.00000000.e7002000.00000000.00000800.82250814.00000000.e7004000.00000000.00004000 name='reg' type=int items=15 value=00250800.00000000.00000000.00000000.00000000.02250810.00000000.00000000.00000000.00000800.02250814.00000000.00000000.00000000.00004000 name='compatible' type=string items=7 value='pci104c,8025.ee4.3884.1' + 'pci104c,8025.ee4.3884' + 'pciee4,3884' + 'pci104c,8025.1' + 'pci104c,8025' + 'pciclass,0c0010' + 'pciclass,0c00' name='model' type=string items=1 value='FireWire (IEEE 1394) OpenHCI compliant' name='power-consumption' type=int items=2 value=00000001.00000001 name='devsel-speed' type=int items=1 value=00000001 name='interrupts' type=int items=1 value=00000001 name='max-latency' type=int items=1 value=00000004 name='min-grant' type=int items=1 value=00000002 name='subsystem-vendor-id' type=int items=1 value=00000ee4 name='subsystem-id' type=int items=1 value=00003884 name='unit-address' type=string items=1 value='1' name='class-code' type=int items=1 value=000c0010 name='revision-id' type=int items=1 value=00000001 name='vendor-id' type=int items=1 value=0000104c name='device-id' type=int items=1 value=00008025 Interrupt Specifications: Interrupt Priority=0x9 (ipl 9), vector=0xa (10) Device Minor Nodes: dev=(61,0) dev_path=/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pciee4,[EMAIL PROTECTED]:devctl spectype=chr type=minor dev_link=/dev/1394/hba0 unit, instance #0 (driver name: scsa1394) Driver properties: name='initiator-interconnect-type' type=string items=1 dev=(205,0) value='SPI' name='scsi-selection-timeout' type=int items=1 dev=(205,0) value=000000fa name='scsi-options' type=int items=1 dev=(205,0) value=00107ff8 name='scsi-watchdog-tick' type=int items=1 dev=(205,0) value=0000000a name='scsi-tag-age-limit' type=int items=1 dev=(205,0) value=00000002 name='scsi-reset-delay' type=int items=1 dev=(205,0) value=00000bb8 Hardware properties: name='active-dma-flush' type=int items=1 value=00000001 name='unit-dir-offset' type=int items=1 value=00000007 name='reg' type=int items=6 value=003060a1.00011417.00000000.00000000.00000000.00000000 name='compatible' type=string items=2 value='firewire00609e,010483' + 'firewire003060,00500a' name='hp-node' type=int items=1 value=00000000 disk, instance #16 (driver name: sd) Driver properties: name='pm-components' type=string items=3 dev=none value='NAME=spindle-motor' + '0=off' + '1=on' name='pm-hardware-state' type=string items=1 dev=none value='needs-suspend-resume' name='ddi-failfast-supported' type=boolean dev=none name='ddi-kernel-ioctl' type=boolean dev=none name='removable-media' type=boolean dev=none Hardware properties: name='inquiry-revision-id' type=string items=1 value='B104' name='inquiry-product-id' type=string items=1 value='DVD-RAM SW-9584' name='inquiry-vendor-id' type=string items=1 value='MATSHITA' name='inquiry-device-type' type=int items=1 value=00000005 name='scsa1394' type=boolean name='compatible' type=string items=1 value='sd' name='hotpluggable' type=boolean name='pm-capable' type=int items=1 value=00000001 name='lun' type=int items=1 value=00000000 name='target' type=int items=1 value=00000000 Device Minor Nodes: dev=(53,1024) dev_path=/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pciee4,[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a spectype=blk type=minor dev_link=/dev/dsk/c4t0d0s0 dev_path=/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pciee4,[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a,raw spectype=chr type=minor dev_link=/dev/rdsk/c4t0d0s0 dev=(53,1025) <snip> dev_path=/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pciee4,[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:u,raw spectype=chr type=minor dev_link=/dev/rdsk/c4t0d0p4 changer Hardware properties: name='scsa1394' type=boolean name='hotpluggable' type=boolean name='pm-capable' type=int items=1 value=00000001 name='lun' type=int items=1 value=00000001 name='target' type=int items=1 value=00000000 This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org