Subject: Re: [PATCH] qemu tap support broken on current 3.99.17
To: Luciano R. Furtado <lrfurtado@yahoo.com.br>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 04/17/2006 03:32:22
On Sun, 16 Apr 2006, Luciano R. Furtado wrote:
> I have attached what I have here.

Again: what about NetBSD 2.x and 3.0?
You'll want to add some #ifdef to check that your code for a cloning 
tap(4) is really needed. As far as I understand.

See pkgsrc/emulator/pcemu's patch-ac file, which checks __NetBSD_Version__ 
against some value that indicates when (for your case) cloning tap(4) 
support was added. Finding the right value is a bit of black magic, 
looking at the CVS revision (change) history of src/sys/sys/param.h may 
help finding it.


  - Hubert