summaryrefslogtreecommitdiffstats
path: root/sys/pci/brooktree848.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/brooktree848.c')
-rw-r--r--sys/pci/brooktree848.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/pci/brooktree848.c b/sys/pci/brooktree848.c
index 46cf72e..71c38fd 100644
--- a/sys/pci/brooktree848.c
+++ b/sys/pci/brooktree848.c
@@ -7019,10 +7019,9 @@ get_bktr_mem( int unit, unsigned size )
{
vm_offset_t addr = 0;
- addr = vm_page_alloc_contig(size, 0x100000, 0xffffffff, 1<<24);
+ addr = vm_page_alloc_contig(size, 0, 0xffffffff, 1<<24);
if (addr == 0)
- addr = vm_page_alloc_contig(size, 0x100000, 0xffffffff,
- PAGE_SIZE);
+ addr = vm_page_alloc_contig(size, 0, 0xffffffff, PAGE_SIZE);
if (addr == 0) {
printf("bktr%d: Unable to allocate %d bytes of memory.\n",
unit, size);
@@ -7479,10 +7478,9 @@ get_bktr_mem( int unit, unsigned size )
{
vm_offset_t addr = 0;
- addr = vm_page_alloc_contig(size, 0x100000, 0xffffffff, 1<<24);
+ addr = vm_page_alloc_contig(size, 0, 0xffffffff, 1<<24);
if (addr == 0)
- addr = vm_page_alloc_contig(size, 0x100000, 0xffffffff,
- PAGE_SIZE);
+ addr = vm_page_alloc_contig(size, 0, 0xffffffff, PAGE_SIZE);
if (addr == 0) {
printf("bktr%d: Unable to allocate %d bytes of memory.\n",
unit, size);
OpenPOWER on IntegriCloud