mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 22:11:08 +03:00
[intelxl] Fix bit width of function number in PFFUNC_RID register
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -993,7 +993,7 @@ intelxl_init_ring ( struct intelxl_ring *ring, unsigned int count, size_t len,
|
||||
/** Function Requester ID Information Register */
|
||||
#define INTELXL_PFFUNC_RID 0x09c000
|
||||
#define INTELXL_PFFUNC_RID_FUNC_NUM(x) \
|
||||
( ( (x) >> 0 ) & 0x3 ) /**< Function number */
|
||||
( ( (x) >> 0 ) & 0x7 ) /**< Function number */
|
||||
|
||||
/** PF Queue Allocation Register */
|
||||
#define INTELXL_PFLAN_QALLOC 0x1c0400
|
||||
|
||||
Reference in New Issue
Block a user