From owner-freebsd-new-bus Mon Jul 24 8:50:53 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from mout1.silyn-tek.de (mout1.silyn-tek.de [194.25.165.69]) by hub.freebsd.org (Postfix) with ESMTP id 9B62237BA23; Mon, 24 Jul 2000 08:50:46 -0700 (PDT) (envelope-from alex@big.endian.de) Received: from [192.168.32.33] (helo=mx1.silyn-tek.de) by mout1.silyn-tek.de with esmtp (Exim 3.13 #1) id 13GkVB-0006LD-00; Mon, 24 Jul 2000 17:50:45 +0200 Received: from p3e9c1142.dip0.t-ipconnect.de ([62.156.17.66] helo=neutron.cichlids.com) by mx1.silyn-tek.de with esmtp (Exim 3.13 #1) id 13GkV9-0007Qf-00; Mon, 24 Jul 2000 17:50:43 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (Postfix) with ESMTP id 3A983AB91; Mon, 24 Jul 2000 17:52:42 +0200 (CEST) Received: by cichlids.cichlids.com (Postfix, from userid 1001) id 7745914BB3; Mon, 24 Jul 2000 17:50:42 +0200 (CEST) Date: Mon, 24 Jul 2000 17:50:42 +0200 To: new-bus@freebsd.org, mdodd@freebsd.org, tanimura@freebsd.org Subject: ed driver newbusified - review/testers wanted Message-ID: <20000724175042.A27618@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. From: alex@big.endian.de (Alexander Langer) Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I now newbus-ified the ed driver. That also ports it to the alpha-platform (includes some patches done by me earlier and by BDE, who re-wrote parts for PC98). I've tested my NE2000 PCI Ethernet (RealTek 8029) card now on my alpha and it works fine. (I'm kinda proud :-) What I now need is a review of the patches [1] as well as a test on the following card-types: - NICs with the DS8390 chipset from National Semiconductor - WD and SMC as well as 3Com 3c503 cards that are supported by the ed driver - Novell NE1000/NE2000 or clones - HP PC Lan+ adapters. I'd especially welcome HP/WD/SMC testers, since these use extra code. The patch is at http://people.FreeBSD.org/~alex/if_ed.patch Comments welcome! Alex [1] Look at the if_edvar.h patch. I think the #ifdef stuff needs to be reworked, but one thing is sure: it must be u_int for Alpha's, if it's u_short, the card isn't detected. -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Mon Jul 24 9: 6:45 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 56C1537B71D; Mon, 24 Jul 2000 09:06:36 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA20513; Mon, 24 Jul 2000 10:06:27 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA80180; Mon, 24 Jul 2000 10:06:10 -0600 (MDT) Message-Id: <200007241606.KAA80180@harmony.village.org> To: alex@big.endian.de (Alexander Langer) Subject: Re: ed driver newbusified - review/testers wanted Cc: new-bus@FreeBSD.ORG, mdodd@FreeBSD.ORG, tanimura@FreeBSD.ORG In-reply-to: Your message of "Mon, 24 Jul 2000 17:50:42 +0200." <20000724175042.A27618@cichlids.cichlids.com> References: <20000724175042.A27618@cichlids.cichlids.com> Date: Mon, 24 Jul 2000 10:06:10 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000724175042.A27618@cichlids.cichlids.com> Alexander Langer writes: : I now newbus-ified the ed driver. Cool. : That also ports it to the alpha-platform (includes some patches done : by me earlier and by BDE, who re-wrote parts for PC98). Cool. : I've tested my NE2000 PCI Ethernet (RealTek 8029) card now on : my alpha and it works fine. (I'm kinda proud :-) That's something to be proud of :-). : What I now need is a review of the patches [1] as well as a test on : the following card-types: : - NICs with the DS8390 chipset from National Semiconductor I think I have at least one of these hanging around. I don't think the old ed driver supported them, however. : - WD and SMC as well as 3Com 3c503 cards that are supported by the : ed driver I have a few SMC cards I could try. I may even have an old wd8003 (I think that's the number) I could try also. : - Novell NE1000/NE2000 or clones I have a real, genuine NE2000. : - HP PC Lan+ adapters. Swing. I don't have this. But as an added bonus, I do have a PC98 notebook with the C-BUS interface (as well as the pccard interface, but that's not working) and a ed based nic for C-BUS. Now, if I only had time to test all of these :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Mon Jul 24 10:24: 2 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from mout1.silyn-tek.de (mout1.silyn-tek.de [194.25.165.69]) by hub.freebsd.org (Postfix) with ESMTP id 10F0037B8F3; Mon, 24 Jul 2000 10:23:38 -0700 (PDT) (envelope-from alex@big.endian.de) Received: from [192.168.32.34] (helo=mx2.silyn-tek.de) by mout1.silyn-tek.de with esmtp (Exim 3.13 #1) id 13Glx2-0006eO-00; Mon, 24 Jul 2000 19:23:36 +0200 Received: from p3e9c115c.dip0.t-ipconnect.de ([62.156.17.92] helo=neutron.cichlids.com) by mx2.silyn-tek.de with esmtp (Exim 3.13 #1) id 13Glx1-0007s8-00; Mon, 24 Jul 2000 19:23:35 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (Postfix) with ESMTP id B2984AB91; Mon, 24 Jul 2000 19:25:33 +0200 (CEST) Received: by cichlids.cichlids.com (Postfix, from userid 1001) id AAA7314BB3; Mon, 24 Jul 2000 19:23:29 +0200 (CEST) Date: Mon, 24 Jul 2000 19:23:29 +0200 From: Alexander Langer To: Warner Losh Cc: new-bus@FreeBSD.ORG, mdodd@FreeBSD.ORG, tanimura@FreeBSD.ORG Subject: Re: ed driver newbusified - review/testers wanted Message-ID: <20000724192329.A30003@cichlids.cichlids.com> References: <20000724175042.A27618@cichlids.cichlids.com> <200007241606.KAA80180@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200007241606.KAA80180@harmony.village.org>; from imp@village.org on Mon, Jul 24, 2000 at 10:06:10AM -0600 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Warner Losh (imp@village.org): > : I now newbus-ified the ed driver. > : I've tested my NE2000 PCI Ethernet (RealTek 8029) card now on > : my alpha and it works fine. (I'm kinda proud :-) > That's something to be proud of :-). Hmm - actually it was just replacing all out*()/in*() functions with the calls to the bus_space_* functions and similar. The driver was already written in the new driver scheme but still used direct hardware i/o. > : What I now need is a review of the patches [1] as well as a test on > : the following card-types: > : - NICs with the DS8390 chipset from National Semiconductor > I think I have at least one of these hanging around. I don't think > the old ed driver supported them, however. From what I've read in the source and the manpage , it did. If so, please double-check if they work, since in the part of this driver I used the kvtop(bus_get_virtual()) -> bus_get_start() migration. > I have a few SMC cards I could try. I may even have an old wd8003 (I > think that's the number) I could try also. Same here, iirc. > : - Novell NE1000/NE2000 or clones > I have a real, genuine NE2000. That one should work :) > But as an added bonus, I do have a PC98 notebook with the C-BUS > interface (as well as the pccard interface, but that's not working) > and a ed based nic for C-BUS. Hehe - awesome! Happy testing -- and thanks! Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Mon Jul 24 23:18:37 2000 Delivered-To: freebsd-new-bus@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 7C8AF37B75B; Mon, 24 Jul 2000 23:18:24 -0700 (PDT) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) 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 PAA01574; Tue, 25 Jul 2000 15:18:05 +0900 (JST) Date: Tue, 25 Jul 2000 15:18:04 +0900 Message-ID: <14717.12572.590393.39181U@rina> From: Seigo Tanimura To: alex@big.endian.de Cc: new-bus@freebsd.org, mdodd@freebsd.org, tanimura@r.dl.itc.u-tokyo.ac.jp Subject: Re: ed driver newbusified - review/testers wanted In-Reply-To: In your message of "Mon, 24 Jul 2000 17:50:42 +0200" <20000724175042.A27618@cichlids.cichlids.com> References: <20000724175042.A27618@cichlids.cichlids.com> 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: text/plain; charset=US-ASCII Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 24 Jul 2000 17:50:42 +0200, alex@big.endian.de (Alexander Langer) said: alex> Hello! alex> I now newbus-ified the ed driver. alex> That also ports it to the alpha-platform (includes some patches done alex> by me earlier and by BDE, who re-wrote parts for PC98). Great! alex> The patch is at alex> http://people.FreeBSD.org/~alex/if_ed.patch Since if_ed_pccard.c was not newbusified, I took care of it. The patch of the whole ed driver can be found at: URI: http://people.FreeBSD.org/~tanimura/patches/if_ed_pccard.diff The patch works with my MELCO LPC3-TX with AX8819. ed1 at port 0x240-0x25f irq 3 slot 1 on pccard1 ed1: address 00:40:26:70:3d:f8, type NE2000 (16 bit) Next work: - Build as a module. (and implement pccard attribute memory access method) - Merge pc98 stuff. (requested just now by nyan) -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Mon Jul 24 23:46:25 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 79C2037BCB0; Mon, 24 Jul 2000 23:46:19 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA24308; Tue, 25 Jul 2000 00:45:32 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA17183; Tue, 25 Jul 2000 00:45:13 -0600 (MDT) Message-Id: <200007250645.AAA17183@harmony.village.org> To: Seigo Tanimura Subject: Re: ed driver newbusified - review/testers wanted Cc: alex@big.endian.de, new-bus@FreeBSD.ORG, mdodd@FreeBSD.ORG In-reply-to: Your message of "Tue, 25 Jul 2000 15:18:04 +0900." <14717.12572.590393.39181U@rina> References: <14717.12572.590393.39181U@rina> <20000724175042.A27618@cichlids.cichlids.com> Date: Tue, 25 Jul 2000 00:45:13 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <14717.12572.590393.39181U@rina> Seigo Tanimura writes: : - Build as a module. (and implement pccard attribute memory access method) Why do you need attribute memory access method? Generally attribute memory is never used except for cis. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Tue Jul 25 1:31:50 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from mout2.silyn-tek.de (mout2.silyn-tek.de [194.25.165.70]) by hub.freebsd.org (Postfix) with ESMTP id 5666F37BAE7; Tue, 25 Jul 2000 01:31:47 -0700 (PDT) (envelope-from alex@big.endian.de) Received: from [192.168.32.33] (helo=mx1.silyn-tek.de) by mout2.silyn-tek.de with esmtp (Exim 3.13 #1) id 13H07u-0007mN-00; Tue, 25 Jul 2000 10:31:46 +0200 Received: from p3e9d38bc.dip0.t-ipconnect.de ([62.157.56.188] helo=neutron.cichlids.com) by mx1.silyn-tek.de with esmtp (Exim 3.13 #1) id 13H07q-0000CU-00; Tue, 25 Jul 2000 10:31:42 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (Postfix) with ESMTP id E3937AB91; Tue, 25 Jul 2000 10:33:44 +0200 (CEST) Received: by cichlids.cichlids.com (Postfix, from userid 1001) id 534DD14A66; Tue, 25 Jul 2000 10:31:40 +0200 (CEST) Date: Tue, 25 Jul 2000 10:31:40 +0200 From: Alexander Langer To: Seigo Tanimura Cc: new-bus@freebsd.org, mdodd@freebsd.org Subject: Re: ed driver newbusified - review/testers wanted Message-ID: <20000725103140.A482@cichlids.cichlids.com> References: <20000724175042.A27618@cichlids.cichlids.com> <14717.12572.590393.39181U@rina> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <14717.12572.590393.39181U@rina>; from tanimura@r.dl.itc.u-tokyo.ac.jp on Tue, Jul 25, 2000 at 03:18:04PM +0900 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Seigo Tanimura (tanimura@r.dl.itc.u-tokyo.ac.jp): > Since if_ed_pccard.c was not newbusified, I took care of it. The patch > of the whole ed driver can be found at: > URI: http://people.FreeBSD.org/~tanimura/patches/if_ed_pccard.diff Oh, I forgot about pccard :) > - Build as a module. (and implement pccard attribute memory access method) Already tried, but still had some problems with it. > - Merge pc98 stuff. (requested just now by nyan) Hmm. It _should_ work, since I merged BDE's patches. Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Tue Jul 25 1:41:22 2000 Delivered-To: freebsd-new-bus@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 A8B3737BC5E; Tue, 25 Jul 2000 01:41:16 -0700 (PDT) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) 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 RAA19640; Tue, 25 Jul 2000 17:40:48 +0900 (JST) Date: Tue, 25 Jul 2000 17:40:47 +0900 Message-ID: <14717.21135.887086.51820E@rina> From: Seigo Tanimura To: imp@village.org Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, alex@big.endian.de, new-bus@FreeBSD.ORG, mdodd@FreeBSD.ORG Subject: Re: ed driver newbusified - review/testers wanted In-Reply-To: In your message of "Tue, 25 Jul 2000 00:45:13 -0600" <200007250645.AAA17183@harmony.village.org> References: <14717.12572.590393.39181U@rina> <20000724175042.A27618@cichlids.cichlids.com> <200007250645.AAA17183@harmony.village.org> 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: text/plain; charset=US-ASCII Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 25 Jul 2000 00:45:13 -0600, Warner Losh said: Warner> In message <14717.12572.590393.39181U@rina> Seigo Tanimura writes: Warner> : - Build as a module. (and implement pccard attribute memory access method) Warner> Why do you need attribute memory access method? Generally attribute Warner> memory is never used except for cis. AX88190 is evil enough to determine its I/O port base by the registers accessed via the attribute memory. You can read the chip specification at: URI: http://www.asix.com.tw/Ax190-16.PDF -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message