diff options
author | Guillaume Knispel <gknispel@proformatique.com> | 2012-02-14 18:25:24 +0100 |
---|---|---|
committer | Guillaume Knispel <gknispel@proformatique.com> | 2012-02-14 18:25:24 +0100 |
commit | 69e2bae4a5c19c430000a3628056877594ae1a7f (patch) | |
tree | 805890df69910e8fbd49c8e56adca050b33aa462 /xhfc/base.c | |
parent | b1756df2e77ce1d6a6d65fd8b64b9534e6c876a4 (diff) |
add cs_n1 in struct xhfc_pi, and set it
Diffstat (limited to 'xhfc/base.c')
-rw-r--r-- | xhfc/base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xhfc/base.c b/xhfc/base.c index a717e55..d835679 100644 --- a/xhfc/base.c +++ b/xhfc/base.c @@ -1122,6 +1122,10 @@ static int __devinit xhfc_init_one(struct pci_dev *pdev, if (!pi->cs_n0) goto err_ioremap_mmbar; + /* we have no LEB CS configured to 32MB, so CS are every 16MB + * see [Intel 320066] 42.4.1.1 Chip Select Address Allocation */ + pi->cs_n1 = pi->cs_n0 + 16 * 1024 * 1024; + pci_set_drvdata(pdev, pi); |