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/tsunami.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/tsunami.c')
-rw-r--r-- | sys/alpha/pci/tsunami.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/alpha/pci/tsunami.c b/sys/alpha/pci/tsunami.c index 23dd370..bef551a 100644 --- a/sys/alpha/pci/tsunami.c +++ b/sys/alpha/pci/tsunami.c @@ -234,6 +234,7 @@ tsunami_init_sgmap(void) chipset.sgmap = sgmap_map_create(TSUNAMI_SGMAP_BASE, TSUNAMI_SGMAP_BASE + TSUNAMI_SGMAP_SIZE, tsunami_sgmap_map, sgtable); + chipset.pci_sgmap = NULL; } void @@ -258,7 +259,8 @@ tsunami_init() chipset = tsunami_chipset; platform.pci_intr_enable = tsunami_intr_enable; platform.pci_intr_disable = tsunami_intr_disable; - alpha_XXX_dmamap_or = 2UL * 1024UL * 1024UL * 1024UL; + chipset.dmsize = 2UL * 1024UL * 1024UL * 1024UL; + chipset.dmoffset = 2UL * 1024UL * 1024UL * 1024UL; if (platform.pci_intr_init) platform.pci_intr_init(); |