Date: Thu, 07 Nov 2002 09:33:24 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: Alexander Langer <alex@big.endian.de> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: [src] cvs commit: src/sys/conf NOTES src/sys/i386/conf NOTES Message-ID: <XFMail.20021107093324.jhb@FreeBSD.org> In-Reply-To: <20021107111541.GN48049@fump.kawo2.rwth-aachen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20021107093324.jhb>