mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
s390/pci: adjust IOMAP_MAX_ENTRIES
ZPCI_IOMAP_MAX_ENTRIES is off by one. Let's adjust this for the sake of correctness. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
2d0f76a6ca
commit
c2e1fcf3ec
@ -8,7 +8,7 @@
|
|||||||
#include <asm/pci_insn.h>
|
#include <asm/pci_insn.h>
|
||||||
|
|
||||||
/* I/O Map */
|
/* I/O Map */
|
||||||
#define ZPCI_IOMAP_MAX_ENTRIES 0x7fff
|
#define ZPCI_IOMAP_MAX_ENTRIES 0x8000
|
||||||
#define ZPCI_IOMAP_ADDR_BASE 0x8000000000000000ULL
|
#define ZPCI_IOMAP_ADDR_BASE 0x8000000000000000ULL
|
||||||
#define ZPCI_IOMAP_ADDR_IDX_MASK 0x7fff000000000000ULL
|
#define ZPCI_IOMAP_ADDR_IDX_MASK 0x7fff000000000000ULL
|
||||||
#define ZPCI_IOMAP_ADDR_OFF_MASK 0x0000ffffffffffffULL
|
#define ZPCI_IOMAP_ADDR_OFF_MASK 0x0000ffffffffffffULL
|
||||||
|
Loading…
Reference in New Issue
Block a user