>Another question is which slice# should I open and > > It depends on platform and label type. If your driver only run on X86, p0(partition 0) is always exist.
>why not using character device name? > > /dev/rdsk/c0t0d0p0 is character device. all links under /dev/rdsk are character devices. Javen >Thanks >Steve > > >-----Original Message----- >From: Javen Wu [mailto:[EMAIL PROTECTED] >Sent: Sunday, May 11, 2008 7:42 PM >To: Steve Chang >Cc: driver-discuss@opensolaris.org >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 >>driver-discuss@opensolaris.org >>http://mail.opensolaris.org/mailman/listinfo/driver-discuss >> >> >> >> > >_______________________________________________ >driver-discuss mailing list >driver-discuss@opensolaris.org >http://mail.opensolaris.org/mailman/listinfo/driver-discuss > > _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss