Hi all,
We are porting sample Linux block disk driver into esxi 5.0 .In linux the device registered and itialized using the register_blkdev(sbull_major, "sbull") having only two arguments . But in esx we are using vmklnx_register_blkdev(major, name, bus, devfn, data) .So for non pci block device means ,what should we give for the arguments for bus and devfn ..?
If we should use device_initialize() instead of vmklnx_register_blkdev() means , for adding disk we need to usescsi_add_host (struct Scsi_Host *sh, struct device *pDev) or add_disk() function is enough?
what is the value of arguments sh,pDev..?
Simply what is the flow of registering and intializing the queue using device_initialize()...?
Regards,
Vicky