include/asm-x86/rio.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
c6fd5d49ec
commit
0f4fc8c1dc
1 changed files with 38 additions and 38 deletions
|
@ -11,53 +11,53 @@
|
||||||
#define RIO_TABLE_VERSION 3
|
#define RIO_TABLE_VERSION 3
|
||||||
|
|
||||||
struct rio_table_hdr {
|
struct rio_table_hdr {
|
||||||
u8 version; /* Version number of this data structure */
|
u8 version; /* Version number of this data structure */
|
||||||
u8 num_scal_dev; /* # of Scalability devices */
|
u8 num_scal_dev; /* # of Scalability devices */
|
||||||
u8 num_rio_dev; /* # of RIO I/O devices */
|
u8 num_rio_dev; /* # of RIO I/O devices */
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
struct scal_detail {
|
struct scal_detail {
|
||||||
u8 node_id; /* Scalability Node ID */
|
u8 node_id; /* Scalability Node ID */
|
||||||
u32 CBAR; /* Address of 1MB register space */
|
u32 CBAR; /* Address of 1MB register space */
|
||||||
u8 port0node; /* Node ID port connected to: 0xFF=None */
|
u8 port0node; /* Node ID port connected to: 0xFF=None */
|
||||||
u8 port0port; /* Port num port connected to: 0,1,2, or */
|
u8 port0port; /* Port num port connected to: 0,1,2, or */
|
||||||
/* 0xFF=None */
|
/* 0xFF=None */
|
||||||
u8 port1node; /* Node ID port connected to: 0xFF = None */
|
u8 port1node; /* Node ID port connected to: 0xFF = None */
|
||||||
u8 port1port; /* Port num port connected to: 0,1,2, or */
|
u8 port1port; /* Port num port connected to: 0,1,2, or */
|
||||||
/* 0xFF=None */
|
/* 0xFF=None */
|
||||||
u8 port2node; /* Node ID port connected to: 0xFF = None */
|
u8 port2node; /* Node ID port connected to: 0xFF = None */
|
||||||
u8 port2port; /* Port num port connected to: 0,1,2, or */
|
u8 port2port; /* Port num port connected to: 0,1,2, or */
|
||||||
/* 0xFF=None */
|
/* 0xFF=None */
|
||||||
u8 chassis_num; /* 1 based Chassis number (1 = boot node) */
|
u8 chassis_num; /* 1 based Chassis number (1 = boot node) */
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
struct rio_detail {
|
struct rio_detail {
|
||||||
u8 node_id; /* RIO Node ID */
|
u8 node_id; /* RIO Node ID */
|
||||||
u32 BBAR; /* Address of 1MB register space */
|
u32 BBAR; /* Address of 1MB register space */
|
||||||
u8 type; /* Type of device */
|
u8 type; /* Type of device */
|
||||||
u8 owner_id; /* Node ID of Hurricane that owns this */
|
u8 owner_id; /* Node ID of Hurricane that owns this */
|
||||||
/* node */
|
/* node */
|
||||||
u8 port0node; /* Node ID port connected to: 0xFF=None */
|
u8 port0node; /* Node ID port connected to: 0xFF=None */
|
||||||
u8 port0port; /* Port num port connected to: 0,1,2, or */
|
u8 port0port; /* Port num port connected to: 0,1,2, or */
|
||||||
/* 0xFF=None */
|
/* 0xFF=None */
|
||||||
u8 port1node; /* Node ID port connected to: 0xFF=None */
|
u8 port1node; /* Node ID port connected to: 0xFF=None */
|
||||||
u8 port1port; /* Port num port connected to: 0,1,2, or */
|
u8 port1port; /* Port num port connected to: 0,1,2, or */
|
||||||
/* 0xFF=None */
|
/* 0xFF=None */
|
||||||
u8 first_slot; /* Lowest slot number below this Calgary */
|
u8 first_slot; /* Lowest slot number below this Calgary */
|
||||||
u8 status; /* Bit 0 = 1 : the XAPIC is used */
|
u8 status; /* Bit 0 = 1 : the XAPIC is used */
|
||||||
/* = 0 : the XAPIC is not used, ie: */
|
/* = 0 : the XAPIC is not used, ie: */
|
||||||
/* ints fwded to another XAPIC */
|
/* ints fwded to another XAPIC */
|
||||||
/* Bits1:7 Reserved */
|
/* Bits1:7 Reserved */
|
||||||
u8 WP_index; /* instance index - lower ones have */
|
u8 WP_index; /* instance index - lower ones have */
|
||||||
/* lower slot numbers/PCI bus numbers */
|
/* lower slot numbers/PCI bus numbers */
|
||||||
u8 chassis_num; /* 1 based Chassis number */
|
u8 chassis_num; /* 1 based Chassis number */
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
HURR_SCALABILTY = 0, /* Hurricane Scalability info */
|
HURR_SCALABILTY = 0, /* Hurricane Scalability info */
|
||||||
HURR_RIOIB = 2, /* Hurricane RIOIB info */
|
HURR_RIOIB = 2, /* Hurricane RIOIB info */
|
||||||
COMPAT_CALGARY = 4, /* Compatibility Calgary */
|
COMPAT_CALGARY = 4, /* Compatibility Calgary */
|
||||||
ALT_CALGARY = 5, /* Second Planar Calgary */
|
ALT_CALGARY = 5, /* Second Planar Calgary */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue