Another question is which slice# should I open and why not using character device name?
Thanks Steve -----Original Message----- From: Javen Wu [mailto:[EMAIL PROTECTED] Sent: Sunday, May 11, 2008 7:42 PM To: Steve Chang Cc: [email protected] Subject: Re: [driver-discuss] SCSI HBA ioctl question? USCSI(7I) is ioctl() of target drivers rather than a ioctl() of HBA/nexus drivers. If you want to use USCSI(7I), please open your disk/tape/enclosure device node and send ioctl(). for example, open /dev/rdsk/c0t1d0s0, then send ioctl(). Don't use HBA node to send USCSI. Detail please refer to manpage of USCSI(7I). Javen Steve Chang wrote: >Here is a ioctl() question, >I use ddi_create_minor_node(fd, "hptiop", instance, DDI_NT_NEXUS,0) >to create a character device for ioctl. And I can find a node listed >in "/device/[EMAIL PROTECTED],0/pci8086,[EMAIL PROTECTED]/pci1103,[EMAIL >PROTECTED]:hptiop". What is the >real device name that I need to submit in my application, so I can >open a channel to communicate with HBA driver through uscsi structure? > > >Thanks >Steve > > >_______________________________________________ >driver-discuss mailing list >[email protected] >http://mail.opensolaris.org/mailman/listinfo/driver-discuss > > _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
