Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965093AbVKBPmR (ORCPT ); Wed, 2 Nov 2005 10:42:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965094AbVKBPmQ (ORCPT ); Wed, 2 Nov 2005 10:42:16 -0500 Received: from ns.sevcity.net ([193.47.166.213]:11709 "EHLO mail.sevcity.net") by vger.kernel.org with ESMTP id S965093AbVKBPmP convert rfc822-to-8bit (ORCPT ); Wed, 2 Nov 2005 10:42:15 -0500 Subject: Re: Would I be violating the GPL? From: Alex Lyashkov To: Nix Cc: Giuliano Pochini , alex@alexfisher.me.uk, linux-kernel@vger.kernel.org, "Jeff V. Merkey" , Michael Buesch In-Reply-To: <87fyqfm5jx.fsf@amaterasu.srvr.nix> References: <1130943242.3367.39.camel@berloga.shadowland> <87fyqfm5jx.fsf@amaterasu.srvr.nix> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8BIT Organization: Positive Software Message-Id: <1130946128.3367.50.camel@berloga.shadowland> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-16) Date: Wed, 02 Nov 2005 17:42:08 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1122 Lines: 27 ? ???, 02.11.2005, ? 17:29, Nix ?????: > On 2 Nov 2005, Alex Lyashkov moaned: > >> > So despite the fact the driver has been written in c++, it > >> > might be possible to write a usable specification. > >> > >> Linux 2.6 doesn't accept c++, so you have to rewrite it anyway. > >> You should ask them if you can publish your own driver based > >> on infos you extract from their driver. > >> > > without exeption c++ code can be used at drivers. > > The rather important `struct class' may give you trouble there. Long time ago (over 4 years ago) i work with poring VPN and firewall NDIS driver from Win32 to Linux. Only small kernel interface was writeln at pure C, all other at C++. How i remember need only create operator new and delete, also don`t use [out|in]stream. -- FreeVPS Developers Team http://www.freevps.com Positive Software http://www.psoft.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/