Subject: Re: [PATCH] qemu tap support broken on current 3.99.17
To: None <email@example.com>
From: Luciano R. Furtado <firstname.lastname@example.org>
Date: 04/17/2006 04:24:21
Hubert Feyrer wrote:
> 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
tap support was added on 2005/01/08 according to the logs for if_tap.c,
the closest thing I could find to this date was 2005/01/10 that gives me
#define __NetBSD_Version__ 299001300
this would cover 3.0 and current, now for 2.0 I dont know what's the
best approach since tap support is only avaiable through LKM from pkgsrc.