From owner-cvs-all Thu Nov 7 6:33:26 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB74337B406 for ; Thu, 7 Nov 2002 06:33:24 -0800 (PST) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id C018D43E4A for ; Thu, 7 Nov 2002 06:33:23 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 27895 invoked from network); 7 Nov 2002 14:33:25 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 7 Nov 2002 14:33:25 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gA7EXMn5056067; Thu, 7 Nov 2002 09:33:22 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021107111541.GN48049@fump.kawo2.rwth-aachen.de> Date: Thu, 07 Nov 2002 09:33:24 -0500 (EST) From: John Baldwin To: Alexander Langer Subject: Re: [src] cvs commit: src/sys/conf NOTES src/sys/i386/conf NOTES Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 07-Nov-2002 Alexander Langer wrote: > Thus spake John Baldwin (jhb@FreeBSD.ORG): > >> ed(4) uses kvtop() and is thus i386-only. It has several other warnings >> related to sizeof(int) != sizeof(void *), but kvtop() is much harder to >> fix. > > I once had a patch to replace those kvtop() with equivalent calls > to pmap_kextract() from within the driver. I also once had a patch > to add kvtop() to alpha, however, that was rejected since the crowd > wanted to keep the alpha arch clean. > > However, in fact only a subset of the ed cards needs kvtop(), the > others, including regular NE2000 compatible NICs, which are probably > the most spreaded version, don't need it. > > If you #ifdef'ed out support for those cards on alpha, maybe returning > ENOSUPPORT :-) on #else'ed code instead, we can easily have NE2000 > compatible cards working on alpha. In fact, I had used an old PCI NE2000 > card (RL 8029) in my alpha for half a year or so, until I got a xl card for > it. This card is now the network device to my ADSL modem, so I cannot > test it again, but it should be trivial. Well, when it is fixed, it can be put back in MI NOTES. As it is now, it won't compile, and the module isn't going to load b/c it will fail to link. It needs to really be using bus_dma() though if it is doing DMA. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message