diff options
author | ticso <ticso@FreeBSD.org> | 2005-09-19 13:50:07 +0000 |
---|---|---|
committer | ticso <ticso@FreeBSD.org> | 2005-09-19 13:50:07 +0000 |
commit | 67624ed0f75907065578f29229d87b84e7a071fc (patch) | |
tree | e5a92c6294c73c413dd73635b6ace4b05147b50f /sys/alpha/pci/t2.c | |
parent | db795b2c7606fa5ffdcc900c11384e51ad99d8b1 (diff) | |
download | FreeBSD-src-67624ed0f75907065578f29229d87b84e7a071fc.zip FreeBSD-src-67624ed0f75907065578f29229d87b84e7a071fc.tar.gz |
Relocate direct map specs into struct alpha_chipset.
Prepare for PCI Scatter-Gather map.
Panic if driver tries alpha_XXX_dmamap() out of range.
Diffstat (limited to 'sys/alpha/pci/t2.c')
-rw-r--r-- | sys/alpha/pci/t2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/alpha/pci/t2.c b/sys/alpha/pci/t2.c index b1c0b26..fb412cc 100644 --- a/sys/alpha/pci/t2.c +++ b/sys/alpha/pci/t2.c @@ -252,6 +252,9 @@ t2_init_sgmap(int h) chipset.sgmap = sgmap_map_create(T2_SGMAP_BASE, T2_SGMAP_BASE + T2_SGMAP_SIZE, t2_sgmap_map, sgtable); + chipset.pci_sgmap = NULL; + chipset.dmsize = 2UL * 1024UL * 1024UL * 1024UL; + chipset.dmoffset = 1UL * 1024UL * 1024UL * 1024UL; } static void |