Date: Fri, 18 Aug 2000 13:41:29 +0900 From: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> To: Peter Jeremy <peter.jeremy@alcatel.com.au> Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, freebsd-current@FreeBSD.ORG Subject: Re: Newbusifying ed broke it Message-ID: <14748.48761.18061.79412F@rina> In-Reply-To: In your message of "Fri, 18 Aug 2000 09:56:56 %2B1000" <00Aug18.095723est.115219@border.alcanet.com.au> References: <00Aug17.111332est.115207@border.alcanet.com.au> <86wvhga6sg.wl@bunko.carrots.uucp.r.dl.itc.u-tokyo.ac.jp.nkth.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <00Aug17.153605est.115251@border.alcanet.com.au> <86vgx09v8y.wl@bunko.carrots.uucp.r.dl.itc.u-tokyo.ac.jp.nkth.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <00Aug18.095723est.115219@border.alcanet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Fri_Aug_18_13:41:28_2000-1 Content-Type: text/plain; charset=US-ASCII On Fri, 18 Aug 2000 09:56:56 +1000, Peter Jeremy <peter.jeremy@alcatel.com.au> said: Peter> On 2000-Aug-17 16:55:57 +0900, Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> wrote: >> On Thu, 17 Aug 2000 15:35:59 +1000, >> Peter Jeremy <peter.jeremy@alcatel.com.au> 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? --Multipart_Fri_Aug_18_13:41:28_2000-1 Content-Type: text/plain; type=patch; charset=US-ASCII Content-Disposition: attachment; filename="if_ed-3.diff" Content-Transfer-Encoding: 7bit --- 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 --Multipart_Fri_Aug_18_13:41:28_2000-1 Content-Type: text/plain; charset=US-ASCII -- Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@FreeBSD.org> --Multipart_Fri_Aug_18_13:41:28_2000-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14748.48761.18061.79412F>