search for: pvscsimsgdescdevstatuschang

Displaying 6 results from an estimated 6 matches for "pvscsimsgdescdevstatuschang".

2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...== 128. > + * > + * - type is of type enum PVSCSIMsgType. > + * - the content of args depend on the type of event being delivered. > + */ > + > +typedef struct PVSCSIRingMsgDesc { > + u32 type; > + u32 args[31]; > +} __packed PVSCSIRingMsgDesc; > + > +typedef struct PVSCSIMsgDescDevStatusChanged { > + u32 type; /* PVSCSI_MSG_DEV _ADDED / _REMOVED */ > + u32 bus; > + u32 target; > + u8 lun[8]; > + u32 pad[27]; > +} __packed PVSCSIMsgDescDevStatusChanged; > + > +/* > + * Rings state. > + * > + * - the fields: > + * . msgProdIdx, > + * . msgCons...
2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...== 128. > + * > + * - type is of type enum PVSCSIMsgType. > + * - the content of args depend on the type of event being delivered. > + */ > + > +typedef struct PVSCSIRingMsgDesc { > + u32 type; > + u32 args[31]; > +} __packed PVSCSIRingMsgDesc; > + > +typedef struct PVSCSIMsgDescDevStatusChanged { > + u32 type; /* PVSCSI_MSG_DEV _ADDED / _REMOVED */ > + u32 bus; > + u32 target; > + u8 lun[8]; > + u32 pad[27]; > +} __packed PVSCSIMsgDescDevStatusChanged; > + > +/* > + * Rings state. > + * > + * - the fields: > + * . msgProdIdx, > + * . msgCons...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...t; + > + printk(KERN_INFO "pvscsi: msg type: 0x%x - MSG RING: %u/%u (%u) \n", > + e->type, s->msgProdIdx, s->msgConsIdx, s->msgNumEntriesLog2); > + > + BUILD_BUG_ON(PVSCSI_MSG_LAST != 2); > + > + if (e->type == PVSCSI_MSG_DEV_ADDED) { > + struct PVSCSIMsgDescDevStatusChanged *desc; > + desc = (struct PVSCSIMsgDescDevStatusChanged *)e; > + > + printk(KERN_INFO "pvscsi: msg: device added at scsi%u:%u:%u\n", > + desc->bus, desc->target, desc->lun[1]); > + > + if (!scsi_host_get(host)) > + return; > + > + sdev =...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...t; + > + printk(KERN_INFO "pvscsi: msg type: 0x%x - MSG RING: %u/%u (%u) \n", > + e->type, s->msgProdIdx, s->msgConsIdx, s->msgNumEntriesLog2); > + > + BUILD_BUG_ON(PVSCSI_MSG_LAST != 2); > + > + if (e->type == PVSCSI_MSG_DEV_ADDED) { > + struct PVSCSIMsgDescDevStatusChanged *desc; > + desc = (struct PVSCSIMsgDescDevStatusChanged *)e; > + > + printk(KERN_INFO "pvscsi: msg: device added at scsi%u:%u:%u\n", > + desc->bus, desc->target, desc->lun[1]); > + > + if (!scsi_host_get(host)) > + return; > + > + sdev =...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...host; + struct scsi_device *sdev; + + printk(KERN_INFO "vmw_pvscsi: msg type: 0x%x - MSG RING: %u/%u (%u) \n", + e->type, s->msgProdIdx, s->msgConsIdx, s->msgNumEntriesLog2); + + BUILD_BUG_ON(PVSCSI_MSG_LAST != 2); + + if (e->type == PVSCSI_MSG_DEV_ADDED) { + struct PVSCSIMsgDescDevStatusChanged *desc; + desc = (struct PVSCSIMsgDescDevStatusChanged *)e; + + printk(KERN_INFO + "vmw_pvscsi: msg: device added at scsi%u:%u:%u\n", + desc->bus, desc->target, desc->lun[1]); + + if (!scsi_host_get(host)) + return; + + sdev = scsi_device_lookup(host, desc-...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...host; + struct scsi_device *sdev; + + printk(KERN_INFO "vmw_pvscsi: msg type: 0x%x - MSG RING: %u/%u (%u) \n", + e->type, s->msgProdIdx, s->msgConsIdx, s->msgNumEntriesLog2); + + BUILD_BUG_ON(PVSCSI_MSG_LAST != 2); + + if (e->type == PVSCSI_MSG_DEV_ADDED) { + struct PVSCSIMsgDescDevStatusChanged *desc; + desc = (struct PVSCSIMsgDescDevStatusChanged *)e; + + printk(KERN_INFO + "vmw_pvscsi: msg: device added at scsi%u:%u:%u\n", + desc->bus, desc->target, desc->lun[1]); + + if (!scsi_host_get(host)) + return; + + sdev = scsi_device_lookup(host, desc-...