From owner-freebsd-current Thu Aug 17 21:41:49 2000 Delivered-To: freebsd-current@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id C76DE37B424 for ; Thu, 17 Aug 2000 21:41:43 -0700 (PDT) Received: from rina.r.dl.itc.u-tokyo.ac.jp (tanimura@localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-rina.r-0.1-11.01.2000) with ESMTP/IPv4 id NAA01948; Fri, 18 Aug 2000 13:41:30 +0900 (JST) Date: Fri, 18 Aug 2000 13:41:29 +0900 Message-ID: <14748.48761.18061.79412F@rina> From: Seigo Tanimura To: Peter Jeremy Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, freebsd-current@FreeBSD.ORG Subject: Re: Newbusifying ed broke it In-Reply-To: In your message of "Fri, 18 Aug 2000 09:56:56 +1000" <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> User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEzaki?=) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.13.4 - "Terai") Content-Type: multipart/mixed; boundary="Multipart_Fri_Aug_18_13:41:28_2000-1" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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 said: Peter> On 2000-Aug-17 16:55:57 +0900, Seigo Tanimura wrote: >> On Thu, 17 Aug 2000 15:35:59 +1000, >> Peter Jeremy 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 --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