From owner-cvs-all Thu Nov 7 3:15:46 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 1AA9E37B401; Thu, 7 Nov 2002 03:15:45 -0800 (PST) Received: from fump.kawo2.rwth-aachen.de (fump.kawo2.RWTH-Aachen.DE [134.130.181.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0840A43E42; Thu, 7 Nov 2002 03:15:44 -0800 (PST) (envelope-from alex@fump.kawo2.rwth-aachen.de) Received: from fump.kawo2.rwth-aachen.de (localhost [127.0.0.1]) by fump.kawo2.rwth-aachen.de (8.12.5/8.12.5) with ESMTP id gA7BFglK056740; Thu, 7 Nov 2002 12:15:42 +0100 (CET) (envelope-from alex@fump.kawo2.rwth-aachen.de) Received: (from alex@localhost) by fump.kawo2.rwth-aachen.de (8.12.5/8.12.5/Submit) id gA7BFfK4056739; Thu, 7 Nov 2002 12:15:41 +0100 (CET) Date: Thu, 7 Nov 2002 12:15:41 +0100 From: Alexander Langer To: John Baldwin Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: [src] cvs commit: src/sys/conf NOTES src/sys/i386/conf NOTES src/sys/modules Makefile Message-ID: <20021107111541.GN48049@fump.kawo2.rwth-aachen.de> References: <20021106220549.7C4AB37B47D@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021106220549.7C4AB37B47D@hub.freebsd.org> X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. User-Agent: Mutt/1.5.1i 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 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. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message