Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 12:15:41 +0100
From:      Alexander Langer <alex@big.endian.de>
To:        John Baldwin <jhb@FreeBSD.ORG>
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>
In-Reply-To: <20021106220549.7C4AB37B47D@hub.freebsd.org>
References:  <20021106220549.7C4AB37B47D@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021107111541.GN48049>