switchtec: Add Global Fabric Manager Server (GFMS) event
Add a new event type that is newly exposed by recent firmware. The event will never occur if the firmware is too old. If user space tries to use this event in an older kernel, it will just get an EINVAL which is perfectly acceptable in the existing user space code. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:

committed by
Bjorn Helgaas

parent
1291a0d504
commit
f0edce7a7f
@@ -100,6 +100,9 @@ struct sw_event_regs {
|
||||
u32 gpio_interrupt_hdr;
|
||||
u32 gpio_interrupt_data;
|
||||
u32 reserved16[4];
|
||||
u32 gfms_event_hdr;
|
||||
u32 gfms_event_data;
|
||||
u32 reserved17[4];
|
||||
} __packed;
|
||||
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user