Commit ed8bfdca authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

kernel: set default A24 address space size to 0x80000.

Previous size of 0x100000 allowed for up to 16 cards configured in A24. We have some crates with more than 16 slots.
parent bec5f8e4
......@@ -546,8 +546,8 @@ int svec_validate_configuration(struct device *pdev, struct svec_config *cfg)
max_size = 0x10000000;
break;
case VME_A24_USER_DATA_SCT:
addr_mask = 0x00f00000;
max_size = 0x100000;
addr_mask = 0x00f80000;
max_size = 0x0800000;
break;
default:
dev_err(pdev, "Unsupported VME address modifier 0x%x\n",
......
......@@ -19,7 +19,7 @@
#define SVEC_DEFAULT_IDX { [0 ... (SVEC_MAX_DEVICES-1)] = -1 }
#define SVEC_DEFAULT_VME_AM { [0 ... (SVEC_MAX_DEVICES-1)] = 0x39 }
#define SVEC_DEFAULT_VME_SIZE { [0 ... (SVEC_MAX_DEVICES-1)] = 0x100000 }
#define SVEC_DEFAULT_VME_SIZE { [0 ... (SVEC_MAX_DEVICES-1)] = 0x80000 }
#define SVEC_DEFAULT_IRQ_LEVEL { [0 ... (SVEC_MAX_DEVICES-1)] = 0x2 }
#define SVEC_UNINITIALIZED_VME_BASE { [0 ... (SVEC_MAX_DEVICES-1)] = 0xffffffff }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment