On Fri, 18 Aug 2000 09:56:56 +1000,
  Peter Jeremy <[EMAIL PROTECTED]> said:

Peter> On 2000-Aug-17 16:55:57 +0900, Seigo Tanimura <[EMAIL PROTECTED]> 
wrote:
>> On Thu, 17 Aug 2000 15:35:59 +1000,
>> Peter Jeremy <[EMAIL PROTECTED]> said:
>> 
>> peter.jeremy> Still not working.  It now reports:
>> peter.jeremy> ed0: failed to clear shared memory at 0 - check configuration
>> 
>> The probe routine cleared and tested IO port instead of memory. Does
>> the following patch work?

Peter> No, sorry.  Exactly the same as the previous patch - it still thinks
Peter> the shared memory is at 0.

The memory resource of the card might not be allocated properly. Could
you apply the following patch and report what your kernel print?

--- if_ed.c.org Thu Aug 17 16:05:59 2000
+++ if_ed.c     Fri Aug 18 13:35:14 2000
@@ -435,6 +435,7 @@
                                 &conf_maddr, &conf_msize);
        if (error)
                return (error);
+       device_printf(dev, "conf_maddr = 0x%x.\n", conf_maddr);
 
 #if ED_DEBUG
        printf("type = %x type_str=%s isa16bit=%d memsize=%d id_msize=%d\n",
@@ -535,6 +536,7 @@
                return (error);
        }
        sc->mem_start = 0;
+       device_printf(dev, "tag(mem_res) = %d, handle(mem_res) = 0x%x.\n", 
+rman_get_bustag(sc->mem_res), rman_get_bushandle(sc->mem_res));
 
        /*
         * allocate one xmit buffer if < 16k, two buffers otherwise


-- 
Seigo Tanimura <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

Reply via email to