NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-hpcmips/43473: panic: extent_alloc_subregion: bad boundary



> >Fix:
> Dunno, maybe we do not need boundary at all, but I fixed it
> conditionally in .../hpcmips/dev/plumohci.c in function
> __plumohci_dmamem_alloc:

With a quick glance, it doesn't look there is any boundary restriction
on plumohci. Could you try this one instead?

Index: plumohci.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/dev/plumohci.c,v
retrieving revision 1.12
diff -u -r1.12 plumohci.c
--- plumohci.c  3 Apr 2008 17:04:40 -0000       1.12
+++ plumohci.c  16 Jul 2010 16:15:02 -0000
@@ -241,7 +241,7 @@
         */
        error = bus_space_alloc(sc->sc.iot, PLUM_OHCI_SHMEMBASE,
            PLUM_OHCI_SHMEMBASE + PLUM_OHCI_SHMEMSIZE - 1,
-           size, OHCI_PAGE_SIZE, OHCI_PAGE_SIZE, 0,
+           size, OHCI_PAGE_SIZE, 0, 0,
            (bus_addr_t *)(void *)&caddr, &bsh);
        if (error)
                return (1);

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index