mirror of https://github.com/ipxe/ipxe.git
[intelxl] Fix bit width of function number in PFFUNC_RID register
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/654/head
parent
5d3fad5c10
commit
725f0370fa
|
@ -993,7 +993,7 @@ intelxl_init_ring ( struct intelxl_ring *ring, unsigned int count, size_t len,
|
||||||
/** Function Requester ID Information Register */
|
/** Function Requester ID Information Register */
|
||||||
#define INTELXL_PFFUNC_RID 0x09c000
|
#define INTELXL_PFFUNC_RID 0x09c000
|
||||||
#define INTELXL_PFFUNC_RID_FUNC_NUM(x) \
|
#define INTELXL_PFFUNC_RID_FUNC_NUM(x) \
|
||||||
( ( (x) >> 0 ) & 0x3 ) /**< Function number */
|
( ( (x) >> 0 ) & 0x7 ) /**< Function number */
|
||||||
|
|
||||||
/** PF Queue Allocation Register */
|
/** PF Queue Allocation Register */
|
||||||
#define INTELXL_PFLAN_QALLOC 0x1c0400
|
#define INTELXL_PFLAN_QALLOC 0x1c0400
|
||||||
|
|
Loading…
Reference in New Issue