mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 23:36:57 +07:00
staging: unisys: fix CamelCase names in struct irq_info
Fix CamelCase names in structure, and references to them: sendInterruptHandle => send_irq_handle recvInterruptHandle => recv_irq_handle recvInterruptVector => recv_irq_vector recvInterruptShared => recv_irq_shared Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
53bebb13a2
commit
af3286bdb4
@ -122,23 +122,23 @@ struct irq_info {
|
||||
* interrupt. Currently this is used by IOPart-SP to wake
|
||||
* up GP when Data Channel transitions from empty to
|
||||
* non-empty.*/
|
||||
u64 sendInterruptHandle;
|
||||
u64 send_irq_handle;
|
||||
|
||||
/**< specifies interrupt handle. It is used to retrieve the
|
||||
* corresponding interrupt pin from Monitor; and the
|
||||
* interrupt pin is used to connect to the corresponding
|
||||
* intrrupt. Used by IOPart-GP only. */
|
||||
u64 recvInterruptHandle;
|
||||
u64 recv_irq_handle;
|
||||
|
||||
/**< specifies interrupt vector. It, interrupt pin, and shared are
|
||||
* used to connect to the corresponding interrupt. Used by
|
||||
* IOPart-GP only. */
|
||||
u32 recvInterruptVector;
|
||||
u32 recv_irq_vector;
|
||||
|
||||
/**< specifies if the recvInterrupt is shared. It, interrupt pin
|
||||
* and vector are used to connect to 0 = not shared; 1 = shared.
|
||||
* the corresponding interrupt. Used by IOPart-GP only. */
|
||||
u8 recvInterruptShared;
|
||||
u8 recv_irq_shared;
|
||||
u8 reserved[3]; /* Natural alignment purposes */
|
||||
};
|
||||
|
||||
|
@ -603,16 +603,16 @@ virthba_probe(struct virtpci_dev *virtpcidev, const struct pci_device_id *id)
|
||||
return -ENODEV;
|
||||
}
|
||||
LOGINF("sendInterruptHandle=0x%16llX",
|
||||
virthbainfo->intr.sendInterruptHandle);
|
||||
virthbainfo->intr.send_irq_handle);
|
||||
LOGINF("recvInterruptHandle=0x%16llX",
|
||||
virthbainfo->intr.recvInterruptHandle);
|
||||
virthbainfo->intr.recv_irq_handle);
|
||||
LOGINF("recvInterruptVector=0x%8X",
|
||||
virthbainfo->intr.recvInterruptVector);
|
||||
virthbainfo->intr.recv_irq_vector);
|
||||
LOGINF("recvInterruptShared=0x%2X",
|
||||
virthbainfo->intr.recvInterruptShared);
|
||||
virthbainfo->intr.recv_irq_shared);
|
||||
LOGINF("scsihost.hostt->name=%s", scsihost->hostt->name);
|
||||
virthbainfo->interrupt_vector =
|
||||
virthbainfo->intr.recvInterruptHandle & INTERRUPT_VECTOR_MASK;
|
||||
virthbainfo->intr.recv_irq_handle & INTERRUPT_VECTOR_MASK;
|
||||
rsp = request_irq(virthbainfo->interrupt_vector, handler, IRQF_SHARED,
|
||||
scsihost->hostt->name, virthbainfo);
|
||||
if (rsp != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user