Som, > Tried printing 8 bytes from both the offsets > (pkt->pkt_cdbp ) and pkt[pkt_wrapper_len] as you > suggested ,found that while sometimes it showed the > pattern 0xbaddcafe to indicate uninitialized data > ,sometimes it would show all 0's or 0x000000ff > > Really not sure what to make of this now
I wouldn't expect to see 0xbaddcafe, because scsi_hba_pkt_alloc() is using kmem_zalloc(), so the pkt->pkt_cdbp data should be zero filled. What was the "cmdlen" that you were using with scsi_hba_pkt_alloc() when you saw 0xbaddcafe ? _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss